Class SharedDepotBlockMethods

java.lang.Object
com.simibubi.create.content.logistics.block.depot.SharedDepotBlockMethods

public class SharedDepotBlockMethods extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static DepotBehaviour
    get(net.minecraft.world.level.BlockGetter worldIn, net.minecraft.core.BlockPos pos)
     
    static int
    getComparatorInputOverride(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.Level worldIn, net.minecraft.core.BlockPos pos)
     
    static void
    onLanded(net.minecraft.world.level.BlockGetter worldIn, net.minecraft.world.entity.Entity entityIn)
     
    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)
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)