public class VillageSiegeEvent extends 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.Event.HasResult, Event.Result| コンストラクタと説明 |
|---|
VillageSiegeEvent(VillageSiege siege,
World world,
PlayerEntity player,
Vec3d attemptedSpawnPos) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Vec3d |
getAttemptedSpawnPos() |
PlayerEntity |
getPlayer() |
VillageSiege |
getSiege() |
World |
getWorld() |
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic VillageSiegeEvent(VillageSiege siege, World world, PlayerEntity player, Vec3d attemptedSpawnPos)
public VillageSiege getSiege()
public World getWorld()
public PlayerEntity getPlayer()
public Vec3d getAttemptedSpawnPos()