public class VillageSiegeEvent
extends net.minecraftforge.eventbus.api.Event
VillageSiege.trySetupSiege(net.minecraft.world.server.ServerWorld), to give mods the chance to stop the siege.Cancelable; canceling stops the siege.HasResultMinecraftForge.EVENT_BUS.| Constructor and Description |
|---|
VillageSiegeEvent(VillageSiege siege,
World world,
PlayerEntity player,
Vec3d attemptedSpawnPos) |
| Modifier and Type | Method and Description |
|---|---|
Vec3d |
getAttemptedSpawnPos() |
PlayerEntity |
getPlayer() |
VillageSiege |
getSiege() |
World |
getWorld() |
public VillageSiegeEvent(VillageSiege siege, World world, PlayerEntity player, Vec3d attemptedSpawnPos)
public VillageSiege getSiege()
public World getWorld()
public PlayerEntity getPlayer()
public Vec3d getAttemptedSpawnPos()