Package org.spongepowered.api.event
Class SpongeEventFactory
java.lang.Object
org.spongepowered.api.event.SpongeEventFactory
@Generated("org.spongepowered.eventimplgen.processor.EventImplGenProcessor")
public final class SpongeEventFactory
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionstatic AdvancementEvent.GrantcreateAdvancementEventGrant(Cause cause, Audience originalAudience, Optional<Audience> audience, Component originalMessage, Component message, Advancement advancement, ResourceKey advancementKey, ServerPlayer player, Instant time, boolean messageCancelled) static AdvancementEvent.RevokecreateAdvancementEventRevoke(Cause cause, Advancement advancement, ResourceKey advancementKey, ServerPlayer player) createAdvancementTreeEventGenerateLayout(Cause cause, RegistryHolder registryHolder, AdvancementTree tree) static AnimateHandEventcreateAnimateHandEvent(Cause cause, HandType handType, Humanoid humanoid) static AttackEntityEvent.PostcreateAttackEntityEventPost(Cause cause, double originalKnockbackModifier, double knockbackModifier, Entity entity, DamageStepHistory history, double baseDamage, double finalDamage) static AttackEntityEvent.PrecreateAttackEntityEventPre(Cause cause, Entity entity, double baseDamage) static BanIpEventcreateBanIpEvent(Cause cause, Ban.IP ban) static BanUserEventcreateBanUserEvent(Cause cause, Ban.Profile ban, User user) static BreedingEvent.BreedcreateBreedingEventBreed(Cause cause, Ageable offspringEntity) static BreedingEvent.FindMatecreateBreedingEventFindMate(Cause cause, TristateResult.Result originalResult, TristateResult.Result result, Animal matingEntity, boolean hasAllowResult) static BreedingEvent.ReadyToMatecreateBreedingEventReadyToMate(Cause cause, Animal entity) static BrewingEvent.ConsumeFuelcreateBrewingEventConsumeFuel(Cause cause, BrewingStand brewingStand, ItemStackSnapshot ingredient, List<SlotTransaction> transactions) static BrewingEvent.FinishcreateBrewingEventFinish(Cause cause, BrewingStand brewingStand, ItemStackSnapshot ingredient, List<SlotTransaction> transactions) static BrewingEvent.InterruptcreateBrewingEventInterrupt(Cause cause, BrewingStand brewingStand, ItemStackSnapshot ingredient) static BrewingEvent.StartcreateBrewingEventStart(Cause cause, BrewingStand brewingStand, ItemStackSnapshot ingredient) static BrewingEvent.TickcreateBrewingEventTick(Cause cause, BrewingStand brewingStand, ItemStackSnapshot ingredient) static ChangeBlockEvent.AllcreateChangeBlockEventAll(Cause cause, List<BlockTransaction> transactions, ServerWorld world) static ChangeBlockEvent.PostcreateChangeBlockEventPost(Cause cause, List<BlockTransactionReceipt> receipts, ServerWorld world) static ChangeBlockEvent.PrecreateChangeBlockEventPre(Cause cause, List<ServerLocation> locations, ServerWorld world) createChangeDataHolderEventValueChange(Cause cause, DataTransactionResult originalChanges, DataHolder.Mutable targetHolder) static ChangeEntityEquipmentEventcreateChangeEntityEquipmentEvent(Cause cause, Entity entity, Slot slot, Transaction<ItemStackSnapshot> transaction) createChangeEntityEquipmentEventBreak(Cause cause, Entity entity, Slot slot, Transaction<ItemStackSnapshot> transaction) static ChangeEntityWorldEvent.PostcreateChangeEntityWorldEventPost(Cause cause, Entity entity, ServerWorld originalWorld, ServerWorld destinationWorld, ServerWorld originalDestinationWorld) static ChangeEntityWorldEvent.PrecreateChangeEntityWorldEventPre(Cause cause, Entity entity, ServerWorld originalWorld, ServerWorld destinationWorld, ServerWorld originalDestinationWorld) createChangeEntityWorldEventReposition(Cause cause, Entity entity, ServerWorld originalWorld, Vector3d originalPosition, Vector3d destinationPosition, ServerWorld originalDestinationWorld, Vector3d originalDestinationPosition, ServerWorld destinationWorld) static ChangeInventoryEventcreateChangeInventoryEvent(Cause cause, Inventory inventory, List<SlotTransaction> transactions) createChangeInventoryEventDropFull(Cause cause, List<Entity> entities, Inventory inventory, Slot slot, List<SlotTransaction> transactions) createChangeInventoryEventDropSingle(Cause cause, List<Entity> entities, Inventory inventory, Slot slot, List<SlotTransaction> transactions) static ChangeInventoryEvent.HeldcreateChangeInventoryEventHeld(Cause cause, Slot finalSlot, Inventory inventory, Slot originalSlot, List<SlotTransaction> transactions) static ChangeInventoryEvent.PickupcreateChangeInventoryEventPickup(Cause cause, Inventory inventory, List<SlotTransaction> transactions) createChangeInventoryEventPickupPre(Cause cause, Optional<List<ItemStackSnapshot>> custom, List<ItemStackSnapshot> finalStacks, Inventory inventory, Item item, ItemStackSnapshot originalStack) createChangeInventoryEventSwapHand(Cause cause, Inventory inventory, List<SlotTransaction> transactions) static ChangeSignEventcreateChangeSignEvent(Cause cause, ListValue.Immutable<Component> originalText, ListValue.Mutable<Component> text, Sign sign, boolean frontSide) static ChangeWeatherEventcreateChangeWeatherEvent(Cause cause, WeatherUniverse universe, Transaction<Weather> weather) createChangeWorldBorderEventPlayer(Cause cause, Optional<WorldBorder> originalNewBorder, Optional<WorldBorder> newBorder, ServerPlayer player, Optional<WorldBorder> previousBorder) static ChangeWorldBorderEvent.WorldcreateChangeWorldBorderEventWorld(Cause cause, Optional<WorldBorder> originalNewBorder, Optional<WorldBorder> newBorder, Optional<WorldBorder> previousBorder, ServerWorld world) static ChunkEvent.Blocks.LoadcreateChunkEventBlocksLoad(Cause cause, BlockChunk chunk, Vector3i chunkPosition, ResourceKey worldKey) static ChunkEvent.Blocks.Save.PostcreateChunkEventBlocksSavePost(Cause cause, Vector3i chunkPosition, ResourceKey worldKey) static ChunkEvent.Blocks.Save.PrecreateChunkEventBlocksSavePre(Cause cause, BlockChunk chunk, Vector3i chunkPosition, ResourceKey worldKey) static ChunkEvent.Entities.LoadcreateChunkEventEntitiesLoad(Cause cause, EntityChunk chunk, Vector3i chunkPosition, ResourceKey worldKey) createChunkEventEntitiesSavePost(Cause cause, Vector3i chunkPosition, ResourceKey worldKey) static ChunkEvent.Entities.Save.PrecreateChunkEventEntitiesSavePre(Cause cause, EntityChunk chunk, Vector3i chunkPosition, ResourceKey worldKey) static ChunkEvent.GeneratedcreateChunkEventGenerated(Cause cause, Vector3i chunkPosition, ResourceKey worldKey) static ChunkEvent.LoadcreateChunkEventLoad(Cause cause, WorldChunk chunk, Vector3i chunkPosition, ResourceKey worldKey) static ChunkEvent.Unload.PostcreateChunkEventUnloadPost(Cause cause, Vector3i chunkPosition, ResourceKey worldKey) static ChunkEvent.Unload.PrecreateChunkEventUnloadPre(Cause cause, WorldChunk chunk, Vector3i chunkPosition, ResourceKey worldKey) createClickContainerEventCreativeDrop(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, ItemStackSnapshot droppedStack, List<Entity> entities, Optional<Slot> slot, List<SlotTransaction> transactions) createClickContainerEventCreativeSet(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions) static ClickContainerEvent.DoublecreateClickContainerEventDouble(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions) createClickContainerEventDragMiddle(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions) createClickContainerEventDragPrimary(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions) createClickContainerEventDragSecondary(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions) createClickContainerEventDropFull(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, List<Entity> entities, Optional<Slot> slot, List<SlotTransaction> transactions) createClickContainerEventDropOutsidePrimary(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, List<Entity> entities, Optional<Slot> slot, List<SlotTransaction> transactions) createClickContainerEventDropOutsideSecondary(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, List<Entity> entities, Optional<Slot> slot, List<SlotTransaction> transactions) createClickContainerEventDropSingle(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, List<Entity> entities, Optional<Slot> slot, List<SlotTransaction> transactions) static ClickContainerEvent.MiddlecreateClickContainerEventMiddle(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions) createClickContainerEventNumberPress(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions, int number) static ClickContainerEvent.PrimarycreateClickContainerEventPrimary(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions) createClickContainerEventRecipeAll(Cause cause, Container container, CraftingInventory craftingInventory, Transaction<ItemStackSnapshot> cursorTransaction, SlotTransaction preview, Optional<CraftingRecipe> recipe, Optional<ResourceKey> recipeKey, Optional<Slot> slot, List<SlotTransaction> transactions) createClickContainerEventRecipeSingle(Cause cause, Container container, CraftingInventory craftingInventory, Transaction<ItemStackSnapshot> cursorTransaction, SlotTransaction preview, Optional<CraftingRecipe> recipe, Optional<ResourceKey> recipeKey, Optional<Slot> slot, List<SlotTransaction> transactions) createClickContainerEventSecondary(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions) createClickContainerEventSelectTrade(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, TradeOffer tradeOffer, List<SlotTransaction> transactions, int selected) createClickContainerEventShiftPrimary(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions) createClickContainerEventShiftSecondary(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions) static ClientPingServerEventcreateClientPingServerEvent(Cause cause, StatusClient client, ClientPingServerEvent.Response response) static CollideBlockEvent.FallcreateCollideBlockEventFall(Cause cause, BlockState targetBlock, ServerLocation targetLocation, Direction targetSide) static CollideBlockEvent.ImpactcreateCollideBlockEventImpact(Cause cause, ServerLocation impactPoint, BlockState targetBlock, ServerLocation targetLocation, Direction targetSide) static CollideBlockEvent.InsidecreateCollideBlockEventInside(Cause cause, BlockState targetBlock, ServerLocation targetLocation, Direction targetSide) static CollideBlockEvent.MovecreateCollideBlockEventMove(Cause cause, BlockState targetBlock, ServerLocation targetLocation, Direction targetSide) static CollideBlockEvent.StepOncreateCollideBlockEventStepOn(Cause cause, BlockState targetBlock, ServerLocation targetLocation, Direction targetSide) static CollideEntityEventcreateCollideEntityEvent(Cause cause, List<Entity> entities) static CollideEntityEvent.ImpactcreateCollideEntityEventImpact(Cause cause, List<Entity> entities, ServerLocation impactPoint) static <E extends Event>
CompositeEvent<E> createCompositeEvent(Cause cause, E baseEvent, List<Event> children) static ConstructEntityEvent.PostcreateConstructEntityEventPost(Cause cause, Entity entity, ServerLocation location, Vector3d rotation, EntityType<?> targetType) static ConstructEntityEvent.PrecreateConstructEntityEventPre(Cause cause, ServerLocation location, Vector3d rotation, EntityType<?> targetType) static ConstructPluginEventcreateConstructPluginEvent(Cause cause, Game game, org.spongepowered.plugin.PluginContainer plugin) static CookingEvent.ConsumeFuelcreateCookingEventConsumeFuel(Cause cause, BlockEntity blockEntity, Optional<ItemStackSnapshot> fuel, Optional<CookingRecipe> recipe, Optional<ResourceKey> recipeKey, List<SlotTransaction> transactions) static CookingEvent.FinishcreateCookingEventFinish(Cause cause, BlockEntity blockEntity, Optional<ItemStackSnapshot> fuel, Optional<CookingRecipe> recipe, Optional<ResourceKey> recipeKey, List<SlotTransaction> transactions) static CookingEvent.InterruptcreateCookingEventInterrupt(Cause cause, BlockEntity blockEntity, Optional<ItemStackSnapshot> fuel, Optional<CookingRecipe> recipe, Optional<ResourceKey> recipeKey) static CookingEvent.StartcreateCookingEventStart(Cause cause, BlockEntity blockEntity, Optional<ItemStackSnapshot> fuel, Optional<CookingRecipe> recipe, Optional<ResourceKey> recipeKey) static CookingEvent.TickcreateCookingEventTick(Cause cause, BlockEntity blockEntity, ItemStackSnapshot cookingItem, Optional<ItemStackSnapshot> fuel, Optional<CookingRecipe> recipe, Optional<ResourceKey> recipeKey) static CooldownEvent.EndcreateCooldownEventEnd(Cause cause, ResourceKey group, ServerPlayer player) static CooldownEvent.SetcreateCooldownEventSet(Cause cause, Ticks originalNewCooldown, Ticks newCooldown, ResourceKey group, ServerPlayer player, Optional<Ticks> startingCooldown) static CraftItemEvent.CraftcreateCraftItemEventCraft(Cause cause, Container container, ItemStackSnapshot crafted, CraftingInventory craftingInventory, Transaction<ItemStackSnapshot> cursorTransaction, Optional<CraftingRecipe> recipe, Optional<ResourceKey> recipeKey, Optional<Slot> slot, List<SlotTransaction> transactions) static CraftItemEvent.PreviewcreateCraftItemEventPreview(Cause cause, Container container, CraftingInventory craftingInventory, Transaction<ItemStackSnapshot> cursorTransaction, SlotTransaction preview, Optional<CraftingRecipe> recipe, Optional<ResourceKey> recipeKey, Optional<Slot> slot, List<SlotTransaction> transactions) static CreateMapEventcreateCreateMapEvent(Cause cause, MapInfo mapInfo) static CriterionEvent.GrantcreateCriterionEventGrant(Cause cause, Advancement advancement, ResourceKey advancementKey, AdvancementCriterion criterion, ServerPlayer player, Instant time) static CriterionEvent.RevokecreateCriterionEventRevoke(Cause cause, Advancement advancement, ResourceKey advancementKey, AdvancementCriterion criterion, ServerPlayer player) static CriterionEvent.Score.ChangecreateCriterionEventScoreChange(Cause cause, Advancement advancement, ResourceKey advancementKey, ScoreAdvancementCriterion criterion, ServerPlayer player, int newScore, int previousScore) static CriterionEvent.Score.GrantcreateCriterionEventScoreGrant(Cause cause, Advancement advancement, ResourceKey advancementKey, ScoreAdvancementCriterion criterion, ServerPlayer player, Instant time, int newScore, int previousScore) static CriterionEvent.Score.RevokecreateCriterionEventScoreRevoke(Cause cause, Advancement advancement, ResourceKey advancementKey, ScoreAdvancementCriterion criterion, ServerPlayer player, int newScore, int previousScore) static <C extends FilteredTriggerConfiguration>
CriterionEvent.Trigger<C> createCriterionEventTrigger(Cause cause, Advancement advancement, ResourceKey advancementKey, AdvancementCriterion criterion, io.leangen.geantyref.TypeToken<C> paramType, ServerPlayer player, FilteredTrigger<C> trigger, Trigger<C> type, boolean result) static DamageCalculationEvent.PostcreateDamageCalculationEventPost(Cause cause, Entity entity, DamageStepHistory history, double baseDamage, double finalDamage) static DamageCalculationEvent.PrecreateDamageCalculationEventPre(Cause cause, Entity entity, double baseDamage) static DamageEntityEvent.PostcreateDamageEntityEventPost(Cause cause, Entity entity, DamageStepHistory history, double baseDamage, double finalDamage) static DamageEntityEvent.PrecreateDamageEntityEventPre(Cause cause, Entity entity, double baseDamage) static DefuseExplosiveEvent.PostcreateDefuseExplosiveEventPost(Cause cause, FusedExplosive fusedExplosive) static DefuseExplosiveEvent.PrecreateDefuseExplosiveEventPre(Cause cause, FusedExplosive fusedExplosive) static DestructEntityEventcreateDestructEntityEvent(Cause cause, Audience originalAudience, Optional<Audience> audience, Component originalMessage, Component message, Entity entity, boolean messageCancelled) static DestructEntityEvent.DeathcreateDestructEntityEventDeath(Cause cause, Audience originalAudience, Optional<Audience> audience, Component originalMessage, Component message, Living entity, boolean keepInventory, boolean messageCancelled) static DetonateExplosiveEventcreateDetonateExplosiveEvent(Cause cause, Explosion.Builder explosionBuilder, Explosive explosive, Explosion originalExplosion) static DropItemEvent.ClosecreateDropItemEventClose(Cause cause, List<Entity> entities) static DropItemEvent.CustomcreateDropItemEventCustom(Cause cause, List<Entity> entities) static DropItemEvent.DestructcreateDropItemEventDestruct(Cause cause, List<Entity> entities) static DropItemEvent.DispensecreateDropItemEventDispense(Cause cause, List<Entity> entities) static DropItemEvent.PrecreateDropItemEventPre(Cause cause, List<ItemStackSnapshot> originalDroppedItems, List<ItemStackSnapshot> droppedItems) static EconomyTransactionEventcreateEconomyTransactionEvent(Cause cause, TransactionResult transactionResult) createEnchantItemEventCalculateEnchantment(Cause cause, List<Enchantment> originalEnchantments, List<Enchantment> enchantments, Container container, Transaction<ItemStackSnapshot> cursorTransaction, ItemStackSnapshot item, int levelRequirement, int option, int seed) createEnchantItemEventCalculateLevelRequirement(Cause cause, int originalLevelRequirement, int levelRequirement, Container container, Transaction<ItemStackSnapshot> cursorTransaction, ItemStackSnapshot item, int option, int power, int seed) static EnchantItemEvent.PostcreateEnchantItemEventPost(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Slot enchantingSlot, Optional<Slot> slot, List<SlotTransaction> transactions, int option, int seed) static ExecuteCommandEvent.PostcreateExecuteCommandEventPost(Cause cause, String originalArguments, String arguments, String originalCommand, String command, CommandCause commandCause, CommandResult result) static ExecuteCommandEvent.PrecreateExecuteCommandEventPre(Cause cause, String originalArguments, String arguments, String originalCommand, String command, CommandCause commandCause, Optional<CommandResult> result, boolean cancelled) static ExpireEntityEventcreateExpireEntityEvent(Cause cause, Entity entity) static ExplosionEvent.DetonatecreateExplosionEventDetonate(Cause cause, List<ServerLocation> affectedLocations, List<Entity> entities, Explosion explosion, ServerWorld world) static ExplosionEvent.PrecreateExplosionEventPre(Cause cause, Explosion explosion, ServerWorld world) static FishingEvent.HookEntitycreateFishingEventHookEntity(Cause cause, Entity entity, FishingBobber fishHook) static FishingEvent.StartcreateFishingEventStart(Cause cause, FishingBobber fishHook) static FishingEvent.StopcreateFishingEventStop(Cause cause, FishingBobber fishHook, List<Transaction<ItemStackSnapshot>> transactions) static GoalEvent.AddcreateGoalEventAdd(Cause cause, int originalPriority, int priority, Agent agent, GoalExecutor<? extends Agent> goal, Goal<? extends Agent> task) static GoalEvent.RemovecreateGoalEventRemove(Cause cause, Agent agent, GoalExecutor<? extends Agent> goal, Goal<? extends Agent> task, int priority) static HarvestEntityEventcreateHarvestEntityEvent(Cause cause, Entity entity) static IgniteEntityEventcreateIgniteEntityEvent(Cause cause, Ticks originalFireTicks, Ticks fireTicks, Entity entity) createInteractBlockEventPrimaryFinish(Cause cause, BlockSnapshot block, Direction targetSide) createInteractBlockEventPrimaryStart(Cause cause, BlockSnapshot block, Direction targetSide) createInteractBlockEventPrimaryStop(Cause cause, BlockSnapshot block, Direction targetSide) static InteractBlockEvent.SecondarycreateInteractBlockEventSecondary(Cause cause, Tristate originalUseBlockResult, Tristate useBlockResult, Tristate originalUseItemResult, Tristate useItemResult, BlockSnapshot block, Vector3d interactionPoint, Direction targetSide) createInteractBlockEventSecondaryPost(Cause cause, InteractBlockEvent.Secondary baseEvent, List<Event> children) createInteractBlockEventSecondaryPre(Cause cause, Tristate originalUseBlockResult, Tristate useBlockResult, Tristate originalUseItemResult, Tristate useItemResult, BlockSnapshot block, Vector3d interactionPoint, Direction targetSide) createInteractContainerEventClosePost(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Inventory inventory, List<SlotTransaction> transactions) createInteractContainerEventClosePre(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction) static InteractContainerEvent.OpencreateInteractContainerEventOpen(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction) static InteractEntityEvent.PrimarycreateInteractEntityEventPrimary(Cause cause, Entity entity) createInteractEntityEventSecondaryAt(Cause cause, Entity entity, Vector3d interactionPoint) createInteractEntityEventSecondaryOn(Cause cause, Entity entity) static InteractItemEvent.PrimarycreateInteractItemEventPrimary(Cause cause, ItemStackSnapshot itemStack) static InteractItemEvent.SecondarycreateInteractItemEventSecondary(Cause cause, ItemStackSnapshot itemStack) createInteractItemEventSecondaryPost(Cause cause, InteractItemEvent.Secondary baseEvent, List<Event> children) createInteractItemEventSecondaryPre(Cause cause, ItemStackSnapshot itemStack) static InvokePortalEvent.EntercreateInvokePortalEventEnter(Cause cause, Entity entity, Optional<Integer> customPortalTransitionTime, PortalLogic portalLogic, int portalTransitionTime) static InvokePortalEvent.ExecutecreateInvokePortalEventExecute(Cause cause, Entity entity, ServerWorld originalWorld, Vector3d toRotation, Vector3d originalPosition, Vector3d fromRotation, ServerWorld originalDestinationWorld, Vector3d originalDestinationPosition, Vector3d destinationPosition, ServerWorld destinationWorld, Vector3d exitSpeed, PortalLogic portalLogic) static InvokePortalEvent.PreparecreateInvokePortalEventPrepare(Cause cause, Entity entity, PortalLogic portalLogic) static ItemMergeWithItemEventcreateItemMergeWithItemEvent(Cause cause, Item item, Item itemToMerge) static KickPlayerEventcreateKickPlayerEvent(Cause cause, Component originalMessage, Component message, ServerPlayer player) static LeashEntityEventcreateLeashEntityEvent(Cause cause, Entity entity) static LightningEvent.PostcreateLightningEventPost(Cause cause) static LightningEvent.PrecreateLightningEventPre(Cause cause) static LightningEvent.StrikecreateLightningEventStrike(Cause cause, List<Entity> entities) static LoadedGameEventcreateLoadedGameEvent(Cause cause, Game game) static LoadWorldEventcreateLoadWorldEvent(Cause cause, ServerWorld world, boolean hasLoadedBefore) static MoveEntityEventcreateMoveEntityEvent(Cause cause, Entity entity, Vector3d originalPosition, Vector3d destinationPosition, Vector3d originalDestinationPosition) static NotifyNeighborBlockEventcreateNotifyNeighborBlockEvent(Cause cause, List<NotificationTicket> tickets) static PardonIpEventcreatePardonIpEvent(Cause cause, Ban.IP ban) static PardonUserEventcreatePardonUserEvent(Cause cause, Ban.Profile ban, User user) createPlayerChangeClientSettingsEvent(Cause cause, ChatVisibility chatVisibility, Set<SkinPart> displayedSkinParts, Locale locale, ServerPlayer player, boolean chatColorsEnabled, int viewDistance) static PlayerChatEvent.DecoratecreatePlayerChatEventDecorate(Cause cause, Component originalMessage, Component message, Optional<ServerPlayer> player) static PlayerChatEvent.SubmitcreatePlayerChatEventSubmit(Cause cause, Component originalMessage, Component message, RegistryReference<ChatType> chatType, Optional<Predicate<ServerPlayer>> filter, Optional<ServerPlayer> player, Component sender, Optional<Component> target, boolean signed) static PlaySoundEvent.AtEntitycreatePlaySoundEventAtEntity(Cause cause, ServerLocation location, Optional<ServerPlayer> player, Sound.Source soundSource, SoundType soundType, float pitch, float volume) static PlaySoundEvent.BroadcastcreatePlaySoundEventBroadcast(Cause cause, ServerLocation location, Sound.Source soundSource, SoundType soundType, float pitch, float volume) createPlaySoundEventFromJukeboxStart(Cause cause, Jukebox jukebox, ServerLocation location, MusicDisc recordType, Sound.Source soundSource, SoundType soundType, float pitch, float volume) createPlaySoundEventFromJukeboxStop(Cause cause, Jukebox jukebox, ServerLocation location, MusicDisc recordType, Sound.Source soundSource, SoundType soundType, float pitch, float volume) static PlaySoundEvent.NoteBlockcreatePlaySoundEventNoteBlock(Cause cause, InstrumentType instrument, ServerLocation location, NotePitch notePitch, Sound.Source soundSource, SoundType soundType, float pitch, float volume) static PrimeExplosiveEvent.PostcreatePrimeExplosiveEventPost(Cause cause, FusedExplosive fusedExplosive) static PrimeExplosiveEvent.PrecreatePrimeExplosiveEventPre(Cause cause, FusedExplosive fusedExplosive) static QueryServerEvent.BasiccreateQueryServerEventBasic(Cause cause, InetSocketAddress address, String gameType, String map, String motd, int maxPlayerCount, int playerCount) static QueryServerEvent.FullcreateQueryServerEventFull(Cause cause, InetSocketAddress address, Map<String, String> customValuesMap, String gameId, String gameType, String map, String motd, List<String> players, String plugins, String version, int maxPlayerCount, int playerCount) static RconConnectionEvent.AuthcreateRconConnectionEventAuth(Cause cause, RconConnection connection) static RconConnectionEvent.ConnectcreateRconConnectionEventConnect(Cause cause, RconConnection connection) createRconConnectionEventDisconnect(Cause cause, RconConnection connection) static RefreshGameEventcreateRefreshGameEvent(Cause cause, Game game) static ResourcePackStatusEventcreateResourcePackStatusEvent(Cause cause, ServerSideConnection connection, ResourcePackInfo pack, Optional<ServerPlayer> player, GameProfile profile, ResourcePackStatus status) static RespawnPlayerEvent.PostcreateRespawnPlayerEventPost(Cause cause, ServerWorld destinationWorld, ServerWorld originalWorld, ServerWorld originalDestinationWorld, ServerPlayer entity) static RespawnPlayerEvent.RecreatecreateRespawnPlayerEventRecreate(Cause cause, Vector3d destinationPosition, ServerWorld originalWorld, Vector3d originalPosition, ServerWorld destinationWorld, ServerWorld originalDestinationWorld, Vector3d originalDestinationPosition, ServerPlayer entity, ServerPlayer recreatedPlayer, boolean bedSpawn, boolean death) createRespawnPlayerEventSelectWorld(Cause cause, ServerWorld destinationWorld, ServerWorld originalWorld, ServerWorld originalDestinationWorld, ServerPlayer entity) static RideEntityEvent.DismountcreateRideEntityEventDismount(Cause cause, Entity entity) static RideEntityEvent.MountcreateRideEntityEventMount(Cause cause, Entity entity) static RotateEntityEventcreateRotateEntityEvent(Cause cause, Entity entity, Vector3d fromRotation, Vector3d toRotation) static SaveWorldEvent.PostcreateSaveWorldEventPost(Cause cause, ServerWorld world) static SaveWorldEvent.PrecreateSaveWorldEventPre(Cause cause, ServerWorld world) static <T> ScheduleBlockUpdateEvent<T> createScheduleBlockUpdateEvent(Cause cause, io.leangen.geantyref.TypeToken<T> paramType, List<ScheduleUpdateTicket<T>> tickets) createServerSideConnectionEventAuth(Cause cause, Component originalMessage, Component message, ServerSideConnection connection, GameProfile profile) createServerSideConnectionEventConfiguration(Cause cause, ServerSideConnection connection, GameProfile profile) createServerSideConnectionEventDisconnect(Cause cause, ServerSideConnection connection, Optional<GameProfile> profile) createServerSideConnectionEventHandshake(Cause cause, ServerSideConnection connection, GameProfile profile) createServerSideConnectionEventIntent(Cause cause, Component originalMessage, Component message, ServerSideConnection connection, boolean transfer) createServerSideConnectionEventJoin(Cause cause, Audience originalAudience, Optional<Audience> audience, Component originalMessage, Component message, ServerSideConnection connection, ServerPlayer player, GameProfile profile, boolean messageCancelled) createServerSideConnectionEventLeave(Cause cause, Audience originalAudience, Optional<Audience> audience, Component originalMessage, Component message, ServerSideConnection connection, ServerPlayer player, GameProfile profile, boolean messageCancelled) createServerSideConnectionEventLogin(Cause cause, Component originalMessage, Component message, ServerLocation fromLocation, ServerLocation toLocation, Vector3d fromRotation, Vector3d toRotation, ServerSideConnection connection, GameProfile profile, User user) static SetAITargetEventcreateSetAITargetEvent(Cause cause, Agent agent, Optional<Entity> target) static SleepingEvent.FailedcreateSleepingEventFailed(Cause cause, BlockSnapshot bed, Living living) static SleepingEvent.FinishcreateSleepingEventFinish(Cause cause, ServerLocation fromLocation, ServerLocation toLocation, Vector3d fromRotation, Vector3d toRotation, BlockSnapshot bed, Living living) static SleepingEvent.PrecreateSleepingEventPre(Cause cause, BlockSnapshot bed, Living living) static SleepingEvent.TickcreateSleepingEventTick(Cause cause, BlockSnapshot bed, Living living) static SpawnEntityEventcreateSpawnEntityEvent(Cause cause, List<Entity> entities) static SpawnEntityEvent.CustomcreateSpawnEntityEventCustom(Cause cause, List<Entity> entities) static SpawnEntityEvent.PrecreateSpawnEntityEventPre(Cause cause, List<Entity> entities) static <E extends Engine>
StartedEngineEvent<E> createStartedEngineEvent(Cause cause, E engine, Game game, io.leangen.geantyref.TypeToken<E> paramType) static <E extends Engine>
StartingEngineEvent<E> createStartingEngineEvent(Cause cause, E engine, Game game, io.leangen.geantyref.TypeToken<E> paramType) static StoppedGameEventcreateStoppedGameEvent(Cause cause, Game game) static <E extends Engine>
StoppingEngineEvent<E> createStoppingEngineEvent(Cause cause, E engine, Game game, io.leangen.geantyref.TypeToken<E> paramType) static SubjectDataUpdateEventcreateSubjectDataUpdateEvent(Cause cause, SubjectData updatedData) static SystemMessageEventcreateSystemMessageEvent(Cause cause, Audience originalAudience, Optional<Audience> audience, Component originalMessage, Component message) static TameEntityEventcreateTameEntityEvent(Cause cause, Entity entity) static TickBlockEvent.RandomcreateTickBlockEventRandom(Cause cause, BlockSnapshot block) static TickBlockEvent.ScheduledcreateTickBlockEventScheduled(Cause cause, BlockSnapshot block) static TransferInventoryEvent.PostcreateTransferInventoryEventPost(Cause cause, Inventory sourceInventory, Slot sourceSlot, Inventory targetInventory, Slot targetSlot, ItemStackSnapshot transferredItem) static TransferInventoryEvent.PrecreateTransferInventoryEventPre(Cause cause, Inventory sourceInventory, Inventory targetInventory) static UnleashEntityEventcreateUnleashEntityEvent(Cause cause, Entity entity) static UnloadWorldEventcreateUnloadWorldEvent(Cause cause, ServerWorld world) static UpdateAnvilEventcreateUpdateAnvilEvent(Cause cause, Transaction<AnvilCost> costs, Inventory inventory, String itemName, ItemStackSnapshot left, Transaction<ItemStackSnapshot> result, ItemStackSnapshot right) static UseItemStackEvent.FinishcreateUseItemStackEventFinish(Cause cause, Ticks originalRemainingDuration, Ticks remainingDuration, ItemStackSnapshot itemStackInUse) static UseItemStackEvent.ReplacecreateUseItemStackEventReplace(Cause cause, Ticks originalRemainingDuration, Ticks remainingDuration, ItemStackSnapshot itemStackInUse, Transaction<ItemStackSnapshot> itemStackResult) static UseItemStackEvent.ResetcreateUseItemStackEventReset(Cause cause, Ticks originalRemainingDuration, Ticks remainingDuration, ItemStackSnapshot itemStackInUse) static UseItemStackEvent.StartcreateUseItemStackEventStart(Cause cause, Ticks originalRemainingDuration, Ticks remainingDuration, ItemStackSnapshot itemStackInUse) static UseItemStackEvent.StopcreateUseItemStackEventStop(Cause cause, Ticks originalRemainingDuration, Ticks remainingDuration, ItemStackSnapshot itemStackInUse) static UseItemStackEvent.TickcreateUseItemStackEventTick(Cause cause, Ticks originalRemainingDuration, Ticks remainingDuration, ItemStackSnapshot itemStackInUse)
-
Method Details
-
createCompositeEvent
public static <E extends Event> CompositeEvent<E> createCompositeEvent(Cause cause, E baseEvent, List<Event> children) -
createCreateMapEvent
-
createFishingEventHookEntity
public static FishingEvent.HookEntity createFishingEventHookEntity(Cause cause, Entity entity, FishingBobber fishHook) -
createFishingEventStart
-
createFishingEventStop
public static FishingEvent.Stop createFishingEventStop(Cause cause, FishingBobber fishHook, List<Transaction<ItemStackSnapshot>> transactions) -
createLightningEventPost
-
createLightningEventPre
-
createLightningEventStrike
-
createSleepingEventFailed
public static SleepingEvent.Failed createSleepingEventFailed(Cause cause, BlockSnapshot bed, Living living) -
createSleepingEventFinish
public static SleepingEvent.Finish createSleepingEventFinish(Cause cause, ServerLocation fromLocation, ServerLocation toLocation, Vector3d fromRotation, Vector3d toRotation, BlockSnapshot bed, Living living) -
createSleepingEventPre
public static SleepingEvent.Pre createSleepingEventPre(Cause cause, BlockSnapshot bed, Living living) -
createSleepingEventTick
public static SleepingEvent.Tick createSleepingEventTick(Cause cause, BlockSnapshot bed, Living living) -
createAdvancementEventGrant
public static AdvancementEvent.Grant createAdvancementEventGrant(Cause cause, Audience originalAudience, Optional<Audience> audience, Component originalMessage, Component message, Advancement advancement, ResourceKey advancementKey, ServerPlayer player, Instant time, boolean messageCancelled) -
createAdvancementEventRevoke
public static AdvancementEvent.Revoke createAdvancementEventRevoke(Cause cause, Advancement advancement, ResourceKey advancementKey, ServerPlayer player) -
createAdvancementTreeEventGenerateLayout
public static AdvancementTreeEvent.GenerateLayout createAdvancementTreeEventGenerateLayout(Cause cause, RegistryHolder registryHolder, AdvancementTree tree) -
createCriterionEventGrant
public static CriterionEvent.Grant createCriterionEventGrant(Cause cause, Advancement advancement, ResourceKey advancementKey, AdvancementCriterion criterion, ServerPlayer player, Instant time) -
createCriterionEventRevoke
public static CriterionEvent.Revoke createCriterionEventRevoke(Cause cause, Advancement advancement, ResourceKey advancementKey, AdvancementCriterion criterion, ServerPlayer player) -
createCriterionEventScoreChange
public static CriterionEvent.Score.Change createCriterionEventScoreChange(Cause cause, Advancement advancement, ResourceKey advancementKey, ScoreAdvancementCriterion criterion, ServerPlayer player, int newScore, int previousScore) -
createCriterionEventScoreGrant
public static CriterionEvent.Score.Grant createCriterionEventScoreGrant(Cause cause, Advancement advancement, ResourceKey advancementKey, ScoreAdvancementCriterion criterion, ServerPlayer player, Instant time, int newScore, int previousScore) -
createCriterionEventScoreRevoke
public static CriterionEvent.Score.Revoke createCriterionEventScoreRevoke(Cause cause, Advancement advancement, ResourceKey advancementKey, ScoreAdvancementCriterion criterion, ServerPlayer player, int newScore, int previousScore) -
createCriterionEventTrigger
public static <C extends FilteredTriggerConfiguration> CriterionEvent.Trigger<C> createCriterionEventTrigger(Cause cause, Advancement advancement, ResourceKey advancementKey, AdvancementCriterion criterion, io.leangen.geantyref.TypeToken<C> paramType, ServerPlayer player, FilteredTrigger<C> trigger, Trigger<C> type, boolean result) -
createChangeBlockEventAll
public static ChangeBlockEvent.All createChangeBlockEventAll(Cause cause, List<BlockTransaction> transactions, ServerWorld world) -
createChangeBlockEventPost
public static ChangeBlockEvent.Post createChangeBlockEventPost(Cause cause, List<BlockTransactionReceipt> receipts, ServerWorld world) -
createChangeBlockEventPre
public static ChangeBlockEvent.Pre createChangeBlockEventPre(Cause cause, List<ServerLocation> locations, ServerWorld world) -
createCollideBlockEventFall
public static CollideBlockEvent.Fall createCollideBlockEventFall(Cause cause, BlockState targetBlock, ServerLocation targetLocation, Direction targetSide) -
createCollideBlockEventImpact
public static CollideBlockEvent.Impact createCollideBlockEventImpact(Cause cause, ServerLocation impactPoint, BlockState targetBlock, ServerLocation targetLocation, Direction targetSide) -
createCollideBlockEventInside
public static CollideBlockEvent.Inside createCollideBlockEventInside(Cause cause, BlockState targetBlock, ServerLocation targetLocation, Direction targetSide) -
createCollideBlockEventMove
public static CollideBlockEvent.Move createCollideBlockEventMove(Cause cause, BlockState targetBlock, ServerLocation targetLocation, Direction targetSide) -
createCollideBlockEventStepOn
public static CollideBlockEvent.StepOn createCollideBlockEventStepOn(Cause cause, BlockState targetBlock, ServerLocation targetLocation, Direction targetSide) -
createInteractBlockEventPrimaryFinish
public static InteractBlockEvent.Primary.Finish createInteractBlockEventPrimaryFinish(Cause cause, BlockSnapshot block, Direction targetSide) -
createInteractBlockEventPrimaryStart
public static InteractBlockEvent.Primary.Start createInteractBlockEventPrimaryStart(Cause cause, BlockSnapshot block, Direction targetSide) -
createInteractBlockEventPrimaryStop
public static InteractBlockEvent.Primary.Stop createInteractBlockEventPrimaryStop(Cause cause, BlockSnapshot block, Direction targetSide) -
createInteractBlockEventSecondary
public static InteractBlockEvent.Secondary createInteractBlockEventSecondary(Cause cause, Tristate originalUseBlockResult, Tristate useBlockResult, Tristate originalUseItemResult, Tristate useItemResult, BlockSnapshot block, Vector3d interactionPoint, Direction targetSide) -
createInteractBlockEventSecondaryPost
public static InteractBlockEvent.Secondary.Post createInteractBlockEventSecondaryPost(Cause cause, InteractBlockEvent.Secondary baseEvent, List<Event> children) -
createInteractBlockEventSecondaryPre
public static InteractBlockEvent.Secondary.Pre createInteractBlockEventSecondaryPre(Cause cause, Tristate originalUseBlockResult, Tristate useBlockResult, Tristate originalUseItemResult, Tristate useItemResult, BlockSnapshot block, Vector3d interactionPoint, Direction targetSide) -
createNotifyNeighborBlockEvent
public static NotifyNeighborBlockEvent createNotifyNeighborBlockEvent(Cause cause, List<NotificationTicket> tickets) -
createScheduleBlockUpdateEvent
public static <T> ScheduleBlockUpdateEvent<T> createScheduleBlockUpdateEvent(Cause cause, io.leangen.geantyref.TypeToken<T> paramType, List<ScheduleUpdateTicket<T>> tickets) -
createTickBlockEventRandom
-
createTickBlockEventScheduled
public static TickBlockEvent.Scheduled createTickBlockEventScheduled(Cause cause, BlockSnapshot block) -
createBrewingEventConsumeFuel
public static BrewingEvent.ConsumeFuel createBrewingEventConsumeFuel(Cause cause, BrewingStand brewingStand, ItemStackSnapshot ingredient, List<SlotTransaction> transactions) -
createBrewingEventFinish
public static BrewingEvent.Finish createBrewingEventFinish(Cause cause, BrewingStand brewingStand, ItemStackSnapshot ingredient, List<SlotTransaction> transactions) -
createBrewingEventInterrupt
public static BrewingEvent.Interrupt createBrewingEventInterrupt(Cause cause, BrewingStand brewingStand, ItemStackSnapshot ingredient) -
createBrewingEventStart
public static BrewingEvent.Start createBrewingEventStart(Cause cause, BrewingStand brewingStand, ItemStackSnapshot ingredient) -
createBrewingEventTick
public static BrewingEvent.Tick createBrewingEventTick(Cause cause, BrewingStand brewingStand, ItemStackSnapshot ingredient) -
createChangeSignEvent
public static ChangeSignEvent createChangeSignEvent(Cause cause, ListValue.Immutable<Component> originalText, ListValue.Mutable<Component> text, Sign sign, boolean frontSide) -
createCookingEventConsumeFuel
public static CookingEvent.ConsumeFuel createCookingEventConsumeFuel(Cause cause, BlockEntity blockEntity, Optional<ItemStackSnapshot> fuel, Optional<CookingRecipe> recipe, Optional<ResourceKey> recipeKey, List<SlotTransaction> transactions) -
createCookingEventFinish
public static CookingEvent.Finish createCookingEventFinish(Cause cause, BlockEntity blockEntity, Optional<ItemStackSnapshot> fuel, Optional<CookingRecipe> recipe, Optional<ResourceKey> recipeKey, List<SlotTransaction> transactions) -
createCookingEventInterrupt
public static CookingEvent.Interrupt createCookingEventInterrupt(Cause cause, BlockEntity blockEntity, Optional<ItemStackSnapshot> fuel, Optional<CookingRecipe> recipe, Optional<ResourceKey> recipeKey) -
createCookingEventStart
public static CookingEvent.Start createCookingEventStart(Cause cause, BlockEntity blockEntity, Optional<ItemStackSnapshot> fuel, Optional<CookingRecipe> recipe, Optional<ResourceKey> recipeKey) -
createCookingEventTick
public static CookingEvent.Tick createCookingEventTick(Cause cause, BlockEntity blockEntity, ItemStackSnapshot cookingItem, Optional<ItemStackSnapshot> fuel, Optional<CookingRecipe> recipe, Optional<ResourceKey> recipeKey) -
createExecuteCommandEventPost
public static ExecuteCommandEvent.Post createExecuteCommandEventPost(Cause cause, String originalArguments, String arguments, String originalCommand, String command, CommandCause commandCause, CommandResult result) -
createExecuteCommandEventPre
public static ExecuteCommandEvent.Pre createExecuteCommandEventPre(Cause cause, String originalArguments, String arguments, String originalCommand, String command, CommandCause commandCause, Optional<CommandResult> result, boolean cancelled) -
createChangeDataHolderEventValueChange
public static ChangeDataHolderEvent.ValueChange createChangeDataHolderEventValueChange(Cause cause, DataTransactionResult originalChanges, DataHolder.Mutable targetHolder) -
createEconomyTransactionEvent
public static EconomyTransactionEvent createEconomyTransactionEvent(Cause cause, TransactionResult transactionResult) -
createAttackEntityEventPost
public static AttackEntityEvent.Post createAttackEntityEventPost(Cause cause, double originalKnockbackModifier, double knockbackModifier, Entity entity, DamageStepHistory history, double baseDamage, double finalDamage) -
createAttackEntityEventPre
public static AttackEntityEvent.Pre createAttackEntityEventPre(Cause cause, Entity entity, double baseDamage) -
createBreedingEventBreed
-
createBreedingEventFindMate
public static BreedingEvent.FindMate createBreedingEventFindMate(Cause cause, TristateResult.Result originalResult, TristateResult.Result result, Animal matingEntity, boolean hasAllowResult) -
createBreedingEventReadyToMate
-
createChangeEntityEquipmentEvent
public static ChangeEntityEquipmentEvent createChangeEntityEquipmentEvent(Cause cause, Entity entity, Slot slot, Transaction<ItemStackSnapshot> transaction) -
createChangeEntityEquipmentEventBreak
public static ChangeEntityEquipmentEvent.Break createChangeEntityEquipmentEventBreak(Cause cause, Entity entity, Slot slot, Transaction<ItemStackSnapshot> transaction) -
createChangeEntityWorldEventPost
public static ChangeEntityWorldEvent.Post createChangeEntityWorldEventPost(Cause cause, Entity entity, ServerWorld originalWorld, ServerWorld destinationWorld, ServerWorld originalDestinationWorld) -
createChangeEntityWorldEventPre
public static ChangeEntityWorldEvent.Pre createChangeEntityWorldEventPre(Cause cause, Entity entity, ServerWorld originalWorld, ServerWorld destinationWorld, ServerWorld originalDestinationWorld) -
createChangeEntityWorldEventReposition
public static ChangeEntityWorldEvent.Reposition createChangeEntityWorldEventReposition(Cause cause, Entity entity, ServerWorld originalWorld, Vector3d originalPosition, Vector3d destinationPosition, ServerWorld originalDestinationWorld, Vector3d originalDestinationPosition, ServerWorld destinationWorld) -
createCollideEntityEvent
-
createCollideEntityEventImpact
public static CollideEntityEvent.Impact createCollideEntityEventImpact(Cause cause, List<Entity> entities, ServerLocation impactPoint) -
createConstructEntityEventPost
public static ConstructEntityEvent.Post createConstructEntityEventPost(Cause cause, Entity entity, ServerLocation location, Vector3d rotation, EntityType<?> targetType) -
createConstructEntityEventPre
public static ConstructEntityEvent.Pre createConstructEntityEventPre(Cause cause, ServerLocation location, Vector3d rotation, EntityType<?> targetType) -
createDamageCalculationEventPost
public static DamageCalculationEvent.Post createDamageCalculationEventPost(Cause cause, Entity entity, DamageStepHistory history, double baseDamage, double finalDamage) -
createDamageCalculationEventPre
public static DamageCalculationEvent.Pre createDamageCalculationEventPre(Cause cause, Entity entity, double baseDamage) -
createDamageEntityEventPost
public static DamageEntityEvent.Post createDamageEntityEventPost(Cause cause, Entity entity, DamageStepHistory history, double baseDamage, double finalDamage) -
createDamageEntityEventPre
public static DamageEntityEvent.Pre createDamageEntityEventPre(Cause cause, Entity entity, double baseDamage) -
createDestructEntityEvent
-
createDestructEntityEventDeath
-
createExpireEntityEvent
-
createHarvestEntityEvent
-
createIgniteEntityEvent
public static IgniteEntityEvent createIgniteEntityEvent(Cause cause, Ticks originalFireTicks, Ticks fireTicks, Entity entity) -
createInteractEntityEventPrimary
public static InteractEntityEvent.Primary createInteractEntityEventPrimary(Cause cause, Entity entity) -
createInteractEntityEventSecondaryAt
public static InteractEntityEvent.Secondary.At createInteractEntityEventSecondaryAt(Cause cause, Entity entity, Vector3d interactionPoint) -
createInteractEntityEventSecondaryOn
public static InteractEntityEvent.Secondary.On createInteractEntityEventSecondaryOn(Cause cause, Entity entity) -
createInvokePortalEventEnter
public static InvokePortalEvent.Enter createInvokePortalEventEnter(Cause cause, Entity entity, Optional<Integer> customPortalTransitionTime, PortalLogic portalLogic, int portalTransitionTime) -
createInvokePortalEventExecute
public static InvokePortalEvent.Execute createInvokePortalEventExecute(Cause cause, Entity entity, ServerWorld originalWorld, Vector3d toRotation, Vector3d originalPosition, Vector3d fromRotation, ServerWorld originalDestinationWorld, Vector3d originalDestinationPosition, Vector3d destinationPosition, ServerWorld destinationWorld, Vector3d exitSpeed, PortalLogic portalLogic) -
createInvokePortalEventPrepare
public static InvokePortalEvent.Prepare createInvokePortalEventPrepare(Cause cause, Entity entity, PortalLogic portalLogic) -
createItemMergeWithItemEvent
public static ItemMergeWithItemEvent createItemMergeWithItemEvent(Cause cause, Item item, Item itemToMerge) -
createLeashEntityEvent
-
createMoveEntityEvent
-
createRideEntityEventDismount
-
createRideEntityEventMount
-
createRotateEntityEvent
public static RotateEntityEvent createRotateEntityEvent(Cause cause, Entity entity, Vector3d fromRotation, Vector3d toRotation) -
createSpawnEntityEvent
-
createSpawnEntityEventCustom
public static SpawnEntityEvent.Custom createSpawnEntityEventCustom(Cause cause, List<Entity> entities) -
createSpawnEntityEventPre
-
createTameEntityEvent
-
createUnleashEntityEvent
-
createSetAITargetEvent
public static SetAITargetEvent createSetAITargetEvent(Cause cause, Agent agent, Optional<Entity> target) -
createGoalEventAdd
public static GoalEvent.Add createGoalEventAdd(Cause cause, int originalPriority, int priority, Agent agent, GoalExecutor<? extends Agent> goal, Goal<? extends Agent> task) -
createGoalEventRemove
public static GoalEvent.Remove createGoalEventRemove(Cause cause, Agent agent, GoalExecutor<? extends Agent> goal, Goal<? extends Agent> task, int priority) -
createDefuseExplosiveEventPost
public static DefuseExplosiveEvent.Post createDefuseExplosiveEventPost(Cause cause, FusedExplosive fusedExplosive) -
createDefuseExplosiveEventPre
public static DefuseExplosiveEvent.Pre createDefuseExplosiveEventPre(Cause cause, FusedExplosive fusedExplosive) -
createDetonateExplosiveEvent
public static DetonateExplosiveEvent createDetonateExplosiveEvent(Cause cause, Explosion.Builder explosionBuilder, Explosive explosive, Explosion originalExplosion) -
createPrimeExplosiveEventPost
public static PrimeExplosiveEvent.Post createPrimeExplosiveEventPost(Cause cause, FusedExplosive fusedExplosive) -
createPrimeExplosiveEventPre
public static PrimeExplosiveEvent.Pre createPrimeExplosiveEventPre(Cause cause, FusedExplosive fusedExplosive) -
createAnimateHandEvent
public static AnimateHandEvent createAnimateHandEvent(Cause cause, HandType handType, Humanoid humanoid) -
createCooldownEventEnd
public static CooldownEvent.End createCooldownEventEnd(Cause cause, ResourceKey group, ServerPlayer player) -
createCooldownEventSet
public static CooldownEvent.Set createCooldownEventSet(Cause cause, Ticks originalNewCooldown, Ticks newCooldown, ResourceKey group, ServerPlayer player, Optional<Ticks> startingCooldown) -
createKickPlayerEvent
public static KickPlayerEvent createKickPlayerEvent(Cause cause, Component originalMessage, Component message, ServerPlayer player) -
createPlayerChangeClientSettingsEvent
public static PlayerChangeClientSettingsEvent createPlayerChangeClientSettingsEvent(Cause cause, ChatVisibility chatVisibility, Set<SkinPart> displayedSkinParts, Locale locale, ServerPlayer player, boolean chatColorsEnabled, int viewDistance) -
createResourcePackStatusEvent
public static ResourcePackStatusEvent createResourcePackStatusEvent(Cause cause, ServerSideConnection connection, ResourcePackInfo pack, Optional<ServerPlayer> player, GameProfile profile, ResourcePackStatus status) -
createRespawnPlayerEventPost
public static RespawnPlayerEvent.Post createRespawnPlayerEventPost(Cause cause, ServerWorld destinationWorld, ServerWorld originalWorld, ServerWorld originalDestinationWorld, ServerPlayer entity) -
createRespawnPlayerEventRecreate
public static RespawnPlayerEvent.Recreate createRespawnPlayerEventRecreate(Cause cause, Vector3d destinationPosition, ServerWorld originalWorld, Vector3d originalPosition, ServerWorld destinationWorld, ServerWorld originalDestinationWorld, Vector3d originalDestinationPosition, ServerPlayer entity, ServerPlayer recreatedPlayer, boolean bedSpawn, boolean death) -
createRespawnPlayerEventSelectWorld
public static RespawnPlayerEvent.SelectWorld createRespawnPlayerEventSelectWorld(Cause cause, ServerWorld destinationWorld, ServerWorld originalWorld, ServerWorld originalDestinationWorld, ServerPlayer entity) -
createChangeInventoryEvent
public static ChangeInventoryEvent createChangeInventoryEvent(Cause cause, Inventory inventory, List<SlotTransaction> transactions) -
createChangeInventoryEventDropFull
public static ChangeInventoryEvent.Drop.Full createChangeInventoryEventDropFull(Cause cause, List<Entity> entities, Inventory inventory, Slot slot, List<SlotTransaction> transactions) -
createChangeInventoryEventDropSingle
public static ChangeInventoryEvent.Drop.Single createChangeInventoryEventDropSingle(Cause cause, List<Entity> entities, Inventory inventory, Slot slot, List<SlotTransaction> transactions) -
createChangeInventoryEventHeld
public static ChangeInventoryEvent.Held createChangeInventoryEventHeld(Cause cause, Slot finalSlot, Inventory inventory, Slot originalSlot, List<SlotTransaction> transactions) -
createChangeInventoryEventPickup
public static ChangeInventoryEvent.Pickup createChangeInventoryEventPickup(Cause cause, Inventory inventory, List<SlotTransaction> transactions) -
createChangeInventoryEventPickupPre
public static ChangeInventoryEvent.Pickup.Pre createChangeInventoryEventPickupPre(Cause cause, Optional<List<ItemStackSnapshot>> custom, List<ItemStackSnapshot> finalStacks, Inventory inventory, Item item, ItemStackSnapshot originalStack) -
createChangeInventoryEventSwapHand
public static ChangeInventoryEvent.SwapHand createChangeInventoryEventSwapHand(Cause cause, Inventory inventory, List<SlotTransaction> transactions) -
createCraftItemEventCraft
public static CraftItemEvent.Craft createCraftItemEventCraft(Cause cause, Container container, ItemStackSnapshot crafted, CraftingInventory craftingInventory, Transaction<ItemStackSnapshot> cursorTransaction, Optional<CraftingRecipe> recipe, Optional<ResourceKey> recipeKey, Optional<Slot> slot, List<SlotTransaction> transactions) -
createCraftItemEventPreview
public static CraftItemEvent.Preview createCraftItemEventPreview(Cause cause, Container container, CraftingInventory craftingInventory, Transaction<ItemStackSnapshot> cursorTransaction, SlotTransaction preview, Optional<CraftingRecipe> recipe, Optional<ResourceKey> recipeKey, Optional<Slot> slot, List<SlotTransaction> transactions) -
createDropItemEventClose
-
createDropItemEventCustom
-
createDropItemEventDestruct
public static DropItemEvent.Destruct createDropItemEventDestruct(Cause cause, List<Entity> entities) -
createDropItemEventDispense
public static DropItemEvent.Dispense createDropItemEventDispense(Cause cause, List<Entity> entities) -
createDropItemEventPre
public static DropItemEvent.Pre createDropItemEventPre(Cause cause, List<ItemStackSnapshot> originalDroppedItems, List<ItemStackSnapshot> droppedItems) -
createEnchantItemEventCalculateEnchantment
public static EnchantItemEvent.CalculateEnchantment createEnchantItemEventCalculateEnchantment(Cause cause, List<Enchantment> originalEnchantments, List<Enchantment> enchantments, Container container, Transaction<ItemStackSnapshot> cursorTransaction, ItemStackSnapshot item, int levelRequirement, int option, int seed) -
createEnchantItemEventCalculateLevelRequirement
public static EnchantItemEvent.CalculateLevelRequirement createEnchantItemEventCalculateLevelRequirement(Cause cause, int originalLevelRequirement, int levelRequirement, Container container, Transaction<ItemStackSnapshot> cursorTransaction, ItemStackSnapshot item, int option, int power, int seed) -
createEnchantItemEventPost
public static EnchantItemEvent.Post createEnchantItemEventPost(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Slot enchantingSlot, Optional<Slot> slot, List<SlotTransaction> transactions, int option, int seed) -
createInteractItemEventPrimary
public static InteractItemEvent.Primary createInteractItemEventPrimary(Cause cause, ItemStackSnapshot itemStack) -
createInteractItemEventSecondary
public static InteractItemEvent.Secondary createInteractItemEventSecondary(Cause cause, ItemStackSnapshot itemStack) -
createInteractItemEventSecondaryPost
public static InteractItemEvent.Secondary.Post createInteractItemEventSecondaryPost(Cause cause, InteractItemEvent.Secondary baseEvent, List<Event> children) -
createInteractItemEventSecondaryPre
public static InteractItemEvent.Secondary.Pre createInteractItemEventSecondaryPre(Cause cause, ItemStackSnapshot itemStack) -
createTransferInventoryEventPost
public static TransferInventoryEvent.Post createTransferInventoryEventPost(Cause cause, Inventory sourceInventory, Slot sourceSlot, Inventory targetInventory, Slot targetSlot, ItemStackSnapshot transferredItem) -
createTransferInventoryEventPre
public static TransferInventoryEvent.Pre createTransferInventoryEventPre(Cause cause, Inventory sourceInventory, Inventory targetInventory) -
createUpdateAnvilEvent
public static UpdateAnvilEvent createUpdateAnvilEvent(Cause cause, Transaction<AnvilCost> costs, Inventory inventory, String itemName, ItemStackSnapshot left, Transaction<ItemStackSnapshot> result, ItemStackSnapshot right) -
createUseItemStackEventFinish
public static UseItemStackEvent.Finish createUseItemStackEventFinish(Cause cause, Ticks originalRemainingDuration, Ticks remainingDuration, ItemStackSnapshot itemStackInUse) -
createUseItemStackEventReplace
public static UseItemStackEvent.Replace createUseItemStackEventReplace(Cause cause, Ticks originalRemainingDuration, Ticks remainingDuration, ItemStackSnapshot itemStackInUse, Transaction<ItemStackSnapshot> itemStackResult) -
createUseItemStackEventReset
public static UseItemStackEvent.Reset createUseItemStackEventReset(Cause cause, Ticks originalRemainingDuration, Ticks remainingDuration, ItemStackSnapshot itemStackInUse) -
createUseItemStackEventStart
public static UseItemStackEvent.Start createUseItemStackEventStart(Cause cause, Ticks originalRemainingDuration, Ticks remainingDuration, ItemStackSnapshot itemStackInUse) -
createUseItemStackEventStop
public static UseItemStackEvent.Stop createUseItemStackEventStop(Cause cause, Ticks originalRemainingDuration, Ticks remainingDuration, ItemStackSnapshot itemStackInUse) -
createUseItemStackEventTick
public static UseItemStackEvent.Tick createUseItemStackEventTick(Cause cause, Ticks originalRemainingDuration, Ticks remainingDuration, ItemStackSnapshot itemStackInUse) -
createClickContainerEventCreativeDrop
public static ClickContainerEvent.Creative.Drop createClickContainerEventCreativeDrop(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, ItemStackSnapshot droppedStack, List<Entity> entities, Optional<Slot> slot, List<SlotTransaction> transactions) -
createClickContainerEventCreativeSet
public static ClickContainerEvent.Creative.Set createClickContainerEventCreativeSet(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions) -
createClickContainerEventDouble
public static ClickContainerEvent.Double createClickContainerEventDouble(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions) -
createClickContainerEventDragMiddle
public static ClickContainerEvent.Drag.Middle createClickContainerEventDragMiddle(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions) -
createClickContainerEventDragPrimary
public static ClickContainerEvent.Drag.Primary createClickContainerEventDragPrimary(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions) -
createClickContainerEventDragSecondary
public static ClickContainerEvent.Drag.Secondary createClickContainerEventDragSecondary(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions) -
createClickContainerEventDropFull
public static ClickContainerEvent.Drop.Full createClickContainerEventDropFull(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, List<Entity> entities, Optional<Slot> slot, List<SlotTransaction> transactions) -
createClickContainerEventDropOutsidePrimary
public static ClickContainerEvent.Drop.Outside.Primary createClickContainerEventDropOutsidePrimary(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, List<Entity> entities, Optional<Slot> slot, List<SlotTransaction> transactions) -
createClickContainerEventDropOutsideSecondary
public static ClickContainerEvent.Drop.Outside.Secondary createClickContainerEventDropOutsideSecondary(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, List<Entity> entities, Optional<Slot> slot, List<SlotTransaction> transactions) -
createClickContainerEventDropSingle
public static ClickContainerEvent.Drop.Single createClickContainerEventDropSingle(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, List<Entity> entities, Optional<Slot> slot, List<SlotTransaction> transactions) -
createClickContainerEventMiddle
public static ClickContainerEvent.Middle createClickContainerEventMiddle(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions) -
createClickContainerEventNumberPress
public static ClickContainerEvent.NumberPress createClickContainerEventNumberPress(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions, int number) -
createClickContainerEventPrimary
public static ClickContainerEvent.Primary createClickContainerEventPrimary(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions) -
createClickContainerEventRecipeAll
public static ClickContainerEvent.Recipe.All createClickContainerEventRecipeAll(Cause cause, Container container, CraftingInventory craftingInventory, Transaction<ItemStackSnapshot> cursorTransaction, SlotTransaction preview, Optional<CraftingRecipe> recipe, Optional<ResourceKey> recipeKey, Optional<Slot> slot, List<SlotTransaction> transactions) -
createClickContainerEventRecipeSingle
public static ClickContainerEvent.Recipe.Single createClickContainerEventRecipeSingle(Cause cause, Container container, CraftingInventory craftingInventory, Transaction<ItemStackSnapshot> cursorTransaction, SlotTransaction preview, Optional<CraftingRecipe> recipe, Optional<ResourceKey> recipeKey, Optional<Slot> slot, List<SlotTransaction> transactions) -
createClickContainerEventSecondary
public static ClickContainerEvent.Secondary createClickContainerEventSecondary(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions) -
createClickContainerEventSelectTrade
public static ClickContainerEvent.SelectTrade createClickContainerEventSelectTrade(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, TradeOffer tradeOffer, List<SlotTransaction> transactions, int selected) -
createClickContainerEventShiftPrimary
public static ClickContainerEvent.Shift.Primary createClickContainerEventShiftPrimary(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions) -
createClickContainerEventShiftSecondary
public static ClickContainerEvent.Shift.Secondary createClickContainerEventShiftSecondary(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Optional<Slot> slot, List<SlotTransaction> transactions) -
createInteractContainerEventClosePost
public static InteractContainerEvent.Close.Post createInteractContainerEventClosePost(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Inventory inventory, List<SlotTransaction> transactions) -
createInteractContainerEventClosePre
public static InteractContainerEvent.Close.Pre createInteractContainerEventClosePre(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction) -
createInteractContainerEventOpen
public static InteractContainerEvent.Open createInteractContainerEventOpen(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction) -
createConstructPluginEvent
public static ConstructPluginEvent createConstructPluginEvent(Cause cause, Game game, org.spongepowered.plugin.PluginContainer plugin) -
createLoadedGameEvent
-
createRefreshGameEvent
-
createStartedEngineEvent
public static <E extends Engine> StartedEngineEvent<E> createStartedEngineEvent(Cause cause, E engine, Game game, io.leangen.geantyref.TypeToken<E> paramType) -
createStartingEngineEvent
public static <E extends Engine> StartingEngineEvent<E> createStartingEngineEvent(Cause cause, E engine, Game game, io.leangen.geantyref.TypeToken<E> paramType) -
createStoppedGameEvent
-
createStoppingEngineEvent
public static <E extends Engine> StoppingEngineEvent<E> createStoppingEngineEvent(Cause cause, E engine, Game game, io.leangen.geantyref.TypeToken<E> paramType) -
createPlayerChatEventDecorate
public static PlayerChatEvent.Decorate createPlayerChatEventDecorate(Cause cause, Component originalMessage, Component message, Optional<ServerPlayer> player) -
createPlayerChatEventSubmit
public static PlayerChatEvent.Submit createPlayerChatEventSubmit(Cause cause, Component originalMessage, Component message, RegistryReference<ChatType> chatType, Optional<Predicate<ServerPlayer>> filter, Optional<ServerPlayer> player, Component sender, Optional<Component> target, boolean signed) -
createSystemMessageEvent
-
createBanIpEvent
-
createPardonIpEvent
-
createServerSideConnectionEventAuth
public static ServerSideConnectionEvent.Auth createServerSideConnectionEventAuth(Cause cause, Component originalMessage, Component message, ServerSideConnection connection, GameProfile profile) -
createServerSideConnectionEventConfiguration
public static ServerSideConnectionEvent.Configuration createServerSideConnectionEventConfiguration(Cause cause, ServerSideConnection connection, GameProfile profile) -
createServerSideConnectionEventDisconnect
public static ServerSideConnectionEvent.Disconnect createServerSideConnectionEventDisconnect(Cause cause, ServerSideConnection connection, Optional<GameProfile> profile) -
createServerSideConnectionEventHandshake
public static ServerSideConnectionEvent.Handshake createServerSideConnectionEventHandshake(Cause cause, ServerSideConnection connection, GameProfile profile) -
createServerSideConnectionEventIntent
public static ServerSideConnectionEvent.Intent createServerSideConnectionEventIntent(Cause cause, Component originalMessage, Component message, ServerSideConnection connection, boolean transfer) -
createServerSideConnectionEventJoin
public static ServerSideConnectionEvent.Join createServerSideConnectionEventJoin(Cause cause, Audience originalAudience, Optional<Audience> audience, Component originalMessage, Component message, ServerSideConnection connection, ServerPlayer player, GameProfile profile, boolean messageCancelled) -
createServerSideConnectionEventLeave
public static ServerSideConnectionEvent.Leave createServerSideConnectionEventLeave(Cause cause, Audience originalAudience, Optional<Audience> audience, Component originalMessage, Component message, ServerSideConnection connection, ServerPlayer player, GameProfile profile, boolean messageCancelled) -
createServerSideConnectionEventLogin
public static ServerSideConnectionEvent.Login createServerSideConnectionEventLogin(Cause cause, Component originalMessage, Component message, ServerLocation fromLocation, ServerLocation toLocation, Vector3d fromRotation, Vector3d toRotation, ServerSideConnection connection, GameProfile profile, User user) -
createRconConnectionEventAuth
public static RconConnectionEvent.Auth createRconConnectionEventAuth(Cause cause, RconConnection connection) -
createRconConnectionEventConnect
public static RconConnectionEvent.Connect createRconConnectionEventConnect(Cause cause, RconConnection connection) -
createRconConnectionEventDisconnect
public static RconConnectionEvent.Disconnect createRconConnectionEventDisconnect(Cause cause, RconConnection connection) -
createSubjectDataUpdateEvent
public static SubjectDataUpdateEvent createSubjectDataUpdateEvent(Cause cause, SubjectData updatedData) -
createClientPingServerEvent
public static ClientPingServerEvent createClientPingServerEvent(Cause cause, StatusClient client, ClientPingServerEvent.Response response) -
createQueryServerEventBasic
public static QueryServerEvent.Basic createQueryServerEventBasic(Cause cause, InetSocketAddress address, String gameType, String map, String motd, int maxPlayerCount, int playerCount) -
createQueryServerEventFull
-
createPlaySoundEventAtEntity
public static PlaySoundEvent.AtEntity createPlaySoundEventAtEntity(Cause cause, ServerLocation location, Optional<ServerPlayer> player, Sound.Source soundSource, SoundType soundType, float pitch, float volume) -
createPlaySoundEventBroadcast
public static PlaySoundEvent.Broadcast createPlaySoundEventBroadcast(Cause cause, ServerLocation location, Sound.Source soundSource, SoundType soundType, float pitch, float volume) -
createPlaySoundEventFromJukeboxStart
public static PlaySoundEvent.FromJukebox.Start createPlaySoundEventFromJukeboxStart(Cause cause, Jukebox jukebox, ServerLocation location, MusicDisc recordType, Sound.Source soundSource, SoundType soundType, float pitch, float volume) -
createPlaySoundEventFromJukeboxStop
public static PlaySoundEvent.FromJukebox.Stop createPlaySoundEventFromJukeboxStop(Cause cause, Jukebox jukebox, ServerLocation location, MusicDisc recordType, Sound.Source soundSource, SoundType soundType, float pitch, float volume) -
createPlaySoundEventNoteBlock
public static PlaySoundEvent.NoteBlock createPlaySoundEventNoteBlock(Cause cause, InstrumentType instrument, ServerLocation location, NotePitch notePitch, Sound.Source soundSource, SoundType soundType, float pitch, float volume) -
createBanUserEvent
-
createPardonUserEvent
-
createChangeWeatherEvent
public static ChangeWeatherEvent createChangeWeatherEvent(Cause cause, WeatherUniverse universe, Transaction<Weather> weather) -
createChangeWorldBorderEventPlayer
public static ChangeWorldBorderEvent.Player createChangeWorldBorderEventPlayer(Cause cause, Optional<WorldBorder> originalNewBorder, Optional<WorldBorder> newBorder, ServerPlayer player, Optional<WorldBorder> previousBorder) -
createChangeWorldBorderEventWorld
public static ChangeWorldBorderEvent.World createChangeWorldBorderEventWorld(Cause cause, Optional<WorldBorder> originalNewBorder, Optional<WorldBorder> newBorder, Optional<WorldBorder> previousBorder, ServerWorld world) -
createExplosionEventDetonate
public static ExplosionEvent.Detonate createExplosionEventDetonate(Cause cause, List<ServerLocation> affectedLocations, List<Entity> entities, Explosion explosion, ServerWorld world) -
createExplosionEventPre
public static ExplosionEvent.Pre createExplosionEventPre(Cause cause, Explosion explosion, ServerWorld world) -
createLoadWorldEvent
public static LoadWorldEvent createLoadWorldEvent(Cause cause, ServerWorld world, boolean hasLoadedBefore) -
createSaveWorldEventPost
-
createSaveWorldEventPre
-
createUnloadWorldEvent
-
createChunkEventBlocksLoad
public static ChunkEvent.Blocks.Load createChunkEventBlocksLoad(Cause cause, BlockChunk chunk, Vector3i chunkPosition, ResourceKey worldKey) -
createChunkEventBlocksSavePost
public static ChunkEvent.Blocks.Save.Post createChunkEventBlocksSavePost(Cause cause, Vector3i chunkPosition, ResourceKey worldKey) -
createChunkEventBlocksSavePre
public static ChunkEvent.Blocks.Save.Pre createChunkEventBlocksSavePre(Cause cause, BlockChunk chunk, Vector3i chunkPosition, ResourceKey worldKey) -
createChunkEventEntitiesLoad
public static ChunkEvent.Entities.Load createChunkEventEntitiesLoad(Cause cause, EntityChunk chunk, Vector3i chunkPosition, ResourceKey worldKey) -
createChunkEventEntitiesSavePost
public static ChunkEvent.Entities.Save.Post createChunkEventEntitiesSavePost(Cause cause, Vector3i chunkPosition, ResourceKey worldKey) -
createChunkEventEntitiesSavePre
public static ChunkEvent.Entities.Save.Pre createChunkEventEntitiesSavePre(Cause cause, EntityChunk chunk, Vector3i chunkPosition, ResourceKey worldKey) -
createChunkEventGenerated
public static ChunkEvent.Generated createChunkEventGenerated(Cause cause, Vector3i chunkPosition, ResourceKey worldKey) -
createChunkEventLoad
public static ChunkEvent.Load createChunkEventLoad(Cause cause, WorldChunk chunk, Vector3i chunkPosition, ResourceKey worldKey) -
createChunkEventUnloadPost
public static ChunkEvent.Unload.Post createChunkEventUnloadPost(Cause cause, Vector3i chunkPosition, ResourceKey worldKey) -
createChunkEventUnloadPre
public static ChunkEvent.Unload.Pre createChunkEventUnloadPre(Cause cause, WorldChunk chunk, Vector3i chunkPosition, ResourceKey worldKey)
-