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.server.ServerWorld |
world
The world in which the statue is being created
|
player
Constructor and Description |
---|
CreateStatue(net.minecraft.entity.player.ServerPlayerEntity player,
net.minecraft.world.server.ServerWorld world,
net.minecraft.util.math.BlockPos location,
StatueEntity statue) |
Modifier and Type | Method and Description |
---|---|
StatueEntity |
getStatue()
Gets the statue that is currently planned to be placed down
|
void |
setStatue(StatueEntity statue)
Sets the statue that will be placed down.
|
public final net.minecraft.world.server.ServerWorld world
public final net.minecraft.util.math.BlockPos location
public CreateStatue(net.minecraft.entity.player.ServerPlayerEntity player, net.minecraft.world.server.ServerWorld world, net.minecraft.util.math.BlockPos location, StatueEntity statue)
public StatueEntity getStatue()
public void setStatue(StatueEntity statue)