Class SharedDepotBlockMethods
java.lang.Object
com.simibubi.create.content.logistics.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 net.minecraft.world.ItemInteractionResultonUse(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, 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.ItemInteractionResult onUse(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult ray) -
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)
-