public class VillageSiegeEvent extends Event
VillageSiege.trySetupSiege(), to give mods the chance to stop the siege.Cancelable; canceling stops the siege.Event.HasResultMinecraftForge.EVENT_BUS.Event.HasResult, Event.Result| Constructor and Description |
|---|
VillageSiegeEvent(VillageSiege siege,
World world,
EntityPlayer player,
Village village,
Vec3d attemptedSpawnPos) |
| Modifier and Type | Method and Description |
|---|---|
Vec3d |
getAttemptedSpawnPos() |
EntityPlayer |
getPlayer() |
VillageSiege |
getSiege() |
Village |
getVillage() |
World |
getWorld() |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic VillageSiegeEvent(VillageSiege siege, World world, EntityPlayer player, Village village, Vec3d attemptedSpawnPos)
public VillageSiege getSiege()
public World getWorld()
public EntityPlayer getPlayer()
public Village getVillage()
public Vec3d getAttemptedSpawnPos()