public class TreeBlockTypeLeaf extends java.lang.Object implements ITreeBlockType
| Constructor and Description |
|---|
TreeBlockTypeLeaf(ITreeGenData tree,
com.mojang.authlib.GameProfile owner) |
TreeBlockTypeLeaf(ITreeGenData tree,
com.mojang.authlib.GameProfile owner,
java.util.Random rand) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
setBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
void |
setDirection(net.minecraft.util.EnumFacing facing) |
public TreeBlockTypeLeaf(ITreeGenData tree, @Nullable com.mojang.authlib.GameProfile owner)
public TreeBlockTypeLeaf(ITreeGenData tree, @Nullable com.mojang.authlib.GameProfile owner, @Nullable java.util.Random rand)
public void setDirection(net.minecraft.util.EnumFacing facing)
setDirection in interface ITreeBlockTypepublic boolean setBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
setBlock in interface ITreeBlockType