Class SharedDepotBlockMethods
java.lang.Object
com.simibubi.create.content.logistics.block.depot.SharedDepotBlockMethods
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static DepotBehaviourget(net.minecraft.world.level.BlockGetter worldIn, net.minecraft.core.BlockPos pos) static intgetComparatorInputOverride(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.Level worldIn, net.minecraft.core.BlockPos pos) static voidonLanded(net.minecraft.world.level.BlockGetter worldIn, net.minecraft.world.entity.Entity entityIn) static voidonReplaced(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level worldIn, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState newState, boolean isMoving) static net.minecraft.world.InteractionResultonUse(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult ray)
-
Constructor Details
-
SharedDepotBlockMethods
public SharedDepotBlockMethods()
-
-
Method Details
-
get
protected static DepotBehaviour get(net.minecraft.world.level.BlockGetter worldIn, net.minecraft.core.BlockPos pos) -
onUse
public static net.minecraft.world.InteractionResult onUse(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult ray) -
onReplaced
public static void onReplaced(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level worldIn, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState newState, boolean isMoving) -
onLanded
public static void onLanded(net.minecraft.world.level.BlockGetter worldIn, net.minecraft.world.entity.Entity entityIn) -
getComparatorInputOverride
public static int getComparatorInputOverride(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.Level worldIn, net.minecraft.core.BlockPos pos)
-