| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsFruitBlocks() |
net.minecraft.util.math.BlockPos |
canGrow(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
int expectedGirth,
int expectedHeight) |
ITreeGenome |
getGenome() |
int |
getGirth() |
float |
getHeightModifier() |
boolean |
setLeaves(net.minecraft.world.World world,
com.mojang.authlib.GameProfile owner,
net.minecraft.util.math.BlockPos pos)
Deprecated.
|
default boolean |
setLeaves(net.minecraft.world.World world,
com.mojang.authlib.GameProfile owner,
net.minecraft.util.math.BlockPos pos,
java.util.Random random) |
boolean |
setLogBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing facing) |
boolean |
trySpawnFruitBlock(net.minecraft.world.World world,
java.util.Random rand,
net.minecraft.util.math.BlockPos pos) |
int getGirth()
float getHeightModifier()
@Nullable
net.minecraft.util.math.BlockPos canGrow(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
int expectedGirth,
int expectedHeight)
@Deprecated
boolean setLeaves(net.minecraft.world.World world,
@Nullable
com.mojang.authlib.GameProfile owner,
net.minecraft.util.math.BlockPos pos)
default boolean setLeaves(net.minecraft.world.World world,
@Nullable
com.mojang.authlib.GameProfile owner,
net.minecraft.util.math.BlockPos pos,
java.util.Random random)
boolean setLogBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing facing)
boolean allowsFruitBlocks()
boolean trySpawnFruitBlock(net.minecraft.world.World world,
java.util.Random rand,
net.minecraft.util.math.BlockPos pos)
ITreeGenome getGenome()