Class AbstractChiselAndBitsProxy
java.lang.Object
com.minecolonies.api.compatibility.candb.AbstractChiselAndBitsProxy
- Direct Known Subclasses:
ChiselAndBitsCheck
This is the fallback for when candb is not present!
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckForChiselAndBitsBlock(@NotNull net.minecraft.world.level.block.state.BlockState blockState) This is the fallback for when candb is not present!booleancheckForChiselAndBitsTileEntity(@NotNull net.minecraft.world.level.block.entity.BlockEntity tileEntity) This is the fallback for when candb is not present!List<net.minecraft.world.item.ItemStack> getChiseledStacks(@NotNull net.minecraft.world.level.block.entity.BlockEntity tileEntity) Check if tileEntity is candb tileEntity.
-
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.
-