Class SlimeTreeProxy
java.lang.Object
com.minecolonies.api.compatibility.tinkers.SlimeTreeProxy
- Direct Known Subclasses:
SlimeTreeCheck
This is the fallback for when tinkers is not present!
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckForTinkersSlimeBlock(@NotNull net.minecraft.world.level.block.Block block) This is the fallback for when tinkers is not present!booleancheckForTinkersSlimeDirtOrGrass(@NotNull net.minecraft.world.level.block.Block block) This is the fallback for when tinkers is not present!booleancheckForTinkersSlimeLeaves(@NotNull net.minecraft.world.level.block.Block block) This is the fallback for when tinkers is not present!booleancheckForTinkersSlimeSapling(@NotNull net.minecraft.world.level.block.Block block) This is the fallback for when tinkers is not present!intgetTinkersLeafVariant(@NotNull net.minecraft.world.level.block.state.BlockState leaf)
-
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)
-