Class AbstractChiselAndBitsProxy

java.lang.Object
com.minecolonies.api.compatibility.candb.AbstractChiselAndBitsProxy
Direct Known Subclasses:
ChiselAndBitsCheck

public abstract class AbstractChiselAndBitsProxy extends Object
This is the fallback for when candb is not present!
  • Constructor Details

    • AbstractChiselAndBitsProxy

      public AbstractChiselAndBitsProxy()
  • Method Details

    • checkForChiselAndBitsBlock

      public boolean checkForChiselAndBitsBlock(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState blockState)
      This is the fallback for when candb is not present!
      Parameters:
      blockState - the BlockState.
      Returns:
      if the blockState is a candb blockState.
    • checkForChiselAndBitsTileEntity

      public boolean checkForChiselAndBitsTileEntity(@NotNull @NotNull net.minecraft.world.level.block.entity.BlockEntity tileEntity)
      This is the fallback for when candb is not present!
      Parameters:
      tileEntity - the tileEntity.
      Returns:
      if the tileEntity is a candb tileEntity.
    • getChiseledStacks

      public List<net.minecraft.world.item.ItemStack> getChiseledStacks(@NotNull @NotNull net.minecraft.world.level.block.entity.BlockEntity tileEntity)
      Check if tileEntity is candb tileEntity.
      Parameters:
      tileEntity - the tileEntity.
      Returns:
      if the tileEntity is a candb tileEntity.