public static class StatueEvent.CreateStatue extends StatueEvent
StatueEvent
fired whenever a chisel is used to create a statue. Canceling this event prevents the statue from being createdStatueEvent.CreateStatue, StatueEvent.DestroyStatue, StatueEvent.ModifyStatue
Modifier and Type | Field and Description |
---|---|
net.minecraft.util.math.BlockPos |
location
The specific block location the statue will be placed at
|
net.minecraft.world.WorldServer |
world
The world in which the statue is being created
|
player
Constructor and Description |
---|
CreateStatue(net.minecraft.entity.player.EntityPlayerMP player,
net.minecraft.world.WorldServer world,
net.minecraft.util.math.BlockPos location,
EntityStatue statue) |
Modifier and Type | Method and Description |
---|---|
EntityStatue |
getStatue()
Gets the statue that is currently planned to be placed down
|
void |
setStatue(EntityStatue statue)
Sets the statue that will be placed down.
|
public final net.minecraft.world.WorldServer world
public final net.minecraft.util.math.BlockPos location
public CreateStatue(net.minecraft.entity.player.EntityPlayerMP player, net.minecraft.world.WorldServer world, net.minecraft.util.math.BlockPos location, EntityStatue statue)
public EntityStatue getStatue()
public void setStatue(EntityStatue statue)