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.Grant
createAdvancementEventGrant
(Cause cause, Audience originalAudience, Optional<Audience> audience, Component originalMessage, Component message, Advancement advancement, ResourceKey advancementKey, ServerPlayer player, Instant time, boolean messageCancelled) static AdvancementEvent.Revoke
createAdvancementEventRevoke
(Cause cause, Advancement advancement, ResourceKey advancementKey, ServerPlayer player) createAdvancementTreeEventGenerateLayout
(Cause cause, AdvancementTree tree) static AnimateHandEvent
createAnimateHandEvent
(Cause cause, HandType handType, Humanoid humanoid) static AttackEntityEvent
createAttackEntityEvent
(Cause cause, Entity entity, List<DamageFunction> originalFunctions, float knockbackModifier, double originalDamage) static BanIpEvent
createBanIpEvent
(Cause cause, Ban.IP ban) static BanUserEvent
createBanUserEvent
(Cause cause, Ban.Profile ban, User user) static BreedingEvent.Breed
createBreedingEventBreed
(Cause cause, Ageable offspringEntity) static BreedingEvent.FindMate
createBreedingEventFindMate
(Cause cause, TristateResult.Result originalResult, TristateResult.Result result, Animal matingEntity, boolean hasAllowResult) static BreedingEvent.ReadyToMate
createBreedingEventReadyToMate
(Cause cause, Animal entity) static BrewingEvent.ConsumeFuel
createBrewingEventConsumeFuel
(Cause cause, BrewingStand brewingStand, ItemStackSnapshot ingredient, List<SlotTransaction> transactions) static BrewingEvent.Finish
createBrewingEventFinish
(Cause cause, BrewingStand brewingStand, ItemStackSnapshot ingredient, List<SlotTransaction> transactions) static BrewingEvent.Interrupt
createBrewingEventInterrupt
(Cause cause, BrewingStand brewingStand, ItemStackSnapshot ingredient) static BrewingEvent.Start
createBrewingEventStart
(Cause cause, BrewingStand brewingStand, ItemStackSnapshot ingredient) static BrewingEvent.Tick
createBrewingEventTick
(Cause cause, BrewingStand brewingStand, ItemStackSnapshot ingredient) static ChangeBlockEvent.All
createChangeBlockEventAll
(Cause cause, List<BlockTransaction> transactions, ServerWorld world) static ChangeBlockEvent.Post
createChangeBlockEventPost
(Cause cause, List<BlockTransactionReceipt> receipts, ServerWorld world) static ChangeBlockEvent.Pre
createChangeBlockEventPre
(Cause cause, List<ServerLocation> locations, ServerWorld world) createChangeDataHolderEventValueChange
(Cause cause, DataTransactionResult originalChanges, DataHolder.Mutable targetHolder) static ChangeEntityEquipmentEvent
createChangeEntityEquipmentEvent
(Cause cause, Entity entity, Slot slot, Transaction<ItemStackSnapshot> transaction) createChangeEntityEquipmentEventBreak
(Cause cause, Entity entity, Slot slot, Transaction<ItemStackSnapshot> transaction) static ChangeEntityWorldEvent.Post
createChangeEntityWorldEventPost
(Cause cause, Entity entity, ServerWorld originalWorld, ServerWorld destinationWorld, ServerWorld originalDestinationWorld) static ChangeEntityWorldEvent.Pre
createChangeEntityWorldEventPre
(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 ChangeInventoryEvent
createChangeInventoryEvent
(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.Held
createChangeInventoryEventHeld
(Cause cause, Slot finalSlot, Inventory inventory, Slot originalSlot, List<SlotTransaction> transactions) static ChangeInventoryEvent.Pickup
createChangeInventoryEventPickup
(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 ChangeSignEvent
createChangeSignEvent
(Cause cause, ListValue.Immutable<Component> originalText, ListValue.Mutable<Component> text, Sign sign, boolean frontSide) static ChangeWeatherEvent
createChangeWeatherEvent
(Cause cause, WeatherUniverse universe, Transaction<Weather> weather) createChangeWorldBorderEventPlayer
(Cause cause, Optional<WorldBorder> originalNewBorder, Optional<WorldBorder> newBorder, ServerPlayer player, Optional<WorldBorder> previousBorder) static ChangeWorldBorderEvent.World
createChangeWorldBorderEventWorld
(Cause cause, Optional<WorldBorder> originalNewBorder, Optional<WorldBorder> newBorder, Optional<WorldBorder> previousBorder, ServerWorld world) static ChunkEvent.Blocks.Load
createChunkEventBlocksLoad
(Cause cause, BlockChunk chunk, Vector3i chunkPosition, ResourceKey worldKey) static ChunkEvent.Blocks.Save.Post
createChunkEventBlocksSavePost
(Cause cause, Vector3i chunkPosition, ResourceKey worldKey) static ChunkEvent.Blocks.Save.Pre
createChunkEventBlocksSavePre
(Cause cause, BlockChunk chunk, Vector3i chunkPosition, ResourceKey worldKey) static ChunkEvent.Entities.Load
createChunkEventEntitiesLoad
(Cause cause, EntityChunk chunk, Vector3i chunkPosition, ResourceKey worldKey) createChunkEventEntitiesSavePost
(Cause cause, Vector3i chunkPosition, ResourceKey worldKey) static ChunkEvent.Entities.Save.Pre
createChunkEventEntitiesSavePre
(Cause cause, EntityChunk chunk, Vector3i chunkPosition, ResourceKey worldKey) static ChunkEvent.Generated
createChunkEventGenerated
(Cause cause, Vector3i chunkPosition, ResourceKey worldKey) static ChunkEvent.Load
createChunkEventLoad
(Cause cause, WorldChunk chunk, Vector3i chunkPosition, ResourceKey worldKey) static ChunkEvent.Unload.Post
createChunkEventUnloadPost
(Cause cause, Vector3i chunkPosition, ResourceKey worldKey) static ChunkEvent.Unload.Pre
createChunkEventUnloadPre
(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.Double
createClickContainerEventDouble
(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.Middle
createClickContainerEventMiddle
(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.Primary
createClickContainerEventPrimary
(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 ClientPingServerEvent
createClientPingServerEvent
(Cause cause, StatusClient client, ClientPingServerEvent.Response response) static CollideBlockEvent.Fall
createCollideBlockEventFall
(Cause cause, BlockState targetBlock, ServerLocation targetLocation, Direction targetSide) static CollideBlockEvent.Impact
createCollideBlockEventImpact
(Cause cause, ServerLocation impactPoint, BlockState targetBlock, ServerLocation targetLocation, Direction targetSide) static CollideBlockEvent.Inside
createCollideBlockEventInside
(Cause cause, BlockState targetBlock, ServerLocation targetLocation, Direction targetSide) static CollideBlockEvent.Move
createCollideBlockEventMove
(Cause cause, BlockState targetBlock, ServerLocation targetLocation, Direction targetSide) static CollideBlockEvent.StepOn
createCollideBlockEventStepOn
(Cause cause, BlockState targetBlock, ServerLocation targetLocation, Direction targetSide) static CollideEntityEvent
createCollideEntityEvent
(Cause cause, List<Entity> entities) static CollideEntityEvent.Impact
createCollideEntityEventImpact
(Cause cause, List<Entity> entities, ServerLocation impactPoint) static <E extends Event>
CompositeEvent<E> createCompositeEvent
(Cause cause, E baseEvent, List<Event> children) static ConstructEntityEvent.Post
createConstructEntityEventPost
(Cause cause, Entity entity, ServerLocation location, Vector3d rotation, EntityType<?> targetType) static ConstructEntityEvent.Pre
createConstructEntityEventPre
(Cause cause, ServerLocation location, Vector3d rotation, EntityType<?> targetType) static ConstructPluginEvent
createConstructPluginEvent
(Cause cause, Game game, org.spongepowered.plugin.PluginContainer plugin) static CookingEvent.ConsumeFuel
createCookingEventConsumeFuel
(Cause cause, BlockEntity blockEntity, Optional<ItemStackSnapshot> fuel, Optional<CookingRecipe> recipe, Optional<ResourceKey> recipeKey, List<SlotTransaction> transactions) static CookingEvent.Finish
createCookingEventFinish
(Cause cause, BlockEntity blockEntity, Optional<ItemStackSnapshot> fuel, Optional<CookingRecipe> recipe, Optional<ResourceKey> recipeKey, List<SlotTransaction> transactions) static CookingEvent.Interrupt
createCookingEventInterrupt
(Cause cause, BlockEntity blockEntity, Optional<ItemStackSnapshot> fuel, Optional<CookingRecipe> recipe, Optional<ResourceKey> recipeKey) static CookingEvent.Start
createCookingEventStart
(Cause cause, BlockEntity blockEntity, Optional<ItemStackSnapshot> fuel, Optional<CookingRecipe> recipe, Optional<ResourceKey> recipeKey) static CookingEvent.Tick
createCookingEventTick
(Cause cause, BlockEntity blockEntity, ItemStackSnapshot cookingItem, Optional<ItemStackSnapshot> fuel, Optional<CookingRecipe> recipe, Optional<ResourceKey> recipeKey) static CooldownEvent.End
createCooldownEventEnd
(Cause cause, ResourceKey group, ServerPlayer player) static CooldownEvent.Set
createCooldownEventSet
(Cause cause, Ticks originalNewCooldown, Ticks newCooldown, ResourceKey group, ServerPlayer player, Optional<Ticks> startingCooldown) 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) 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) static CreateMapEvent
createCreateMapEvent
(Cause cause, MapInfo mapInfo) static CriterionEvent.Grant
createCriterionEventGrant
(Cause cause, Advancement advancement, ResourceKey advancementKey, AdvancementCriterion criterion, ServerPlayer player, Instant time) static CriterionEvent.Revoke
createCriterionEventRevoke
(Cause cause, Advancement advancement, ResourceKey advancementKey, AdvancementCriterion criterion, ServerPlayer player) static CriterionEvent.Score.Change
createCriterionEventScoreChange
(Cause cause, Advancement advancement, ResourceKey advancementKey, ScoreAdvancementCriterion criterion, ServerPlayer player, int newScore, int previousScore) static CriterionEvent.Score.Grant
createCriterionEventScoreGrant
(Cause cause, Advancement advancement, ResourceKey advancementKey, ScoreAdvancementCriterion criterion, ServerPlayer player, Instant time, int newScore, int previousScore) static CriterionEvent.Score.Revoke
createCriterionEventScoreRevoke
(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 DamageEntityEvent
createDamageEntityEvent
(Cause cause, Entity entity, List<DamageFunction> originalFunctions, double originalDamage) static DefuseExplosiveEvent.Post
createDefuseExplosiveEventPost
(Cause cause, FusedExplosive fusedExplosive) static DefuseExplosiveEvent.Pre
createDefuseExplosiveEventPre
(Cause cause, FusedExplosive fusedExplosive) static DestructEntityEvent
createDestructEntityEvent
(Cause cause, Audience originalAudience, Optional<Audience> audience, Component originalMessage, Component message, Entity entity, boolean messageCancelled) static DestructEntityEvent.Death
createDestructEntityEventDeath
(Cause cause, Audience originalAudience, Optional<Audience> audience, Component originalMessage, Component message, Living entity, boolean keepInventory, boolean messageCancelled) static DetonateExplosiveEvent
createDetonateExplosiveEvent
(Cause cause, Explosion.Builder explosionBuilder, Explosive explosive, Explosion originalExplosion) static DropItemEvent.Close
createDropItemEventClose
(Cause cause, List<Entity> entities) static DropItemEvent.Custom
createDropItemEventCustom
(Cause cause, List<Entity> entities) static DropItemEvent.Destruct
createDropItemEventDestruct
(Cause cause, List<Entity> entities) static DropItemEvent.Dispense
createDropItemEventDispense
(Cause cause, List<Entity> entities) static DropItemEvent.Pre
createDropItemEventPre
(Cause cause, List<ItemStackSnapshot> originalDroppedItems, List<ItemStackSnapshot> droppedItems) static EconomyTransactionEvent
createEconomyTransactionEvent
(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.Post
createEnchantItemEventPost
(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Slot enchantingSlot, Optional<Slot> slot, List<SlotTransaction> transactions, int option, int seed) static ExecuteCommandEvent.Post
createExecuteCommandEventPost
(Cause cause, String originalArguments, String arguments, String originalCommand, String command, CommandCause commandCause, CommandResult result) static ExecuteCommandEvent.Pre
createExecuteCommandEventPre
(Cause cause, String originalArguments, String arguments, String originalCommand, String command, CommandCause commandCause, Optional<CommandResult> result, boolean cancelled) static ExpireEntityEvent
createExpireEntityEvent
(Cause cause, Entity entity) static ExplosionEvent.Detonate
createExplosionEventDetonate
(Cause cause, List<ServerLocation> affectedLocations, List<Entity> entities, Explosion explosion, ServerWorld world) static ExplosionEvent.Pre
createExplosionEventPre
(Cause cause, Explosion explosion, ServerWorld world) static FishingEvent.HookEntity
createFishingEventHookEntity
(Cause cause, Entity entity, FishingBobber fishHook) static FishingEvent.Start
createFishingEventStart
(Cause cause, FishingBobber fishHook) static FishingEvent.Stop
createFishingEventStop
(Cause cause, FishingBobber fishHook, List<Transaction<ItemStackSnapshot>> transactions) static GoalEvent.Add
createGoalEventAdd
(Cause cause, int originalPriority, int priority, Agent agent, GoalExecutor<? extends Agent> goal, Goal<? extends Agent> task) static GoalEvent.Remove
createGoalEventRemove
(Cause cause, Agent agent, GoalExecutor<? extends Agent> goal, Goal<? extends Agent> task, int priority) static HarvestEntityEvent
createHarvestEntityEvent
(Cause cause, Entity entity) static IgniteEntityEvent
createIgniteEntityEvent
(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.Secondary
createInteractBlockEventSecondary
(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) static InteractContainerEvent.Close
createInteractContainerEventClose
(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Inventory inventory, List<SlotTransaction> transactions) static InteractContainerEvent.Open
createInteractContainerEventOpen
(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction) static InteractEntityEvent.Primary
createInteractEntityEventPrimary
(Cause cause, Entity entity) createInteractEntityEventSecondaryAt
(Cause cause, Entity entity, Vector3d interactionPoint) createInteractEntityEventSecondaryOn
(Cause cause, Entity entity) static InteractItemEvent.Primary
createInteractItemEventPrimary
(Cause cause, ItemStackSnapshot itemStack) static InteractItemEvent.Secondary
createInteractItemEventSecondary
(Cause cause, ItemStackSnapshot itemStack) createInteractItemEventSecondaryPost
(Cause cause, InteractItemEvent.Secondary baseEvent, List<Event> children) createInteractItemEventSecondaryPre
(Cause cause, ItemStackSnapshot itemStack) static InvokePortalEvent.Enter
createInvokePortalEventEnter
(Cause cause, Entity entity, Optional<Integer> customPortalTransitionTime, PortalLogic portalLogic, int portalTransitionTime) 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) static InvokePortalEvent.Prepare
createInvokePortalEventPrepare
(Cause cause, Entity entity, PortalLogic portalLogic) static ItemMergeWithItemEvent
createItemMergeWithItemEvent
(Cause cause, Item item, Item itemToMerge) static KickPlayerEvent
createKickPlayerEvent
(Cause cause, Component originalMessage, Component message, ServerPlayer player) static LeashEntityEvent
createLeashEntityEvent
(Cause cause, Entity entity) static LightningEvent.Post
createLightningEventPost
(Cause cause) static LightningEvent.Pre
createLightningEventPre
(Cause cause) static LightningEvent.Strike
createLightningEventStrike
(Cause cause, List<Entity> entities) static LoadedGameEvent
createLoadedGameEvent
(Cause cause, Game game) static LoadWorldEvent
createLoadWorldEvent
(Cause cause, ServerWorld world, boolean hasLoadedBefore) static MoveEntityEvent
createMoveEntityEvent
(Cause cause, Entity entity, Vector3d originalPosition, Vector3d destinationPosition, Vector3d originalDestinationPosition) static NotifyNeighborBlockEvent
createNotifyNeighborBlockEvent
(Cause cause, List<NotificationTicket> tickets) static PardonIpEvent
createPardonIpEvent
(Cause cause, Ban.IP ban) static PardonUserEvent
createPardonUserEvent
(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.Decorate
createPlayerChatEventDecorate
(Cause cause, Component originalMessage, Component message, Optional<ServerPlayer> player) 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) static PlaySoundEvent.AtEntity
createPlaySoundEventAtEntity
(Cause cause, ServerLocation location, Optional<ServerPlayer> player, Sound.Source soundSource, SoundType soundType, float pitch, float volume) static PlaySoundEvent.Broadcast
createPlaySoundEventBroadcast
(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.NoteBlock
createPlaySoundEventNoteBlock
(Cause cause, InstrumentType instrument, ServerLocation location, NotePitch notePitch, Sound.Source soundSource, SoundType soundType, float pitch, float volume) static PrimeExplosiveEvent.Post
createPrimeExplosiveEventPost
(Cause cause, FusedExplosive fusedExplosive) static PrimeExplosiveEvent.Pre
createPrimeExplosiveEventPre
(Cause cause, FusedExplosive fusedExplosive) static QueryServerEvent.Basic
createQueryServerEventBasic
(Cause cause, InetSocketAddress address, String gameType, String map, String motd, int maxPlayerCount, int playerCount) static QueryServerEvent.Full
createQueryServerEventFull
(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.Auth
createRconConnectionEventAuth
(Cause cause, RconConnection connection) static RconConnectionEvent.Connect
createRconConnectionEventConnect
(Cause cause, RconConnection connection) createRconConnectionEventDisconnect
(Cause cause, RconConnection connection) static RefreshGameEvent
createRefreshGameEvent
(Cause cause, Game game) static ResourcePackStatusEvent
createResourcePackStatusEvent
(Cause cause, ServerSideConnection connection, ResourcePackInfo pack, Optional<ServerPlayer> player, GameProfile profile, ResourcePackStatus status) static RespawnPlayerEvent.Post
createRespawnPlayerEventPost
(Cause cause, ServerWorld destinationWorld, ServerWorld originalWorld, ServerWorld originalDestinationWorld, ServerPlayer entity) 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
(Cause cause, ServerWorld destinationWorld, ServerWorld originalWorld, ServerWorld originalDestinationWorld, ServerPlayer entity) static RideEntityEvent.Dismount
createRideEntityEventDismount
(Cause cause, Entity entity) static RideEntityEvent.Mount
createRideEntityEventMount
(Cause cause, Entity entity) static RotateEntityEvent
createRotateEntityEvent
(Cause cause, Entity entity, Vector3d fromRotation, Vector3d toRotation) static SaveWorldEvent.Post
createSaveWorldEventPost
(Cause cause, ServerWorld world) static SaveWorldEvent.Pre
createSaveWorldEventPre
(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 SetAITargetEvent
createSetAITargetEvent
(Cause cause, Agent agent, Optional<Entity> target) static SleepingEvent.Failed
createSleepingEventFailed
(Cause cause, BlockSnapshot bed, Living living) static SleepingEvent.Finish
createSleepingEventFinish
(Cause cause, ServerLocation fromLocation, ServerLocation toLocation, Vector3d fromRotation, Vector3d toRotation, BlockSnapshot bed, Living living) static SleepingEvent.Pre
createSleepingEventPre
(Cause cause, BlockSnapshot bed, Living living) static SleepingEvent.Tick
createSleepingEventTick
(Cause cause, BlockSnapshot bed, Living living) static SpawnEntityEvent
createSpawnEntityEvent
(Cause cause, List<Entity> entities) static SpawnEntityEvent.Custom
createSpawnEntityEventCustom
(Cause cause, List<Entity> entities) static SpawnEntityEvent.Pre
createSpawnEntityEventPre
(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 StoppedGameEvent
createStoppedGameEvent
(Cause cause, Game game) static <E extends Engine>
StoppingEngineEvent<E> createStoppingEngineEvent
(Cause cause, E engine, Game game, io.leangen.geantyref.TypeToken<E> paramType) static SubjectDataUpdateEvent
createSubjectDataUpdateEvent
(Cause cause, SubjectData updatedData) static SystemMessageEvent
createSystemMessageEvent
(Cause cause, Audience originalAudience, Optional<Audience> audience, Component originalMessage, Component message) static TameEntityEvent
createTameEntityEvent
(Cause cause, Entity entity) static TickBlockEvent.Random
createTickBlockEventRandom
(Cause cause, BlockSnapshot block) static TickBlockEvent.Scheduled
createTickBlockEventScheduled
(Cause cause, BlockSnapshot block) static TransferInventoryEvent.Post
createTransferInventoryEventPost
(Cause cause, Inventory sourceInventory, Slot sourceSlot, Inventory targetInventory, Slot targetSlot, ItemStackSnapshot transferredItem) static TransferInventoryEvent.Pre
createTransferInventoryEventPre
(Cause cause, Inventory sourceInventory, Inventory targetInventory) static UnleashEntityEvent
createUnleashEntityEvent
(Cause cause, Entity entity) static UnloadWorldEvent
createUnloadWorldEvent
(Cause cause, ServerWorld world) static UpdateAnvilEvent
createUpdateAnvilEvent
(Cause cause, Transaction<AnvilCost> costs, Inventory inventory, String itemName, ItemStackSnapshot left, Transaction<ItemStackSnapshot> result, ItemStackSnapshot right) static UseItemStackEvent.Finish
createUseItemStackEventFinish
(Cause cause, Ticks originalRemainingDuration, Ticks remainingDuration, ItemStackSnapshot itemStackInUse) static UseItemStackEvent.Replace
createUseItemStackEventReplace
(Cause cause, Ticks originalRemainingDuration, Ticks remainingDuration, ItemStackSnapshot itemStackInUse, Transaction<ItemStackSnapshot> itemStackResult) static UseItemStackEvent.Reset
createUseItemStackEventReset
(Cause cause, Ticks originalRemainingDuration, Ticks remainingDuration, ItemStackSnapshot itemStackInUse) static UseItemStackEvent.Start
createUseItemStackEventStart
(Cause cause, Ticks originalRemainingDuration, Ticks remainingDuration, ItemStackSnapshot itemStackInUse) static UseItemStackEvent.Stop
createUseItemStackEventStop
(Cause cause, Ticks originalRemainingDuration, Ticks remainingDuration, ItemStackSnapshot itemStackInUse) static UseItemStackEvent.Tick
createUseItemStackEventTick
(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, 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) -
createAttackEntityEvent
public static AttackEntityEvent createAttackEntityEvent(Cause cause, Entity entity, List<DamageFunction> originalFunctions, float knockbackModifier, double originalDamage) -
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) -
createDamageEntityEvent
public static DamageEntityEvent createDamageEntityEvent(Cause cause, Entity entity, List<DamageFunction> originalFunctions, double originalDamage) -
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) -
createInteractContainerEventClose
public static InteractContainerEvent.Close createInteractContainerEventClose(Cause cause, Container container, Transaction<ItemStackSnapshot> cursorTransaction, Inventory inventory, List<SlotTransaction> transactions) -
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)
-