-
Method Summary
Static Methods
static boolean
static boolean
holdsEnergy(net.minecraft.world.level.Level level,
net.minecraft.core.BlockPos pos,
net.minecraft.world.level.block.state.BlockState state,
@Nullable net.minecraft.world.level.block.entity.BlockEntity entity,
@Nullable net.minecraft.core.Direction direction)
of(net.minecraft.world.level.Level level,
net.minecraft.core.BlockPos pos,
net.minecraft.world.level.block.state.BlockState state,
@Nullable net.minecraft.world.level.block.entity.BlockEntity entity,
@Nullable net.minecraft.core.Direction direction)
-
Method Details
-
of
static EnergyContainer of(net.minecraft.world.level.Level level,
net.minecraft.core.BlockPos pos,
net.minecraft.world.level.block.state.BlockState state,
@Nullable
@Nullable net.minecraft.world.level.block.entity.BlockEntity entity,
@Nullable
@Nullable net.minecraft.core.Direction direction)
-
-
holdsEnergy
@ImplementedByExtension
static boolean holdsEnergy(net.minecraft.world.item.ItemStack stack)
-
holdsEnergy
@ImplementedByExtension
static boolean holdsEnergy(net.minecraft.world.level.Level level,
net.minecraft.core.BlockPos pos,
net.minecraft.world.level.block.state.BlockState state,
@Nullable
@Nullable net.minecraft.world.level.block.entity.BlockEntity entity,
@Nullable
@Nullable net.minecraft.core.Direction direction)