public interface ITreeGenerator
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.world.gen.feature.WorldGenerator |
getWorldGenerator(ITreeGenData tree) |
boolean |
setLeaves(ITreeGenome genome,
net.minecraft.world.World world,
com.mojang.authlib.GameProfile owner,
net.minecraft.util.math.BlockPos pos)
Deprecated.
|
default boolean |
setLeaves(ITreeGenome genome,
net.minecraft.world.World world,
com.mojang.authlib.GameProfile owner,
net.minecraft.util.math.BlockPos pos,
java.util.Random rand) |
boolean |
setLogBlock(ITreeGenome genome,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing facing) |
net.minecraft.world.gen.feature.WorldGenerator getWorldGenerator(ITreeGenData tree)
boolean setLogBlock(ITreeGenome genome, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.EnumFacing facing)
@Deprecated boolean setLeaves(ITreeGenome genome, net.minecraft.world.World world, @Nullable com.mojang.authlib.GameProfile owner, net.minecraft.util.math.BlockPos pos)
default boolean setLeaves(ITreeGenome genome, net.minecraft.world.World world, @Nullable com.mojang.authlib.GameProfile owner, net.minecraft.util.math.BlockPos pos, java.util.Random rand)