Class SlimeTreeProxy

java.lang.Object
com.minecolonies.api.compatibility.tinkers.SlimeTreeProxy
Direct Known Subclasses:
SlimeTreeCheck

public class SlimeTreeProxy extends Object
This is the fallback for when tinkers is not present!
  • Constructor Details

    • SlimeTreeProxy

      public SlimeTreeProxy()
  • Method Details

    • checkForTinkersSlimeBlock

      public boolean checkForTinkersSlimeBlock(@NotNull @NotNull net.minecraft.world.level.block.Block block)
      This is the fallback for when tinkers is not present!
      Parameters:
      block - the block.
      Returns:
      if the block is a slime block.
    • checkForTinkersSlimeLeaves

      public boolean checkForTinkersSlimeLeaves(@NotNull @NotNull net.minecraft.world.level.block.Block block)
      This is the fallback for when tinkers is not present!
      Parameters:
      block - the block.
      Returns:
      if the block is a slime leaf.
    • checkForTinkersSlimeSapling

      public boolean checkForTinkersSlimeSapling(@NotNull @NotNull net.minecraft.world.level.block.Block block)
      This is the fallback for when tinkers is not present!
      Parameters:
      block - the block.
      Returns:
      if the block is a slime sapling.
    • checkForTinkersSlimeDirtOrGrass

      public boolean checkForTinkersSlimeDirtOrGrass(@NotNull @NotNull net.minecraft.world.level.block.Block block)
      This is the fallback for when tinkers is not present!
      Parameters:
      block - the block.
      Returns:
      if the block is a slime sapling.
    • getTinkersLeafVariant

      public int getTinkersLeafVariant(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState leaf)