public class SpongeEventFactory extends Object
Constructor and Description |
---|
SpongeEventFactory() |
Modifier and Type | Method and Description |
---|---|
static AffectEntityEvent |
createAffectEntityEvent(Game game,
Cause cause,
List<? extends Entity> entities,
List<EntitySnapshot> entitySnapshots,
World targetWorld)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static AffectItemEvent |
createAffectItemEvent(Game game,
Cause cause,
List<Item> entities,
List<EntitySnapshot> entitySnapshots,
World targetWorld)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static AffectItemStackEvent |
createAffectItemStackEvent(Game game,
Cause cause,
Inventory targetInventory,
List<ItemStackTransaction> transactions)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static BanIpEvent |
createBanIpEvent(Ban.Ip ban)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static BanUserEvent |
createBanUserEvent(Cause cause,
Ban.User ban,
User targetUser)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static BanUserEvent.TargetPlayer |
createBanUserEventTargetPlayer(Game game,
Cause cause,
Ban.User ban,
Player targetEntity,
User targetUser)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static BreakBlockEvent |
createBreakBlockEvent(Game game,
Cause cause,
World targetWorld,
List<BlockTransaction> transactions)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static BreedEntityEvent |
createBreedEntityEvent(Game game,
Cause cause,
Optional<com.flowpowered.math.vector.Vector3d> interactionPoint,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static BreedEntityEvent.Breed |
createBreedEntityEventBreed(Game game,
Cause cause,
Optional<com.flowpowered.math.vector.Vector3d> interactionPoint,
Ageable offspringEntity,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static BreedEntityEvent.FindMate |
createBreedEntityEventFindMate(Game game,
Cause cause,
TristateResult.Result originalResult,
TristateResult.Result result,
Optional<com.flowpowered.math.vector.Vector3d> interactionPoint,
Entity targetEntity,
boolean hasAllowResult)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static BrewingEvent |
createBrewingEvent(Game game,
Cause cause,
ItemStackSnapshot ingredient,
BrewingStand targetTile)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static BrewingEvent.Finish |
createBrewingEventFinish(Game game,
Cause cause,
List<ItemStackSnapshot> brewedItemStacks,
ItemStackSnapshot ingredient,
BrewingStand targetTile)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static BrewingEvent.Interrupt |
createBrewingEventInterrupt(Game game,
Cause cause,
List<ItemStackSnapshot> brewedItemStacks,
ItemStackSnapshot ingredient,
BrewingStand targetTile)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static BrewingEvent.Start |
createBrewingEventStart(Game game,
Cause cause,
ItemStackSnapshot ingredient,
Inventory targetInventory,
BrewingStand targetTile,
List<ItemStackTransaction> transactions)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static BrewingEvent.Tick |
createBrewingEventTick(Game game,
Cause cause,
ItemStackSnapshot ingredient,
Inventory targetInventory,
BrewingStand targetTile,
List<ItemStackTransaction> transactions)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeBlockEvent |
createChangeBlockEvent(Game game,
Cause cause,
World targetWorld,
List<BlockTransaction> transactions)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeDataHolderEvent |
createChangeDataHolderEvent(Game game,
DataHolder targetHolder)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeDataHolderEvent.ValueChange |
createChangeDataHolderEventValueChange(Game game,
DataTransactionResult endResult,
DataTransactionResult originalChanges,
DataHolder targetHolder)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeEntityEquipmentEvent |
createChangeEntityEquipmentEvent(Game game,
Optional<ItemStackSnapshot> originalItemStack,
Optional<ItemStackTransaction> itemStack,
Entity targetEntity,
Slot targetInventory)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeEntityEquipmentEvent.TargetHuman |
createChangeEntityEquipmentEventTargetHuman(Game game,
Optional<ItemStackSnapshot> originalItemStack,
Optional<ItemStackTransaction> itemStack,
Human targetEntity,
Slot targetInventory)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeEntityEquipmentEvent.TargetLiving |
createChangeEntityEquipmentEventTargetLiving(Game game,
Optional<ItemStackSnapshot> originalItemStack,
Optional<ItemStackTransaction> itemStack,
Living targetEntity,
Slot targetInventory)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeEntityEquipmentEvent.TargetPlayer |
createChangeEntityEquipmentEventTargetPlayer(Game game,
Optional<ItemStackSnapshot> originalItemStack,
Optional<ItemStackTransaction> itemStack,
Player targetEntity,
Slot targetInventory)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeEntityExperienceEvent |
createChangeEntityExperienceEvent(Game game,
Cause cause,
int originalExperience,
int experience,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeEntityPotionEffectEvent |
createChangeEntityPotionEffectEvent(Game game,
Cause cause,
List<PotionEffect> currentEffects,
PotionEffect potionEffect,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeEntityPotionEffectEvent.Expire |
createChangeEntityPotionEffectEventExpire(Game game,
Cause cause,
List<PotionEffect> currentEffects,
PotionEffect potionEffect,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeEntityPotionEffectEvent.Gain |
createChangeEntityPotionEffectEventGain(Game game,
Cause cause,
List<PotionEffect> currentEffects,
PotionEffect potionEffect,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeEntityPotionEffectEvent.Remove |
createChangeEntityPotionEffectEventRemove(Game game,
Cause cause,
List<PotionEffect> currentEffects,
PotionEffect potionEffect,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeGameModeEvent |
createChangeGameModeEvent(Game game,
Cause cause,
GameMode originalGameMode,
GameMode gameMode)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeGameModeEvent.TargetHuman |
createChangeGameModeEventTargetHuman(Game game,
Cause cause,
GameMode originalGameMode,
GameMode gameMode,
Human targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeGameModeEvent.TargetPlayer |
createChangeGameModeEventTargetPlayer(Game game,
Cause cause,
GameMode originalGameMode,
GameMode gameMode,
Player targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeLevelEvent |
createChangeLevelEvent(Game game,
Cause cause,
int originalLevel,
int level)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeLevelEvent.TargetHuman |
createChangeLevelEventTargetHuman(Game game,
Cause cause,
int originalLevel,
int level,
Human targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeLevelEvent.TargetPlayer |
createChangeLevelEventTargetPlayer(Game game,
Cause cause,
int originalLevel,
int level,
Player targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeSignEvent |
createChangeSignEvent(Game game,
Cause cause,
ImmutableSignData originalText,
SignData text,
Sign targetTile)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeStatisticEvent |
createChangeStatisticEvent(Game game,
Cause cause,
long originalValue,
long value,
Statistic statistic)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeStatisticEvent.TargetPlayer |
createChangeStatisticEventTargetPlayer(Game game,
Cause cause,
long originalValue,
long value,
Statistic statistic,
Player targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeWorldGameRuleEvent |
createChangeWorldGameRuleEvent(Game game,
Cause cause,
String originalValue,
String value,
String name,
World targetWorld)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ChangeWorldWeatherEvent |
createChangeWorldWeatherEvent(Game game,
Cause cause,
int originalDuration,
int duration,
Weather originalWeather,
Weather weather,
Weather initialWeather,
World targetWorld)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ClientConnectionEvent |
createClientConnectionEvent(Game game)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ClientConnectionEvent.Auth |
createClientConnectionEventAuth(Game game,
Cause cause,
Text originalMessage,
Text message,
MessageSink originalSink,
MessageSink sink,
RemoteConnection connection,
GameProfile profile)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ClientConnectionEvent.Disconnect |
createClientConnectionEventDisconnect(Game game,
Cause cause,
Text originalMessage,
Text message,
MessageSink originalSink,
MessageSink sink,
Player targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ClientConnectionEvent.Join |
createClientConnectionEventJoin(Game game,
Cause cause,
Text originalMessage,
Text message,
MessageSink originalSink,
MessageSink sink,
Transform<World> fromTransform,
Transform<World> toTransform,
Player targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ClientConnectionEvent.Login |
createClientConnectionEventLogin(Game game,
Cause cause,
Text originalMessage,
Text message,
MessageSink originalSink,
MessageSink sink,
RemoteConnection connection,
GameProfile profile)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ClientPingServerEvent |
createClientPingServerEvent(StatusClient client,
ClientPingServerEvent.Response response)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ClientPingServerEvent.Response |
createClientPingServerEventResponse(Text description,
Optional<Favicon> favicon,
Optional<ClientPingServerEvent.Response.Players> players,
MinecraftVersion version)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ClientPingServerEvent.Response.Players |
createClientPingServerEventResponsePlayers(List<GameProfile> profiles,
int max,
int online)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static CollideBlockEvent |
createCollideBlockEvent(Game game,
Cause cause,
BlockState targetBlock,
Location<World> targetLocation,
Direction targetSide)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static CollideEntityEvent |
createCollideEntityEvent(Game game,
Cause cause,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ConstructEntityEvent |
createConstructEntityEvent(Game game,
Cause cause,
EntityType targetType,
Transform<World> transform)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ConstructEntityEvent.Post |
createConstructEntityEventPost(Game game,
Cause cause,
Entity targetEntity,
EntityType targetType,
Transform<World> transform)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ConstructEntityEvent.Pre |
createConstructEntityEventPre(Game game,
Cause cause,
EntityType targetType,
Transform<World> transform)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ConstructPortalEvent |
createConstructPortalEvent(Game game,
Cause cause,
Location<World> portalLocation)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ConstructWorldEvent |
createConstructWorldEvent(Game game,
Cause cause,
WorldCreationSettings worldCreationSettings,
WorldProperties worldProperties)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static CraftItemEvent |
createCraftItemEvent(Game game,
Cause cause,
Recipe recipe,
CraftingInventory targetInventory,
List<ItemStackTransaction> transactions)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static DamageEntityEvent |
createDamageEntityEvent(Game game,
Cause cause,
double originalFinalDamage,
double finalDamage,
List<Tuple<DamageModifier,Function<? super Double,Double>>> modifiers,
Map<DamageModifier,Double> originalDamages,
List<Tuple<DamageModifier,Function<? super Double,Double>>> originalFunctions,
Entity targetEntity,
double baseDamage,
double originalDamage)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static DecayBlockEvent |
createDecayBlockEvent(Game game,
Cause cause,
World targetWorld,
List<BlockTransaction> transactions)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static DestructEntityEvent |
createDestructEntityEvent(Game game,
Cause cause,
Text originalMessage,
Text message,
MessageSink originalSink,
MessageSink sink,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static DismountEntityEvent |
createDismountEntityEvent(Game game,
Cause cause,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static DisplaceEntityEvent |
createDisplaceEntityEvent(Game game,
Transform<World> fromTransform,
Transform<World> toTransform,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static DisplaceEntityEvent.Move |
createDisplaceEntityEventMove(Game game,
Transform<World> fromTransform,
Transform<World> toTransform,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static DisplaceEntityEvent.Move.TargetHuman |
createDisplaceEntityEventMoveTargetHuman(Game game,
Transform<World> fromTransform,
Transform<World> toTransform,
Human targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static DisplaceEntityEvent.Move.TargetLiving |
createDisplaceEntityEventMoveTargetLiving(Game game,
Transform<World> fromTransform,
Transform<World> toTransform,
Living targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static DisplaceEntityEvent.Move.TargetPlayer |
createDisplaceEntityEventMoveTargetPlayer(Game game,
Transform<World> fromTransform,
Transform<World> toTransform,
Player targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static DisplaceEntityEvent.TargetHuman |
createDisplaceEntityEventTargetHuman(Game game,
Transform<World> fromTransform,
Transform<World> toTransform,
Human targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static DisplaceEntityEvent.TargetLiving |
createDisplaceEntityEventTargetLiving(Game game,
Transform<World> fromTransform,
Transform<World> toTransform,
Living targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static DisplaceEntityEvent.TargetPlayer |
createDisplaceEntityEventTargetPlayer(Game game,
Transform<World> fromTransform,
Transform<World> toTransform,
Player targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static DisplaceEntityEvent.Teleport |
createDisplaceEntityEventTeleport(Game game,
Cause cause,
Transform<World> fromTransform,
Transform<World> toTransform,
Entity targetEntity,
TeleporterAgent teleporterAgent,
boolean keepsVelocity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static DisplaceEntityEvent.Teleport.TargetHuman |
createDisplaceEntityEventTeleportTargetHuman(Game game,
Cause cause,
Transform<World> fromTransform,
Transform<World> toTransform,
Human targetEntity,
TeleporterAgent teleporterAgent,
boolean keepsVelocity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static DisplaceEntityEvent.Teleport.TargetLiving |
createDisplaceEntityEventTeleportTargetLiving(Game game,
Cause cause,
Transform<World> fromTransform,
Transform<World> toTransform,
Living targetEntity,
TeleporterAgent teleporterAgent,
boolean keepsVelocity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static DisplaceEntityEvent.Teleport.TargetPlayer |
createDisplaceEntityEventTeleportTargetPlayer(Game game,
Cause cause,
Transform<World> fromTransform,
Transform<World> toTransform,
Player targetEntity,
TeleporterAgent teleporterAgent,
boolean keepsVelocity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static DropItemStackEvent |
createDropItemStackEvent(Game game,
Cause cause)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static DropItemStackEvent.Drop |
createDropItemStackEventDrop(Game game,
Cause cause,
List<Item> entities,
List<EntitySnapshot> entitySnapshots,
World targetWorld)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static DropItemStackEvent.Post |
createDropItemStackEventPost(Game game,
Cause cause)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static DropItemStackEvent.Pre |
createDropItemStackEventPre(Game game,
Cause cause,
List<ItemStackSnapshot> defaultDroppedItems,
List<ItemStackTransaction> droppedItems)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static Event |
createEvent()
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ExpireEntityEvent |
createExpireEntityEvent(Game game,
Cause cause,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ExpireEntityEvent.TargetItem |
createExpireEntityEventTargetItem(Game game,
Cause cause,
Item targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ExplosionEvent |
createExplosionEvent(Game game,
Cause cause,
Explosion explosion,
World targetWorld)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ExplosionEvent.Detonate |
createExplosionEventDetonate(Game game,
Cause cause,
List<? extends Entity> entities,
List<EntitySnapshot> entitySnapshots,
Explosion explosion,
World targetWorld,
List<BlockTransaction> transactions)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ExplosionEvent.Post |
createExplosionEventPost(Game game,
Cause cause,
Explosion explosion,
World targetWorld)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ExplosionEvent.Pre |
createExplosionEventPre(Game game,
Cause cause,
Explosion explosion,
World targetWorld)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static FishingEvent |
createFishingEvent(Game game,
Cause cause,
EntitySnapshot originalFishHook,
FishHook fishHook)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static FishingEvent.Finish |
createFishingEventFinish(Game game,
Cause cause,
EntitySnapshot originalFishHook,
FishHook fishHook)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static FishingEvent.Hook |
createFishingEventHook(Game game,
Cause cause,
EntitySnapshot originalFishHook,
FishHook fishHook,
EntitySnapshot originalHookedEntity,
Optional<Entity> hookedEntity,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static FishingEvent.Start |
createFishingEventStart(Game game,
Cause cause,
EntitySnapshot originalFishHook,
FishHook fishHook)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static FishingEvent.Stop |
createFishingEventStop(Game game,
Cause cause,
Optional<EntitySnapshot> originalCaughtEntity,
Optional<Entity> caughtEntity,
int originalExperience,
int experience,
EntitySnapshot originalFishHook,
FishHook fishHook,
Optional<ItemStackTransaction> itemStackTransaction,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ForcedChunkEvent |
createForcedChunkEvent(Game game,
com.flowpowered.math.vector.Vector3i chunkCoords,
Chunk targetChunk,
ChunkLoadService.LoadingTicket ticket)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static GameAboutToStartServerEvent |
createGameAboutToStartServerEvent(Game game)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static GameConstructionEvent |
createGameConstructionEvent(Game game)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static GameEvent |
createGameEvent(Game game)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static GameInitializationEvent |
createGameInitializationEvent(Game game)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static GameLoadCompleteEvent |
createGameLoadCompleteEvent(Game game)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static GamePostInitializationEvent |
createGamePostInitializationEvent(Game game)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static GamePreInitializationEvent |
createGamePreInitializationEvent(Game game)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static GameStartedServerEvent |
createGameStartedServerEvent(Game game)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static GameStartingServerEvent |
createGameStartingServerEvent(Game game)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static GameStateEvent |
createGameStateEvent(Game game)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static GameStoppedServerEvent |
createGameStoppedServerEvent(Game game)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static GameStoppingServerEvent |
createGameStoppingServerEvent(Game game)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static GenerateChunkEvent |
createGenerateChunkEvent(Game game,
Cause cause,
Chunk targetChunk)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static GenerateChunkEvent.Post |
createGenerateChunkEventPost(Game game,
Cause cause,
Chunk targetChunk)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static GenerateChunkEvent.Pre |
createGenerateChunkEventPre(Game game,
Cause cause,
Chunk targetChunk)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static GrantAchievementEvent |
createGrantAchievementEvent(Game game,
Cause cause,
Text originalMessage,
Text message,
MessageSink originalSink,
MessageSink sink,
Achievement achievement)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static GrantAchievementEvent.TargetPlayer |
createGrantAchievementEventTargetPlayer(Game game,
Cause cause,
Text originalMessage,
Text message,
MessageSink originalSink,
MessageSink sink,
Achievement achievement,
Player targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static GrowBlockEvent |
createGrowBlockEvent(Game game,
Cause cause,
World targetWorld,
List<BlockTransaction> transactions)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static HarvestBlockEvent |
createHarvestBlockEvent(Game game,
Cause cause,
float originalDropChance,
float dropChance,
int originalExperience,
int experience,
Collection<ItemStack> originalItemStacks,
Collection<ItemStack> itemStacks,
BlockSnapshot targetBlock,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static HarvestEntityEvent |
createHarvestEntityEvent(Game game,
Cause cause,
int originalExperience,
int experience,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static HarvestEntityEvent.TargetHuman |
createHarvestEntityEventTargetHuman(Game game,
Cause cause,
int originalExperience,
int experience,
Human targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static HarvestEntityEvent.TargetLiving |
createHarvestEntityEventTargetLiving(Game game,
Cause cause,
int originalExperience,
int experience,
Living targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static HarvestEntityEvent.TargetPlayer |
createHarvestEntityEventTargetPlayer(Game game,
Cause cause,
int originalExperience,
int experience,
Player targetEntity,
boolean keepsInventory,
boolean keepsLevel,
int level)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static HealEntityEvent |
createHealEntityEvent(Game game,
Cause cause,
List<Tuple<HealthModifier,Function<? super Double,Double>>> modifiers,
List<Tuple<HealthModifier,Function<? super Double,Double>>> originalFunctions,
Map<HealthModifier,Double> originalHealingAmounts,
Entity targetEntity,
double baseHealAmount,
double finalHealAmount,
double originalHealAmount)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static IgniteEntityEvent |
createIgniteEntityEvent(Game game,
Cause cause,
int originalFireTicks,
int fireTicks,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static InteractBlockEvent |
createInteractBlockEvent(Game game,
Cause cause,
Optional<com.flowpowered.math.vector.Vector3d> interactionPoint,
BlockSnapshot targetBlock,
Direction targetSide)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static InteractBlockEvent.Attack |
createInteractBlockEventAttack(Game game,
Cause cause,
Optional<com.flowpowered.math.vector.Vector3d> interactionPoint,
BlockSnapshot targetBlock,
Direction targetSide)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static InteractBlockEvent.Use |
createInteractBlockEventUse(Game game,
Cause cause,
Optional<com.flowpowered.math.vector.Vector3d> interactionPoint,
BlockSnapshot targetBlock,
Direction targetSide)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static InteractEntityEvent |
createInteractEntityEvent(Game game,
Cause cause,
Optional<com.flowpowered.math.vector.Vector3d> interactionPoint,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static InteractEntityEvent.Attack |
createInteractEntityEventAttack(Game game,
Cause cause,
Optional<com.flowpowered.math.vector.Vector3d> interactionPoint,
List<Tuple<DamageModifier,Function<? super Double,Double>>> originalFunctions,
Entity targetEntity,
double originalDamage)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static InteractEntityEvent.Use |
createInteractEntityEventUse(Game game,
Cause cause,
Optional<com.flowpowered.math.vector.Vector3d> interactionPoint,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static InteractEvent |
createInteractEvent(Game game,
Cause cause,
Optional<com.flowpowered.math.vector.Vector3d> interactionPoint)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static InteractInventoryEvent |
createInteractInventoryEvent(Game game,
Cause cause,
Inventory targetInventory)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static InteractInventoryEvent.Click |
createInteractInventoryEventClick(Game game,
Cause cause,
Inventory targetInventory)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static InteractInventoryEvent.Close |
createInteractInventoryEventClose(Game game,
Cause cause,
Inventory targetInventory)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static InteractInventoryEvent.Drag |
createInteractInventoryEventDrag(Game game,
Cause cause,
Inventory targetInventory)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static InteractInventoryEvent.Move |
createInteractInventoryEventMove(Game game,
Cause cause,
Inventory targetInventory)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ItemMergeItemEvent |
createItemMergeItemEvent(Game game,
Cause cause,
Item itemToMerge,
Item targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static KickPlayerEvent |
createKickPlayerEvent(Game game,
Cause cause,
Text originalMessage,
Text message,
MessageSink originalSink,
MessageSink sink,
Player targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static LaunchProjectileEvent |
createLaunchProjectileEvent(Game game,
Cause cause,
Projectile targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static LeashEntityEvent |
createLeashEntityEvent(Game game,
Cause cause,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static LightningEvent |
createLightningEvent(Game game,
Cause cause)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static LightningEvent.Post |
createLightningEventPost(Game game,
Cause cause)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static LightningEvent.Pre |
createLightningEventPre(Game game,
Cause cause)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static LightningEvent.Strike |
createLightningEventStrike(Game game,
Cause cause,
List<? extends Entity> entities,
List<EntitySnapshot> entitySnapshots,
World targetWorld,
List<BlockTransaction> transactions)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static LoadChunkEvent |
createLoadChunkEvent(Game game,
Cause cause,
Chunk targetChunk)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static LoadWorldEvent |
createLoadWorldEvent(Game game,
Cause cause,
World targetWorld)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static MessageEvent |
createMessageEvent(Game game,
Cause cause,
Text originalMessage,
Text message)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static MessageSinkEvent |
createMessageSinkEvent(Game game,
Cause cause,
Text originalMessage,
Text message,
MessageSink originalSink,
MessageSink sink)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static MountEntityEvent |
createMountEntityEvent(Game game,
Cause cause,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static MoveBlockEvent |
createMoveBlockEvent(Game game,
Cause cause,
World targetWorld,
List<BlockTransaction> transactions)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static NotifyNeighborBlockEvent |
createNotifyNeighborBlockEvent(Game game,
Cause cause,
Map<Direction,BlockSnapshot> originalRelatives,
Map<Direction,Location<World>> relatives)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static NotifyNeighborBlockEvent.Burn |
createNotifyNeighborBlockEventBurn(Game game,
Cause cause,
Map<Direction,BlockSnapshot> originalRelatives,
Map<Direction,Location<World>> relatives)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static NotifyNeighborBlockEvent.Ignite |
createNotifyNeighborBlockEventIgnite(Game game,
Cause cause,
Map<Direction,BlockSnapshot> originalRelatives,
Map<Direction,Location<World>> relatives)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static NotifyNeighborBlockEvent.Power |
createNotifyNeighborBlockEventPower(Game game,
Cause cause,
Map<Direction,BlockSnapshot> originalRelatives,
Map<Direction,Location<World>> relatives)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static NotifyNeighborBlockEvent.Spread |
createNotifyNeighborBlockEventSpread(Game game,
Cause cause,
Map<Direction,BlockSnapshot> originalRelatives,
Map<Direction,Location<World>> relatives,
BlockSnapshot spreadingSnapshot)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static PardonIpEvent |
createPardonIpEvent(Ban.Ip ban)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static PardonUserEvent |
createPardonUserEvent(Cause cause,
Ban.User ban,
User targetUser)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static PardonUserEvent.TargetPlayer |
createPardonUserEventTargetPlayer(Game game,
Cause cause,
Ban.User ban,
Player targetEntity,
Player targetUser)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static PickUpItemEvent |
createPickUpItemEvent(Game game,
Cause cause,
List<Item> entities,
List<EntitySnapshot> entitySnapshots,
Inventory targetInventory,
World targetWorld)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static PlaceBlockEvent |
createPlaceBlockEvent(Game game,
Cause cause,
World targetWorld,
List<BlockTransaction> transactions)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static PopulateChunkEvent |
createPopulateChunkEvent(Game game,
Cause cause,
Chunk targetChunk)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static PopulateChunkEvent.Populate |
createPopulateChunkEventPopulate(Game game,
Cause cause,
Chunk targetChunk)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static PopulateChunkEvent.Post |
createPopulateChunkEventPost(Game game,
Cause cause,
Chunk targetChunk)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static PopulateChunkEvent.Pre |
createPopulateChunkEventPre(Game game,
Cause cause,
List<Populator> pendingPopulators,
Chunk targetChunk)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static QueryServerEvent |
createQueryServerEvent()
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static QueryServerEvent.Basic |
createQueryServerEventBasic(InetSocketAddress address,
String gameType,
String map,
String motd,
int maxPlayerCount,
int maxSize,
int playerCount,
int size)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static QueryServerEvent.Full |
createQueryServerEventFull(InetSocketAddress address,
Map<String,String> customValuesMap,
String gameId,
String gameType,
String map,
String motd,
List<String> players,
String plugins,
String version,
int maxPlayerCount,
int maxSize,
int playerCount,
int size)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static RconConnectionEvent |
createRconConnectionEvent(RconSource source)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static RconConnectionEvent.Connect |
createRconConnectionEventConnect(RconSource source)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static RconConnectionEvent.Disconnect |
createRconConnectionEventDisconnect(RconSource source)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static RconConnectionEvent.Login |
createRconConnectionEventLogin(RconSource source)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static RegisterChannelEvent |
createRegisterChannelEvent(Game game,
Cause cause,
String targetChannel)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static ResourcePackStatusEvent |
createResourcePackStatusEvent(Game game,
ResourcePack pack,
Player player,
ResourcePackStatusEvent.ResourcePackStatus status)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static RespawnPlayerEvent |
createRespawnPlayerEvent(Game game,
Cause cause,
Transform<World> fromTransform,
Transform<World> toTransform,
Player targetEntity,
boolean bedSpawn)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static SendCommandEvent |
createSendCommandEvent(Game game,
Cause cause,
String arguments,
String command,
CommandResult result)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static SleepingEvent |
createSleepingEvent(Game game,
Cause cause,
BlockSnapshot bed,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static SleepingEvent.Finish |
createSleepingEventFinish(Game game,
Cause cause,
BlockSnapshot bed,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static SleepingEvent.Post |
createSleepingEventPost(Game game,
Cause cause,
BlockSnapshot bed,
Optional<Transform<World>> spawnTransform,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static SleepingEvent.Pre |
createSleepingEventPre(Game game,
Cause cause,
BlockSnapshot bed,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static SleepingEvent.Tick |
createSleepingEventTick(Game game,
Cause cause,
BlockSnapshot bed,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static SmeltEvent |
createSmeltEvent(Game game,
Cause cause,
ItemStackSnapshot fuel,
Furnace targetTile)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static SmeltEvent.ConsumeFuel |
createSmeltEventConsumeFuel(Game game,
Cause cause,
ItemStackSnapshot fuel,
Inventory targetInventory,
Furnace targetTile,
List<ItemStackTransaction> transactions)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static SmeltEvent.Finish |
createSmeltEventFinish(Game game,
Cause cause,
ItemStackSnapshot fuel,
List<ItemStackSnapshot> smeltedItems,
Furnace targetTile)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static SmeltEvent.Interrupt |
createSmeltEventInterrupt(Game game,
Cause cause,
ItemStackSnapshot fuel,
List<ItemStackSnapshot> smeltedItems,
Furnace targetTile)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static SmeltEvent.Start |
createSmeltEventStart(Game game,
Cause cause,
ItemStackSnapshot fuel,
Inventory targetInventory,
Furnace targetTile,
List<ItemStackTransaction> transactions)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static SmeltEvent.Tick |
createSmeltEventTick(Game game,
Cause cause,
ItemStackSnapshot fuel,
Inventory targetInventory,
Furnace targetTile,
List<ItemStackTransaction> transactions)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static SpawnEntityEvent |
createSpawnEntityEvent(Game game,
Cause cause,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static TabCompleteCommandEvent |
createTabCompleteCommandEvent(Game game,
Cause cause,
String arguments,
String command,
List<String> tabCompletions)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static TameEntityEvent |
createTameEntityEvent(Game game,
Cause cause,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static TargetBlockEvent |
createTargetBlockEvent(Game game,
BlockSnapshot targetBlock)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static TargetChannelEvent |
createTargetChannelEvent(Game game,
String targetChannel)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static TargetChunkEvent |
createTargetChunkEvent(Game game,
Chunk targetChunk)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static TargetContainerEvent |
createTargetContainerEvent(Game game,
Container targetContainer)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static TargetEntityEvent |
createTargetEntityEvent(Game game,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static TargetHumanEvent |
createTargetHumanEvent(Game game,
Human targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static TargetInventoryEvent |
createTargetInventoryEvent(Game game,
Inventory targetInventory)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static TargetItemEvent |
createTargetItemEvent(Game game,
Item targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static TargetLivingEvent |
createTargetLivingEvent(Game game,
Living targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static TargetPlayerEvent |
createTargetPlayerEvent(Game game,
Player targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static TargetProjectileEvent |
createTargetProjectileEvent(Game game,
Projectile targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static TargetTileEntityEvent |
createTargetTileEntityEvent(Game game,
TileEntity targetTile)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static TargetUserEvent |
createTargetUserEvent(User targetUser)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static TargetWorldEvent |
createTargetWorldEvent(Game game,
World targetWorld)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static TickBlockEvent |
createTickBlockEvent(Game game,
Cause cause,
BlockSnapshot targetBlock)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static UnforcedChunkEvent |
createUnforcedChunkEvent(Game game,
Cause cause,
com.flowpowered.math.vector.Vector3i chunkCoords,
ChunkLoadService.LoadingTicket ticket)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static UnleashEntityEvent |
createUnleashEntityEvent(Game game,
Cause cause,
Entity targetEntity)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static UnloadChunkEvent |
createUnloadChunkEvent(Game game,
Cause cause,
Chunk targetChunk)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static UnloadWorldEvent |
createUnloadWorldEvent(Game game,
Cause cause,
World targetWorld)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static UnRegisterChannelEvent |
createUnRegisterChannelEvent(Game game,
Cause cause,
String targetChannel)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static UseItemStackEvent |
createUseItemStackEvent(Game game,
Cause cause,
ItemStackTransaction itemStackInUse)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static UseItemStackEvent.Finish |
createUseItemStackEventFinish(Game game,
Cause cause,
ItemStackTransaction itemStackInUse)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static UseItemStackEvent.Start |
createUseItemStackEventStart(Game game,
Cause cause,
ItemStackTransaction itemStackInUse)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static UseItemStackEvent.Stop |
createUseItemStackEventStop(Game game,
Cause cause,
ItemStackTransaction itemStackInUse)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
static UseItemStackEvent.Tick |
createUseItemStackEventTick(Game game,
Cause cause,
ItemStackTransaction itemStackInUse)
AUTOMATICALLY GENERATED, DO NOT EDIT.
|
public static Event createEvent()
Event
.public static GameEvent createGameEvent(Game game)
GameEvent
.game
- The gamepublic static GrantAchievementEvent createGrantAchievementEvent(Game game, Cause cause, Text originalMessage, Text message, MessageSink originalSink, MessageSink sink, Achievement achievement)
GrantAchievementEvent
.game
- The gamecause
- The causeoriginalMessage
- The original messagemessage
- The messageoriginalSink
- The original sinksink
- The sinkachievement
- The achievementpublic static GrantAchievementEvent.TargetPlayer createGrantAchievementEventTargetPlayer(Game game, Cause cause, Text originalMessage, Text message, MessageSink originalSink, MessageSink sink, Achievement achievement, Player targetEntity)
GrantAchievementEvent.TargetPlayer
.game
- The gamecause
- The causeoriginalMessage
- The original messagemessage
- The messageoriginalSink
- The original sinksink
- The sinkachievement
- The achievementtargetEntity
- The target entitypublic static FishingEvent createFishingEvent(Game game, Cause cause, EntitySnapshot originalFishHook, FishHook fishHook)
FishingEvent
.game
- The gamecause
- The causeoriginalFishHook
- The original fish hookfishHook
- The fish hookpublic static FishingEvent.Finish createFishingEventFinish(Game game, Cause cause, EntitySnapshot originalFishHook, FishHook fishHook)
FishingEvent.Finish
.game
- The gamecause
- The causeoriginalFishHook
- The original fish hookfishHook
- The fish hookpublic static FishingEvent.Hook createFishingEventHook(Game game, Cause cause, EntitySnapshot originalFishHook, FishHook fishHook, EntitySnapshot originalHookedEntity, Optional<Entity> hookedEntity, Entity targetEntity)
FishingEvent.Hook
.game
- The gamecause
- The causeoriginalFishHook
- The original fish hookfishHook
- The fish hookoriginalHookedEntity
- The original hooked entityhookedEntity
- The hooked entitytargetEntity
- The target entitypublic static FishingEvent.Start createFishingEventStart(Game game, Cause cause, EntitySnapshot originalFishHook, FishHook fishHook)
FishingEvent.Start
.game
- The gamecause
- The causeoriginalFishHook
- The original fish hookfishHook
- The fish hookpublic static FishingEvent.Stop createFishingEventStop(Game game, Cause cause, Optional<EntitySnapshot> originalCaughtEntity, Optional<Entity> caughtEntity, int originalExperience, int experience, EntitySnapshot originalFishHook, FishHook fishHook, Optional<ItemStackTransaction> itemStackTransaction, Entity targetEntity)
FishingEvent.Stop
.game
- The gamecause
- The causeoriginalCaughtEntity
- The original caught entitycaughtEntity
- The caught entityoriginalExperience
- The original experienceexperience
- The experienceoriginalFishHook
- The original fish hookfishHook
- The fish hookitemStackTransaction
- The item stack transactiontargetEntity
- The target entitypublic static InteractEvent createInteractEvent(Game game, Cause cause, Optional<com.flowpowered.math.vector.Vector3d> interactionPoint)
InteractEvent
.game
- The gamecause
- The causeinteractionPoint
- The interaction pointpublic static LightningEvent createLightningEvent(Game game, Cause cause)
LightningEvent
.game
- The gamecause
- The causepublic static LightningEvent.Post createLightningEventPost(Game game, Cause cause)
LightningEvent.Post
.game
- The gamecause
- The causepublic static LightningEvent.Pre createLightningEventPre(Game game, Cause cause)
LightningEvent.Pre
.game
- The gamecause
- The causepublic static LightningEvent.Strike createLightningEventStrike(Game game, Cause cause, List<? extends Entity> entities, List<EntitySnapshot> entitySnapshots, World targetWorld, List<BlockTransaction> transactions)
LightningEvent.Strike
.game
- The gamecause
- The causeentities
- The entitiesentitySnapshots
- The entity snapshotstargetWorld
- The target worldtransactions
- The transactionspublic static MessageEvent createMessageEvent(Game game, Cause cause, Text originalMessage, Text message)
MessageEvent
.game
- The gamecause
- The causeoriginalMessage
- The original messagemessage
- The messagepublic static SleepingEvent createSleepingEvent(Game game, Cause cause, BlockSnapshot bed, Entity targetEntity)
SleepingEvent
.game
- The gamecause
- The causebed
- The bedtargetEntity
- The target entitypublic static SleepingEvent.Finish createSleepingEventFinish(Game game, Cause cause, BlockSnapshot bed, Entity targetEntity)
SleepingEvent.Finish
.game
- The gamecause
- The causebed
- The bedtargetEntity
- The target entitypublic static SleepingEvent.Post createSleepingEventPost(Game game, Cause cause, BlockSnapshot bed, Optional<Transform<World>> spawnTransform, Entity targetEntity)
SleepingEvent.Post
.game
- The gamecause
- The causebed
- The bedspawnTransform
- The spawn transformtargetEntity
- The target entitypublic static SleepingEvent.Pre createSleepingEventPre(Game game, Cause cause, BlockSnapshot bed, Entity targetEntity)
SleepingEvent.Pre
.game
- The gamecause
- The causebed
- The bedtargetEntity
- The target entitypublic static SleepingEvent.Tick createSleepingEventTick(Game game, Cause cause, BlockSnapshot bed, Entity targetEntity)
SleepingEvent.Tick
.game
- The gamecause
- The causebed
- The bedtargetEntity
- The target entitypublic static BreakBlockEvent createBreakBlockEvent(Game game, Cause cause, World targetWorld, List<BlockTransaction> transactions)
BreakBlockEvent
.game
- The gamecause
- The causetargetWorld
- The target worldtransactions
- The transactionspublic static ChangeBlockEvent createChangeBlockEvent(Game game, Cause cause, World targetWorld, List<BlockTransaction> transactions)
ChangeBlockEvent
.game
- The gamecause
- The causetargetWorld
- The target worldtransactions
- The transactionspublic static CollideBlockEvent createCollideBlockEvent(Game game, Cause cause, BlockState targetBlock, Location<World> targetLocation, Direction targetSide)
CollideBlockEvent
.game
- The gamecause
- The causetargetBlock
- The target blocktargetLocation
- The target locationtargetSide
- The target sidepublic static DecayBlockEvent createDecayBlockEvent(Game game, Cause cause, World targetWorld, List<BlockTransaction> transactions)
DecayBlockEvent
.game
- The gamecause
- The causetargetWorld
- The target worldtransactions
- The transactionspublic static GrowBlockEvent createGrowBlockEvent(Game game, Cause cause, World targetWorld, List<BlockTransaction> transactions)
GrowBlockEvent
.game
- The gamecause
- The causetargetWorld
- The target worldtransactions
- The transactionspublic static HarvestBlockEvent createHarvestBlockEvent(Game game, Cause cause, float originalDropChance, float dropChance, int originalExperience, int experience, Collection<ItemStack> originalItemStacks, Collection<ItemStack> itemStacks, BlockSnapshot targetBlock, Entity targetEntity)
HarvestBlockEvent
.game
- The gamecause
- The causeoriginalDropChance
- The original drop chancedropChance
- The drop chanceoriginalExperience
- The original experienceexperience
- The experienceoriginalItemStacks
- The original item stacksitemStacks
- The item stackstargetBlock
- The target blocktargetEntity
- The target entitypublic static InteractBlockEvent createInteractBlockEvent(Game game, Cause cause, Optional<com.flowpowered.math.vector.Vector3d> interactionPoint, BlockSnapshot targetBlock, Direction targetSide)
InteractBlockEvent
.game
- The gamecause
- The causeinteractionPoint
- The interaction pointtargetBlock
- The target blocktargetSide
- The target sidepublic static InteractBlockEvent.Attack createInteractBlockEventAttack(Game game, Cause cause, Optional<com.flowpowered.math.vector.Vector3d> interactionPoint, BlockSnapshot targetBlock, Direction targetSide)
InteractBlockEvent.Attack
.game
- The gamecause
- The causeinteractionPoint
- The interaction pointtargetBlock
- The target blocktargetSide
- The target sidepublic static InteractBlockEvent.Use createInteractBlockEventUse(Game game, Cause cause, Optional<com.flowpowered.math.vector.Vector3d> interactionPoint, BlockSnapshot targetBlock, Direction targetSide)
InteractBlockEvent.Use
.game
- The gamecause
- The causeinteractionPoint
- The interaction pointtargetBlock
- The target blocktargetSide
- The target sidepublic static MoveBlockEvent createMoveBlockEvent(Game game, Cause cause, World targetWorld, List<BlockTransaction> transactions)
MoveBlockEvent
.game
- The gamecause
- The causetargetWorld
- The target worldtransactions
- The transactionspublic static NotifyNeighborBlockEvent createNotifyNeighborBlockEvent(Game game, Cause cause, Map<Direction,BlockSnapshot> originalRelatives, Map<Direction,Location<World>> relatives)
NotifyNeighborBlockEvent
.game
- The gamecause
- The causeoriginalRelatives
- The original relativesrelatives
- The relativespublic static NotifyNeighborBlockEvent.Burn createNotifyNeighborBlockEventBurn(Game game, Cause cause, Map<Direction,BlockSnapshot> originalRelatives, Map<Direction,Location<World>> relatives)
NotifyNeighborBlockEvent.Burn
.game
- The gamecause
- The causeoriginalRelatives
- The original relativesrelatives
- The relativespublic static NotifyNeighborBlockEvent.Ignite createNotifyNeighborBlockEventIgnite(Game game, Cause cause, Map<Direction,BlockSnapshot> originalRelatives, Map<Direction,Location<World>> relatives)
NotifyNeighborBlockEvent.Ignite
.game
- The gamecause
- The causeoriginalRelatives
- The original relativesrelatives
- The relativespublic static NotifyNeighborBlockEvent.Power createNotifyNeighborBlockEventPower(Game game, Cause cause, Map<Direction,BlockSnapshot> originalRelatives, Map<Direction,Location<World>> relatives)
NotifyNeighborBlockEvent.Power
.game
- The gamecause
- The causeoriginalRelatives
- The original relativesrelatives
- The relativespublic static NotifyNeighborBlockEvent.Spread createNotifyNeighborBlockEventSpread(Game game, Cause cause, Map<Direction,BlockSnapshot> originalRelatives, Map<Direction,Location<World>> relatives, BlockSnapshot spreadingSnapshot)
NotifyNeighborBlockEvent.Spread
.game
- The gamecause
- The causeoriginalRelatives
- The original relativesrelatives
- The relativesspreadingSnapshot
- The spreading snapshotpublic static PlaceBlockEvent createPlaceBlockEvent(Game game, Cause cause, World targetWorld, List<BlockTransaction> transactions)
PlaceBlockEvent
.game
- The gamecause
- The causetargetWorld
- The target worldtransactions
- The transactionspublic static TargetBlockEvent createTargetBlockEvent(Game game, BlockSnapshot targetBlock)
TargetBlockEvent
.game
- The gametargetBlock
- The target blockpublic static TickBlockEvent createTickBlockEvent(Game game, Cause cause, BlockSnapshot targetBlock)
TickBlockEvent
.game
- The gamecause
- The causetargetBlock
- The target blockpublic static BrewingEvent createBrewingEvent(Game game, Cause cause, ItemStackSnapshot ingredient, BrewingStand targetTile)
BrewingEvent
.game
- The gamecause
- The causeingredient
- The ingredienttargetTile
- The target tilepublic static BrewingEvent.Finish createBrewingEventFinish(Game game, Cause cause, List<ItemStackSnapshot> brewedItemStacks, ItemStackSnapshot ingredient, BrewingStand targetTile)
BrewingEvent.Finish
.game
- The gamecause
- The causebrewedItemStacks
- The brewed item stacksingredient
- The ingredienttargetTile
- The target tilepublic static BrewingEvent.Interrupt createBrewingEventInterrupt(Game game, Cause cause, List<ItemStackSnapshot> brewedItemStacks, ItemStackSnapshot ingredient, BrewingStand targetTile)
BrewingEvent.Interrupt
.game
- The gamecause
- The causebrewedItemStacks
- The brewed item stacksingredient
- The ingredienttargetTile
- The target tilepublic static BrewingEvent.Start createBrewingEventStart(Game game, Cause cause, ItemStackSnapshot ingredient, Inventory targetInventory, BrewingStand targetTile, List<ItemStackTransaction> transactions)
BrewingEvent.Start
.game
- The gamecause
- The causeingredient
- The ingredienttargetInventory
- The target inventorytargetTile
- The target tiletransactions
- The transactionspublic static BrewingEvent.Tick createBrewingEventTick(Game game, Cause cause, ItemStackSnapshot ingredient, Inventory targetInventory, BrewingStand targetTile, List<ItemStackTransaction> transactions)
BrewingEvent.Tick
.game
- The gamecause
- The causeingredient
- The ingredienttargetInventory
- The target inventorytargetTile
- The target tiletransactions
- The transactionspublic static ChangeSignEvent createChangeSignEvent(Game game, Cause cause, ImmutableSignData originalText, SignData text, Sign targetTile)
ChangeSignEvent
.game
- The gamecause
- The causeoriginalText
- The original texttext
- The texttargetTile
- The target tilepublic static SmeltEvent createSmeltEvent(Game game, Cause cause, ItemStackSnapshot fuel, Furnace targetTile)
SmeltEvent
.game
- The gamecause
- The causefuel
- The fueltargetTile
- The target tilepublic static SmeltEvent.ConsumeFuel createSmeltEventConsumeFuel(Game game, Cause cause, ItemStackSnapshot fuel, Inventory targetInventory, Furnace targetTile, List<ItemStackTransaction> transactions)
SmeltEvent.ConsumeFuel
.game
- The gamecause
- The causefuel
- The fueltargetInventory
- The target inventorytargetTile
- The target tiletransactions
- The transactionspublic static SmeltEvent.Finish createSmeltEventFinish(Game game, Cause cause, ItemStackSnapshot fuel, List<ItemStackSnapshot> smeltedItems, Furnace targetTile)
SmeltEvent.Finish
.game
- The gamecause
- The causefuel
- The fuelsmeltedItems
- The smelted itemstargetTile
- The target tilepublic static SmeltEvent.Interrupt createSmeltEventInterrupt(Game game, Cause cause, ItemStackSnapshot fuel, List<ItemStackSnapshot> smeltedItems, Furnace targetTile)
SmeltEvent.Interrupt
.game
- The gamecause
- The causefuel
- The fuelsmeltedItems
- The smelted itemstargetTile
- The target tilepublic static SmeltEvent.Start createSmeltEventStart(Game game, Cause cause, ItemStackSnapshot fuel, Inventory targetInventory, Furnace targetTile, List<ItemStackTransaction> transactions)
SmeltEvent.Start
.game
- The gamecause
- The causefuel
- The fueltargetInventory
- The target inventorytargetTile
- The target tiletransactions
- The transactionspublic static SmeltEvent.Tick createSmeltEventTick(Game game, Cause cause, ItemStackSnapshot fuel, Inventory targetInventory, Furnace targetTile, List<ItemStackTransaction> transactions)
SmeltEvent.Tick
.game
- The gamecause
- The causefuel
- The fueltargetInventory
- The target inventorytargetTile
- The target tiletransactions
- The transactionspublic static TargetTileEntityEvent createTargetTileEntityEvent(Game game, TileEntity targetTile)
TargetTileEntityEvent
.game
- The gametargetTile
- The target tilepublic static MessageSinkEvent createMessageSinkEvent(Game game, Cause cause, Text originalMessage, Text message, MessageSink originalSink, MessageSink sink)
MessageSinkEvent
.game
- The gamecause
- The causeoriginalMessage
- The original messagemessage
- The messageoriginalSink
- The original sinksink
- The sinkpublic static SendCommandEvent createSendCommandEvent(Game game, Cause cause, String arguments, String command, CommandResult result)
SendCommandEvent
.game
- The gamecause
- The causearguments
- The argumentscommand
- The commandresult
- The resultpublic static TabCompleteCommandEvent createTabCompleteCommandEvent(Game game, Cause cause, String arguments, String command, List<String> tabCompletions)
TabCompleteCommandEvent
.game
- The gamecause
- The causearguments
- The argumentscommand
- The commandtabCompletions
- The tab completionspublic static ChangeDataHolderEvent createChangeDataHolderEvent(Game game, DataHolder targetHolder)
ChangeDataHolderEvent
.game
- The gametargetHolder
- The target holderpublic static ChangeDataHolderEvent.ValueChange createChangeDataHolderEventValueChange(Game game, DataTransactionResult endResult, DataTransactionResult originalChanges, DataHolder targetHolder)
ChangeDataHolderEvent.ValueChange
.game
- The gameendResult
- The end resultoriginalChanges
- The original changestargetHolder
- The target holderpublic static AffectEntityEvent createAffectEntityEvent(Game game, Cause cause, List<? extends Entity> entities, List<EntitySnapshot> entitySnapshots, World targetWorld)
AffectEntityEvent
.game
- The gamecause
- The causeentities
- The entitiesentitySnapshots
- The entity snapshotstargetWorld
- The target worldpublic static BreedEntityEvent createBreedEntityEvent(Game game, Cause cause, Optional<com.flowpowered.math.vector.Vector3d> interactionPoint, Entity targetEntity)
BreedEntityEvent
.game
- The gamecause
- The causeinteractionPoint
- The interaction pointtargetEntity
- The target entitypublic static BreedEntityEvent.Breed createBreedEntityEventBreed(Game game, Cause cause, Optional<com.flowpowered.math.vector.Vector3d> interactionPoint, Ageable offspringEntity, Entity targetEntity)
BreedEntityEvent.Breed
.game
- The gamecause
- The causeinteractionPoint
- The interaction pointoffspringEntity
- The offspring entitytargetEntity
- The target entitypublic static BreedEntityEvent.FindMate createBreedEntityEventFindMate(Game game, Cause cause, TristateResult.Result originalResult, TristateResult.Result result, Optional<com.flowpowered.math.vector.Vector3d> interactionPoint, Entity targetEntity, boolean hasAllowResult)
BreedEntityEvent.FindMate
.game
- The gamecause
- The causeoriginalResult
- The original resultresult
- The resultinteractionPoint
- The interaction pointtargetEntity
- The target entityhasAllowResult
- The has allow resultpublic static ChangeEntityEquipmentEvent createChangeEntityEquipmentEvent(Game game, Optional<ItemStackSnapshot> originalItemStack, Optional<ItemStackTransaction> itemStack, Entity targetEntity, Slot targetInventory)
ChangeEntityEquipmentEvent
.game
- The gameoriginalItemStack
- The original item stackitemStack
- The item stacktargetEntity
- The target entitytargetInventory
- The target inventorypublic static ChangeEntityEquipmentEvent.TargetHuman createChangeEntityEquipmentEventTargetHuman(Game game, Optional<ItemStackSnapshot> originalItemStack, Optional<ItemStackTransaction> itemStack, Human targetEntity, Slot targetInventory)
ChangeEntityEquipmentEvent.TargetHuman
.game
- The gameoriginalItemStack
- The original item stackitemStack
- The item stacktargetEntity
- The target entitytargetInventory
- The target inventorypublic static ChangeEntityEquipmentEvent.TargetLiving createChangeEntityEquipmentEventTargetLiving(Game game, Optional<ItemStackSnapshot> originalItemStack, Optional<ItemStackTransaction> itemStack, Living targetEntity, Slot targetInventory)
ChangeEntityEquipmentEvent.TargetLiving
.game
- The gameoriginalItemStack
- The original item stackitemStack
- The item stacktargetEntity
- The target entitytargetInventory
- The target inventorypublic static ChangeEntityEquipmentEvent.TargetPlayer createChangeEntityEquipmentEventTargetPlayer(Game game, Optional<ItemStackSnapshot> originalItemStack, Optional<ItemStackTransaction> itemStack, Player targetEntity, Slot targetInventory)
ChangeEntityEquipmentEvent.TargetPlayer
.game
- The gameoriginalItemStack
- The original item stackitemStack
- The item stacktargetEntity
- The target entitytargetInventory
- The target inventorypublic static ChangeEntityExperienceEvent createChangeEntityExperienceEvent(Game game, Cause cause, int originalExperience, int experience, Entity targetEntity)
ChangeEntityExperienceEvent
.game
- The gamecause
- The causeoriginalExperience
- The original experienceexperience
- The experiencetargetEntity
- The target entitypublic static ChangeEntityPotionEffectEvent createChangeEntityPotionEffectEvent(Game game, Cause cause, List<PotionEffect> currentEffects, PotionEffect potionEffect, Entity targetEntity)
ChangeEntityPotionEffectEvent
.game
- The gamecause
- The causecurrentEffects
- The current effectspotionEffect
- The potion effecttargetEntity
- The target entitypublic static ChangeEntityPotionEffectEvent.Expire createChangeEntityPotionEffectEventExpire(Game game, Cause cause, List<PotionEffect> currentEffects, PotionEffect potionEffect, Entity targetEntity)
ChangeEntityPotionEffectEvent.Expire
.game
- The gamecause
- The causecurrentEffects
- The current effectspotionEffect
- The potion effecttargetEntity
- The target entitypublic static ChangeEntityPotionEffectEvent.Gain createChangeEntityPotionEffectEventGain(Game game, Cause cause, List<PotionEffect> currentEffects, PotionEffect potionEffect, Entity targetEntity)
ChangeEntityPotionEffectEvent.Gain
.game
- The gamecause
- The causecurrentEffects
- The current effectspotionEffect
- The potion effecttargetEntity
- The target entitypublic static ChangeEntityPotionEffectEvent.Remove createChangeEntityPotionEffectEventRemove(Game game, Cause cause, List<PotionEffect> currentEffects, PotionEffect potionEffect, Entity targetEntity)
ChangeEntityPotionEffectEvent.Remove
.game
- The gamecause
- The causecurrentEffects
- The current effectspotionEffect
- The potion effecttargetEntity
- The target entitypublic static CollideEntityEvent createCollideEntityEvent(Game game, Cause cause, Entity targetEntity)
CollideEntityEvent
.game
- The gamecause
- The causetargetEntity
- The target entitypublic static ConstructEntityEvent createConstructEntityEvent(Game game, Cause cause, EntityType targetType, Transform<World> transform)
ConstructEntityEvent
.game
- The gamecause
- The causetargetType
- The target typetransform
- The transformpublic static ConstructEntityEvent.Post createConstructEntityEventPost(Game game, Cause cause, Entity targetEntity, EntityType targetType, Transform<World> transform)
ConstructEntityEvent.Post
.game
- The gamecause
- The causetargetEntity
- The target entitytargetType
- The target typetransform
- The transformpublic static ConstructEntityEvent.Pre createConstructEntityEventPre(Game game, Cause cause, EntityType targetType, Transform<World> transform)
ConstructEntityEvent.Pre
.game
- The gamecause
- The causetargetType
- The target typetransform
- The transformpublic static DamageEntityEvent createDamageEntityEvent(Game game, Cause cause, double originalFinalDamage, double finalDamage, List<Tuple<DamageModifier,Function<? super Double,Double>>> modifiers, Map<DamageModifier,Double> originalDamages, List<Tuple<DamageModifier,Function<? super Double,Double>>> originalFunctions, Entity targetEntity, double baseDamage, double originalDamage)
DamageEntityEvent
.game
- The gamecause
- The causeoriginalFinalDamage
- The original final damagefinalDamage
- The final damagemodifiers
- The modifiersoriginalDamages
- The original damagesoriginalFunctions
- The original functionstargetEntity
- The target entitybaseDamage
- The base damageoriginalDamage
- The original damagepublic static DestructEntityEvent createDestructEntityEvent(Game game, Cause cause, Text originalMessage, Text message, MessageSink originalSink, MessageSink sink, Entity targetEntity)
DestructEntityEvent
.game
- The gamecause
- The causeoriginalMessage
- The original messagemessage
- The messageoriginalSink
- The original sinksink
- The sinktargetEntity
- The target entitypublic static DismountEntityEvent createDismountEntityEvent(Game game, Cause cause, Entity targetEntity)
DismountEntityEvent
.game
- The gamecause
- The causetargetEntity
- The target entitypublic static DisplaceEntityEvent createDisplaceEntityEvent(Game game, Transform<World> fromTransform, Transform<World> toTransform, Entity targetEntity)
DisplaceEntityEvent
.game
- The gamefromTransform
- The from transformtoTransform
- The to transformtargetEntity
- The target entitypublic static DisplaceEntityEvent.Move createDisplaceEntityEventMove(Game game, Transform<World> fromTransform, Transform<World> toTransform, Entity targetEntity)
DisplaceEntityEvent.Move
.game
- The gamefromTransform
- The from transformtoTransform
- The to transformtargetEntity
- The target entitypublic static DisplaceEntityEvent.Move.TargetHuman createDisplaceEntityEventMoveTargetHuman(Game game, Transform<World> fromTransform, Transform<World> toTransform, Human targetEntity)
DisplaceEntityEvent.Move.TargetHuman
.game
- The gamefromTransform
- The from transformtoTransform
- The to transformtargetEntity
- The target entitypublic static DisplaceEntityEvent.Move.TargetLiving createDisplaceEntityEventMoveTargetLiving(Game game, Transform<World> fromTransform, Transform<World> toTransform, Living targetEntity)
DisplaceEntityEvent.Move.TargetLiving
.game
- The gamefromTransform
- The from transformtoTransform
- The to transformtargetEntity
- The target entitypublic static DisplaceEntityEvent.Move.TargetPlayer createDisplaceEntityEventMoveTargetPlayer(Game game, Transform<World> fromTransform, Transform<World> toTransform, Player targetEntity)
DisplaceEntityEvent.Move.TargetPlayer
.game
- The gamefromTransform
- The from transformtoTransform
- The to transformtargetEntity
- The target entitypublic static DisplaceEntityEvent.TargetHuman createDisplaceEntityEventTargetHuman(Game game, Transform<World> fromTransform, Transform<World> toTransform, Human targetEntity)
DisplaceEntityEvent.TargetHuman
.game
- The gamefromTransform
- The from transformtoTransform
- The to transformtargetEntity
- The target entitypublic static DisplaceEntityEvent.TargetLiving createDisplaceEntityEventTargetLiving(Game game, Transform<World> fromTransform, Transform<World> toTransform, Living targetEntity)
DisplaceEntityEvent.TargetLiving
.game
- The gamefromTransform
- The from transformtoTransform
- The to transformtargetEntity
- The target entitypublic static DisplaceEntityEvent.TargetPlayer createDisplaceEntityEventTargetPlayer(Game game, Transform<World> fromTransform, Transform<World> toTransform, Player targetEntity)
DisplaceEntityEvent.TargetPlayer
.game
- The gamefromTransform
- The from transformtoTransform
- The to transformtargetEntity
- The target entitypublic static DisplaceEntityEvent.Teleport createDisplaceEntityEventTeleport(Game game, Cause cause, Transform<World> fromTransform, Transform<World> toTransform, Entity targetEntity, TeleporterAgent teleporterAgent, boolean keepsVelocity)
DisplaceEntityEvent.Teleport
.game
- The gamecause
- The causefromTransform
- The from transformtoTransform
- The to transformtargetEntity
- The target entityteleporterAgent
- The teleporter agentkeepsVelocity
- The keeps velocitypublic static DisplaceEntityEvent.Teleport.TargetHuman createDisplaceEntityEventTeleportTargetHuman(Game game, Cause cause, Transform<World> fromTransform, Transform<World> toTransform, Human targetEntity, TeleporterAgent teleporterAgent, boolean keepsVelocity)
DisplaceEntityEvent.Teleport.TargetHuman
.game
- The gamecause
- The causefromTransform
- The from transformtoTransform
- The to transformtargetEntity
- The target entityteleporterAgent
- The teleporter agentkeepsVelocity
- The keeps velocitypublic static DisplaceEntityEvent.Teleport.TargetLiving createDisplaceEntityEventTeleportTargetLiving(Game game, Cause cause, Transform<World> fromTransform, Transform<World> toTransform, Living targetEntity, TeleporterAgent teleporterAgent, boolean keepsVelocity)
DisplaceEntityEvent.Teleport.TargetLiving
.game
- The gamecause
- The causefromTransform
- The from transformtoTransform
- The to transformtargetEntity
- The target entityteleporterAgent
- The teleporter agentkeepsVelocity
- The keeps velocitypublic static DisplaceEntityEvent.Teleport.TargetPlayer createDisplaceEntityEventTeleportTargetPlayer(Game game, Cause cause, Transform<World> fromTransform, Transform<World> toTransform, Player targetEntity, TeleporterAgent teleporterAgent, boolean keepsVelocity)
DisplaceEntityEvent.Teleport.TargetPlayer
.game
- The gamecause
- The causefromTransform
- The from transformtoTransform
- The to transformtargetEntity
- The target entityteleporterAgent
- The teleporter agentkeepsVelocity
- The keeps velocitypublic static ExpireEntityEvent createExpireEntityEvent(Game game, Cause cause, Entity targetEntity)
ExpireEntityEvent
.game
- The gamecause
- The causetargetEntity
- The target entitypublic static ExpireEntityEvent.TargetItem createExpireEntityEventTargetItem(Game game, Cause cause, Item targetEntity)
ExpireEntityEvent.TargetItem
.game
- The gamecause
- The causetargetEntity
- The target entitypublic static HarvestEntityEvent createHarvestEntityEvent(Game game, Cause cause, int originalExperience, int experience, Entity targetEntity)
HarvestEntityEvent
.game
- The gamecause
- The causeoriginalExperience
- The original experienceexperience
- The experiencetargetEntity
- The target entitypublic static HarvestEntityEvent.TargetHuman createHarvestEntityEventTargetHuman(Game game, Cause cause, int originalExperience, int experience, Human targetEntity)
HarvestEntityEvent.TargetHuman
.game
- The gamecause
- The causeoriginalExperience
- The original experienceexperience
- The experiencetargetEntity
- The target entitypublic static HarvestEntityEvent.TargetLiving createHarvestEntityEventTargetLiving(Game game, Cause cause, int originalExperience, int experience, Living targetEntity)
HarvestEntityEvent.TargetLiving
.game
- The gamecause
- The causeoriginalExperience
- The original experienceexperience
- The experiencetargetEntity
- The target entitypublic static HarvestEntityEvent.TargetPlayer createHarvestEntityEventTargetPlayer(Game game, Cause cause, int originalExperience, int experience, Player targetEntity, boolean keepsInventory, boolean keepsLevel, int level)
HarvestEntityEvent.TargetPlayer
.game
- The gamecause
- The causeoriginalExperience
- The original experienceexperience
- The experiencetargetEntity
- The target entitykeepsInventory
- The keeps inventorykeepsLevel
- The keeps levellevel
- The levelpublic static HealEntityEvent createHealEntityEvent(Game game, Cause cause, List<Tuple<HealthModifier,Function<? super Double,Double>>> modifiers, List<Tuple<HealthModifier,Function<? super Double,Double>>> originalFunctions, Map<HealthModifier,Double> originalHealingAmounts, Entity targetEntity, double baseHealAmount, double finalHealAmount, double originalHealAmount)
HealEntityEvent
.game
- The gamecause
- The causemodifiers
- The modifiersoriginalFunctions
- The original functionsoriginalHealingAmounts
- The original healing amountstargetEntity
- The target entitybaseHealAmount
- The base heal amountfinalHealAmount
- The final heal amountoriginalHealAmount
- The original heal amountpublic static IgniteEntityEvent createIgniteEntityEvent(Game game, Cause cause, int originalFireTicks, int fireTicks, Entity targetEntity)
IgniteEntityEvent
.game
- The gamecause
- The causeoriginalFireTicks
- The original fire ticksfireTicks
- The fire tickstargetEntity
- The target entitypublic static InteractEntityEvent createInteractEntityEvent(Game game, Cause cause, Optional<com.flowpowered.math.vector.Vector3d> interactionPoint, Entity targetEntity)
InteractEntityEvent
.game
- The gamecause
- The causeinteractionPoint
- The interaction pointtargetEntity
- The target entitypublic static InteractEntityEvent.Attack createInteractEntityEventAttack(Game game, Cause cause, Optional<com.flowpowered.math.vector.Vector3d> interactionPoint, List<Tuple<DamageModifier,Function<? super Double,Double>>> originalFunctions, Entity targetEntity, double originalDamage)
InteractEntityEvent.Attack
.game
- The gamecause
- The causeinteractionPoint
- The interaction pointoriginalFunctions
- The original functionstargetEntity
- The target entityoriginalDamage
- The original damagepublic static InteractEntityEvent.Use createInteractEntityEventUse(Game game, Cause cause, Optional<com.flowpowered.math.vector.Vector3d> interactionPoint, Entity targetEntity)
InteractEntityEvent.Use
.game
- The gamecause
- The causeinteractionPoint
- The interaction pointtargetEntity
- The target entitypublic static LeashEntityEvent createLeashEntityEvent(Game game, Cause cause, Entity targetEntity)
LeashEntityEvent
.game
- The gamecause
- The causetargetEntity
- The target entitypublic static MountEntityEvent createMountEntityEvent(Game game, Cause cause, Entity targetEntity)
MountEntityEvent
.game
- The gamecause
- The causetargetEntity
- The target entitypublic static SpawnEntityEvent createSpawnEntityEvent(Game game, Cause cause, Entity targetEntity)
SpawnEntityEvent
.game
- The gamecause
- The causetargetEntity
- The target entitypublic static TameEntityEvent createTameEntityEvent(Game game, Cause cause, Entity targetEntity)
TameEntityEvent
.game
- The gamecause
- The causetargetEntity
- The target entitypublic static TargetEntityEvent createTargetEntityEvent(Game game, Entity targetEntity)
TargetEntityEvent
.game
- The gametargetEntity
- The target entitypublic static UnleashEntityEvent createUnleashEntityEvent(Game game, Cause cause, Entity targetEntity)
UnleashEntityEvent
.game
- The gamecause
- The causetargetEntity
- The target entitypublic static AffectItemEvent createAffectItemEvent(Game game, Cause cause, List<Item> entities, List<EntitySnapshot> entitySnapshots, World targetWorld)
AffectItemEvent
.game
- The gamecause
- The causeentities
- The entitiesentitySnapshots
- The entity snapshotstargetWorld
- The target worldpublic static ItemMergeItemEvent createItemMergeItemEvent(Game game, Cause cause, Item itemToMerge, Item targetEntity)
ItemMergeItemEvent
.game
- The gamecause
- The causeitemToMerge
- The item to mergetargetEntity
- The target entitypublic static TargetItemEvent createTargetItemEvent(Game game, Item targetEntity)
TargetItemEvent
.game
- The gametargetEntity
- The target entitypublic static TargetLivingEvent createTargetLivingEvent(Game game, Living targetEntity)
TargetLivingEvent
.game
- The gametargetEntity
- The target entitypublic static ChangeGameModeEvent createChangeGameModeEvent(Game game, Cause cause, GameMode originalGameMode, GameMode gameMode)
ChangeGameModeEvent
.game
- The gamecause
- The causeoriginalGameMode
- The original game modegameMode
- The game modepublic static ChangeGameModeEvent.TargetHuman createChangeGameModeEventTargetHuman(Game game, Cause cause, GameMode originalGameMode, GameMode gameMode, Human targetEntity)
ChangeGameModeEvent.TargetHuman
.game
- The gamecause
- The causeoriginalGameMode
- The original game modegameMode
- The game modetargetEntity
- The target entitypublic static ChangeGameModeEvent.TargetPlayer createChangeGameModeEventTargetPlayer(Game game, Cause cause, GameMode originalGameMode, GameMode gameMode, Player targetEntity)
ChangeGameModeEvent.TargetPlayer
.game
- The gamecause
- The causeoriginalGameMode
- The original game modegameMode
- The game modetargetEntity
- The target entitypublic static ChangeLevelEvent createChangeLevelEvent(Game game, Cause cause, int originalLevel, int level)
ChangeLevelEvent
.game
- The gamecause
- The causeoriginalLevel
- The original levellevel
- The levelpublic static ChangeLevelEvent.TargetHuman createChangeLevelEventTargetHuman(Game game, Cause cause, int originalLevel, int level, Human targetEntity)
ChangeLevelEvent.TargetHuman
.game
- The gamecause
- The causeoriginalLevel
- The original levellevel
- The leveltargetEntity
- The target entitypublic static ChangeLevelEvent.TargetPlayer createChangeLevelEventTargetPlayer(Game game, Cause cause, int originalLevel, int level, Player targetEntity)
ChangeLevelEvent.TargetPlayer
.game
- The gamecause
- The causeoriginalLevel
- The original levellevel
- The leveltargetEntity
- The target entitypublic static TargetHumanEvent createTargetHumanEvent(Game game, Human targetEntity)
TargetHumanEvent
.game
- The gametargetEntity
- The target entitypublic static KickPlayerEvent createKickPlayerEvent(Game game, Cause cause, Text originalMessage, Text message, MessageSink originalSink, MessageSink sink, Player targetEntity)
KickPlayerEvent
.game
- The gamecause
- The causeoriginalMessage
- The original messagemessage
- The messageoriginalSink
- The original sinksink
- The sinktargetEntity
- The target entitypublic static ResourcePackStatusEvent createResourcePackStatusEvent(Game game, ResourcePack pack, Player player, ResourcePackStatusEvent.ResourcePackStatus status)
ResourcePackStatusEvent
.game
- The gamepack
- The packplayer
- The playerstatus
- The statuspublic static RespawnPlayerEvent createRespawnPlayerEvent(Game game, Cause cause, Transform<World> fromTransform, Transform<World> toTransform, Player targetEntity, boolean bedSpawn)
RespawnPlayerEvent
.game
- The gamecause
- The causefromTransform
- The from transformtoTransform
- The to transformtargetEntity
- The target entitybedSpawn
- The bed spawnpublic static TargetPlayerEvent createTargetPlayerEvent(Game game, Player targetEntity)
TargetPlayerEvent
.game
- The gametargetEntity
- The target entitypublic static LaunchProjectileEvent createLaunchProjectileEvent(Game game, Cause cause, Projectile targetEntity)
LaunchProjectileEvent
.game
- The gamecause
- The causetargetEntity
- The target entitypublic static TargetProjectileEvent createTargetProjectileEvent(Game game, Projectile targetEntity)
TargetProjectileEvent
.game
- The gametargetEntity
- The target entitypublic static GameAboutToStartServerEvent createGameAboutToStartServerEvent(Game game)
GameAboutToStartServerEvent
.game
- The gamepublic static GameConstructionEvent createGameConstructionEvent(Game game)
GameConstructionEvent
.game
- The gamepublic static GameInitializationEvent createGameInitializationEvent(Game game)
GameInitializationEvent
.game
- The gamepublic static GameLoadCompleteEvent createGameLoadCompleteEvent(Game game)
GameLoadCompleteEvent
.game
- The gamepublic static GamePostInitializationEvent createGamePostInitializationEvent(Game game)
GamePostInitializationEvent
.game
- The gamepublic static GamePreInitializationEvent createGamePreInitializationEvent(Game game)
GamePreInitializationEvent
.game
- The gamepublic static GameStartedServerEvent createGameStartedServerEvent(Game game)
GameStartedServerEvent
.game
- The gamepublic static GameStartingServerEvent createGameStartingServerEvent(Game game)
GameStartingServerEvent
.game
- The gamepublic static GameStateEvent createGameStateEvent(Game game)
GameStateEvent
.game
- The gamepublic static GameStoppedServerEvent createGameStoppedServerEvent(Game game)
GameStoppedServerEvent
.game
- The gamepublic static GameStoppingServerEvent createGameStoppingServerEvent(Game game)
GameStoppingServerEvent
.game
- The gamepublic static AffectItemStackEvent createAffectItemStackEvent(Game game, Cause cause, Inventory targetInventory, List<ItemStackTransaction> transactions)
AffectItemStackEvent
.game
- The gamecause
- The causetargetInventory
- The target inventorytransactions
- The transactionspublic static CraftItemEvent createCraftItemEvent(Game game, Cause cause, Recipe recipe, CraftingInventory targetInventory, List<ItemStackTransaction> transactions)
CraftItemEvent
.game
- The gamecause
- The causerecipe
- The recipetargetInventory
- The target inventorytransactions
- The transactionspublic static DropItemStackEvent createDropItemStackEvent(Game game, Cause cause)
DropItemStackEvent
.game
- The gamecause
- The causepublic static DropItemStackEvent.Drop createDropItemStackEventDrop(Game game, Cause cause, List<Item> entities, List<EntitySnapshot> entitySnapshots, World targetWorld)
DropItemStackEvent.Drop
.game
- The gamecause
- The causeentities
- The entitiesentitySnapshots
- The entity snapshotstargetWorld
- The target worldpublic static DropItemStackEvent.Post createDropItemStackEventPost(Game game, Cause cause)
DropItemStackEvent.Post
.game
- The gamecause
- The causepublic static DropItemStackEvent.Pre createDropItemStackEventPre(Game game, Cause cause, List<ItemStackSnapshot> defaultDroppedItems, List<ItemStackTransaction> droppedItems)
DropItemStackEvent.Pre
.game
- The gamecause
- The causedefaultDroppedItems
- The default dropped itemsdroppedItems
- The dropped itemspublic static InteractInventoryEvent createInteractInventoryEvent(Game game, Cause cause, Inventory targetInventory)
InteractInventoryEvent
.game
- The gamecause
- The causetargetInventory
- The target inventorypublic static InteractInventoryEvent.Click createInteractInventoryEventClick(Game game, Cause cause, Inventory targetInventory)
InteractInventoryEvent.Click
.game
- The gamecause
- The causetargetInventory
- The target inventorypublic static InteractInventoryEvent.Close createInteractInventoryEventClose(Game game, Cause cause, Inventory targetInventory)
InteractInventoryEvent.Close
.game
- The gamecause
- The causetargetInventory
- The target inventorypublic static InteractInventoryEvent.Drag createInteractInventoryEventDrag(Game game, Cause cause, Inventory targetInventory)
InteractInventoryEvent.Drag
.game
- The gamecause
- The causetargetInventory
- The target inventorypublic static InteractInventoryEvent.Move createInteractInventoryEventMove(Game game, Cause cause, Inventory targetInventory)
InteractInventoryEvent.Move
.game
- The gamecause
- The causetargetInventory
- The target inventorypublic static PickUpItemEvent createPickUpItemEvent(Game game, Cause cause, List<Item> entities, List<EntitySnapshot> entitySnapshots, Inventory targetInventory, World targetWorld)
PickUpItemEvent
.game
- The gamecause
- The causeentities
- The entitiesentitySnapshots
- The entity snapshotstargetInventory
- The target inventorytargetWorld
- The target worldpublic static TargetContainerEvent createTargetContainerEvent(Game game, Container targetContainer)
TargetContainerEvent
.game
- The gametargetContainer
- The target containerpublic static TargetInventoryEvent createTargetInventoryEvent(Game game, Inventory targetInventory)
TargetInventoryEvent
.game
- The gametargetInventory
- The target inventorypublic static UseItemStackEvent createUseItemStackEvent(Game game, Cause cause, ItemStackTransaction itemStackInUse)
UseItemStackEvent
.game
- The gamecause
- The causeitemStackInUse
- The item stack in usepublic static UseItemStackEvent.Finish createUseItemStackEventFinish(Game game, Cause cause, ItemStackTransaction itemStackInUse)
UseItemStackEvent.Finish
.game
- The gamecause
- The causeitemStackInUse
- The item stack in usepublic static UseItemStackEvent.Start createUseItemStackEventStart(Game game, Cause cause, ItemStackTransaction itemStackInUse)
UseItemStackEvent.Start
.game
- The gamecause
- The causeitemStackInUse
- The item stack in usepublic static UseItemStackEvent.Stop createUseItemStackEventStop(Game game, Cause cause, ItemStackTransaction itemStackInUse)
UseItemStackEvent.Stop
.game
- The gamecause
- The causeitemStackInUse
- The item stack in usepublic static UseItemStackEvent.Tick createUseItemStackEventTick(Game game, Cause cause, ItemStackTransaction itemStackInUse)
UseItemStackEvent.Tick
.game
- The gamecause
- The causeitemStackInUse
- The item stack in usepublic static BanIpEvent createBanIpEvent(Ban.Ip ban)
BanIpEvent
.ban
- The banpublic static ClientConnectionEvent createClientConnectionEvent(Game game)
ClientConnectionEvent
.game
- The gamepublic static ClientConnectionEvent.Auth createClientConnectionEventAuth(Game game, Cause cause, Text originalMessage, Text message, MessageSink originalSink, MessageSink sink, RemoteConnection connection, GameProfile profile)
ClientConnectionEvent.Auth
.game
- The gamecause
- The causeoriginalMessage
- The original messagemessage
- The messageoriginalSink
- The original sinksink
- The sinkconnection
- The connectionprofile
- The profilepublic static ClientConnectionEvent.Disconnect createClientConnectionEventDisconnect(Game game, Cause cause, Text originalMessage, Text message, MessageSink originalSink, MessageSink sink, Player targetEntity)
ClientConnectionEvent.Disconnect
.game
- The gamecause
- The causeoriginalMessage
- The original messagemessage
- The messageoriginalSink
- The original sinksink
- The sinktargetEntity
- The target entitypublic static ClientConnectionEvent.Join createClientConnectionEventJoin(Game game, Cause cause, Text originalMessage, Text message, MessageSink originalSink, MessageSink sink, Transform<World> fromTransform, Transform<World> toTransform, Player targetEntity)
ClientConnectionEvent.Join
.game
- The gamecause
- The causeoriginalMessage
- The original messagemessage
- The messageoriginalSink
- The original sinksink
- The sinkfromTransform
- The from transformtoTransform
- The to transformtargetEntity
- The target entitypublic static ClientConnectionEvent.Login createClientConnectionEventLogin(Game game, Cause cause, Text originalMessage, Text message, MessageSink originalSink, MessageSink sink, RemoteConnection connection, GameProfile profile)
ClientConnectionEvent.Login
.game
- The gamecause
- The causeoriginalMessage
- The original messagemessage
- The messageoriginalSink
- The original sinksink
- The sinkconnection
- The connectionprofile
- The profilepublic static PardonIpEvent createPardonIpEvent(Ban.Ip ban)
PardonIpEvent
.ban
- The banpublic static RconConnectionEvent createRconConnectionEvent(RconSource source)
RconConnectionEvent
.source
- The sourcepublic static RconConnectionEvent.Connect createRconConnectionEventConnect(RconSource source)
RconConnectionEvent.Connect
.source
- The sourcepublic static RconConnectionEvent.Disconnect createRconConnectionEventDisconnect(RconSource source)
RconConnectionEvent.Disconnect
.source
- The sourcepublic static RconConnectionEvent.Login createRconConnectionEventLogin(RconSource source)
RconConnectionEvent.Login
.source
- The sourcepublic static ClientPingServerEvent createClientPingServerEvent(StatusClient client, ClientPingServerEvent.Response response)
ClientPingServerEvent
.client
- The clientresponse
- The responsepublic static ClientPingServerEvent.Response createClientPingServerEventResponse(Text description, Optional<Favicon> favicon, Optional<ClientPingServerEvent.Response.Players> players, MinecraftVersion version)
ClientPingServerEvent.Response
.description
- The descriptionfavicon
- The faviconplayers
- The playersversion
- The versionpublic static ClientPingServerEvent.Response.Players createClientPingServerEventResponsePlayers(List<GameProfile> profiles, int max, int online)
ClientPingServerEvent.Response.Players
.profiles
- The profilesmax
- The maxonline
- The onlinepublic static RegisterChannelEvent createRegisterChannelEvent(Game game, Cause cause, String targetChannel)
RegisterChannelEvent
.game
- The gamecause
- The causetargetChannel
- The target channelpublic static TargetChannelEvent createTargetChannelEvent(Game game, String targetChannel)
TargetChannelEvent
.game
- The gametargetChannel
- The target channelpublic static UnRegisterChannelEvent createUnRegisterChannelEvent(Game game, Cause cause, String targetChannel)
UnRegisterChannelEvent
.game
- The gamecause
- The causetargetChannel
- The target channelpublic static QueryServerEvent createQueryServerEvent()
QueryServerEvent
.public static QueryServerEvent.Basic createQueryServerEventBasic(InetSocketAddress address, String gameType, String map, String motd, int maxPlayerCount, int maxSize, int playerCount, int size)
QueryServerEvent.Basic
.address
- The addressgameType
- The game typemap
- The mapmotd
- The motdmaxPlayerCount
- The max player countmaxSize
- The max sizeplayerCount
- The player countsize
- The sizepublic static QueryServerEvent.Full createQueryServerEventFull(InetSocketAddress address, Map<String,String> customValuesMap, String gameId, String gameType, String map, String motd, List<String> players, String plugins, String version, int maxPlayerCount, int maxSize, int playerCount, int size)
QueryServerEvent.Full
.address
- The addresscustomValuesMap
- The custom values mapgameId
- The game idgameType
- The game typemap
- The mapmotd
- The motdplayers
- The playersplugins
- The pluginsversion
- The versionmaxPlayerCount
- The max player countmaxSize
- The max sizeplayerCount
- The player countsize
- The sizepublic static ChangeStatisticEvent createChangeStatisticEvent(Game game, Cause cause, long originalValue, long value, Statistic statistic)
ChangeStatisticEvent
.game
- The gamecause
- The causeoriginalValue
- The original valuevalue
- The valuestatistic
- The statisticpublic static ChangeStatisticEvent.TargetPlayer createChangeStatisticEventTargetPlayer(Game game, Cause cause, long originalValue, long value, Statistic statistic, Player targetEntity)
ChangeStatisticEvent.TargetPlayer
.game
- The gamecause
- The causeoriginalValue
- The original valuevalue
- The valuestatistic
- The statistictargetEntity
- The target entitypublic static BanUserEvent createBanUserEvent(Cause cause, Ban.User ban, User targetUser)
BanUserEvent
.cause
- The causeban
- The bantargetUser
- The target userpublic static BanUserEvent.TargetPlayer createBanUserEventTargetPlayer(Game game, Cause cause, Ban.User ban, Player targetEntity, User targetUser)
BanUserEvent.TargetPlayer
.game
- The gamecause
- The causeban
- The bantargetEntity
- The target entitytargetUser
- The target userpublic static PardonUserEvent createPardonUserEvent(Cause cause, Ban.User ban, User targetUser)
PardonUserEvent
.cause
- The causeban
- The bantargetUser
- The target userpublic static PardonUserEvent.TargetPlayer createPardonUserEventTargetPlayer(Game game, Cause cause, Ban.User ban, Player targetEntity, Player targetUser)
PardonUserEvent.TargetPlayer
.game
- The gamecause
- The causeban
- The bantargetEntity
- The target entitytargetUser
- The target userpublic static TargetUserEvent createTargetUserEvent(User targetUser)
TargetUserEvent
.targetUser
- The target userpublic static ChangeWorldGameRuleEvent createChangeWorldGameRuleEvent(Game game, Cause cause, String originalValue, String value, String name, World targetWorld)
ChangeWorldGameRuleEvent
.game
- The gamecause
- The causeoriginalValue
- The original valuevalue
- The valuename
- The nametargetWorld
- The target worldpublic static ChangeWorldWeatherEvent createChangeWorldWeatherEvent(Game game, Cause cause, int originalDuration, int duration, Weather originalWeather, Weather weather, Weather initialWeather, World targetWorld)
ChangeWorldWeatherEvent
.game
- The gamecause
- The causeoriginalDuration
- The original durationduration
- The durationoriginalWeather
- The original weatherweather
- The weatherinitialWeather
- The initial weathertargetWorld
- The target worldpublic static ConstructPortalEvent createConstructPortalEvent(Game game, Cause cause, Location<World> portalLocation)
ConstructPortalEvent
.game
- The gamecause
- The causeportalLocation
- The portal locationpublic static ConstructWorldEvent createConstructWorldEvent(Game game, Cause cause, WorldCreationSettings worldCreationSettings, WorldProperties worldProperties)
ConstructWorldEvent
.game
- The gamecause
- The causeworldCreationSettings
- The world creation settingsworldProperties
- The world propertiespublic static ExplosionEvent createExplosionEvent(Game game, Cause cause, Explosion explosion, World targetWorld)
ExplosionEvent
.game
- The gamecause
- The causeexplosion
- The explosiontargetWorld
- The target worldpublic static ExplosionEvent.Detonate createExplosionEventDetonate(Game game, Cause cause, List<? extends Entity> entities, List<EntitySnapshot> entitySnapshots, Explosion explosion, World targetWorld, List<BlockTransaction> transactions)
ExplosionEvent.Detonate
.game
- The gamecause
- The causeentities
- The entitiesentitySnapshots
- The entity snapshotsexplosion
- The explosiontargetWorld
- The target worldtransactions
- The transactionspublic static ExplosionEvent.Post createExplosionEventPost(Game game, Cause cause, Explosion explosion, World targetWorld)
ExplosionEvent.Post
.game
- The gamecause
- The causeexplosion
- The explosiontargetWorld
- The target worldpublic static ExplosionEvent.Pre createExplosionEventPre(Game game, Cause cause, Explosion explosion, World targetWorld)
ExplosionEvent.Pre
.game
- The gamecause
- The causeexplosion
- The explosiontargetWorld
- The target worldpublic static GenerateChunkEvent createGenerateChunkEvent(Game game, Cause cause, Chunk targetChunk)
GenerateChunkEvent
.game
- The gamecause
- The causetargetChunk
- The target chunkpublic static GenerateChunkEvent.Post createGenerateChunkEventPost(Game game, Cause cause, Chunk targetChunk)
GenerateChunkEvent.Post
.game
- The gamecause
- The causetargetChunk
- The target chunkpublic static GenerateChunkEvent.Pre createGenerateChunkEventPre(Game game, Cause cause, Chunk targetChunk)
GenerateChunkEvent.Pre
.game
- The gamecause
- The causetargetChunk
- The target chunkpublic static LoadWorldEvent createLoadWorldEvent(Game game, Cause cause, World targetWorld)
LoadWorldEvent
.game
- The gamecause
- The causetargetWorld
- The target worldpublic static TargetWorldEvent createTargetWorldEvent(Game game, World targetWorld)
TargetWorldEvent
.game
- The gametargetWorld
- The target worldpublic static UnloadWorldEvent createUnloadWorldEvent(Game game, Cause cause, World targetWorld)
UnloadWorldEvent
.game
- The gamecause
- The causetargetWorld
- The target worldpublic static ForcedChunkEvent createForcedChunkEvent(Game game, com.flowpowered.math.vector.Vector3i chunkCoords, Chunk targetChunk, ChunkLoadService.LoadingTicket ticket)
ForcedChunkEvent
.game
- The gamechunkCoords
- The chunk coordstargetChunk
- The target chunkticket
- The ticketpublic static LoadChunkEvent createLoadChunkEvent(Game game, Cause cause, Chunk targetChunk)
LoadChunkEvent
.game
- The gamecause
- The causetargetChunk
- The target chunkpublic static PopulateChunkEvent createPopulateChunkEvent(Game game, Cause cause, Chunk targetChunk)
PopulateChunkEvent
.game
- The gamecause
- The causetargetChunk
- The target chunkpublic static PopulateChunkEvent.Populate createPopulateChunkEventPopulate(Game game, Cause cause, Chunk targetChunk)
PopulateChunkEvent.Populate
.game
- The gamecause
- The causetargetChunk
- The target chunkpublic static PopulateChunkEvent.Post createPopulateChunkEventPost(Game game, Cause cause, Chunk targetChunk)
PopulateChunkEvent.Post
.game
- The gamecause
- The causetargetChunk
- The target chunkpublic static PopulateChunkEvent.Pre createPopulateChunkEventPre(Game game, Cause cause, List<Populator> pendingPopulators, Chunk targetChunk)
PopulateChunkEvent.Pre
.game
- The gamecause
- The causependingPopulators
- The pending populatorstargetChunk
- The target chunkpublic static TargetChunkEvent createTargetChunkEvent(Game game, Chunk targetChunk)
TargetChunkEvent
.game
- The gametargetChunk
- The target chunkpublic static UnforcedChunkEvent createUnforcedChunkEvent(Game game, Cause cause, com.flowpowered.math.vector.Vector3i chunkCoords, ChunkLoadService.LoadingTicket ticket)
UnforcedChunkEvent
.game
- The gamecause
- The causechunkCoords
- The chunk coordsticket
- The ticketpublic static UnloadChunkEvent createUnloadChunkEvent(Game game, Cause cause, Chunk targetChunk)
UnloadChunkEvent
.game
- The gamecause
- The causetargetChunk
- The target chunk