children;
diff --git a/src/main/java/org/spongepowered/api/event/impl/data/AbstractValueChangeEvent.java b/src/main/java/org/spongepowered/api/event/impl/data/AbstractValueChangeEvent.java
index 34292304fcf..a19d1081fb2 100644
--- a/src/main/java/org/spongepowered/api/event/impl/data/AbstractValueChangeEvent.java
+++ b/src/main/java/org/spongepowered/api/event/impl/data/AbstractValueChangeEvent.java
@@ -26,7 +26,7 @@
import org.spongepowered.api.data.DataTransactionResult;
import org.spongepowered.api.event.data.ChangeDataHolderEvent;
-import org.spongepowered.api.util.annotation.eventgen.UseField;
+import org.spongepowered.eventgen.annotations.UseField;
public abstract class AbstractValueChangeEvent implements ChangeDataHolderEvent.ValueChange {
diff --git a/src/main/java/org/spongepowered/api/event/impl/entity/AbstractAffectEntityEvent.java b/src/main/java/org/spongepowered/api/event/impl/entity/AbstractAffectEntityEvent.java
index 7504abafd55..a6b4d36638c 100644
--- a/src/main/java/org/spongepowered/api/event/impl/entity/AbstractAffectEntityEvent.java
+++ b/src/main/java/org/spongepowered/api/event/impl/entity/AbstractAffectEntityEvent.java
@@ -29,7 +29,7 @@
import org.spongepowered.api.event.Order;
import org.spongepowered.api.event.entity.AffectEntityEvent;
import org.spongepowered.api.event.impl.AbstractEvent;
-import org.spongepowered.api.util.annotation.eventgen.UseField;
+import org.spongepowered.eventgen.annotations.UseField;
import java.util.Collections;
import java.util.List;
diff --git a/src/main/java/org/spongepowered/api/event/impl/entity/AbstractAttackEntityEvent.java b/src/main/java/org/spongepowered/api/event/impl/entity/AbstractAttackEntityEvent.java
index 6d8531e060a..d8f63462257 100644
--- a/src/main/java/org/spongepowered/api/event/impl/entity/AbstractAttackEntityEvent.java
+++ b/src/main/java/org/spongepowered/api/event/impl/entity/AbstractAttackEntityEvent.java
@@ -30,7 +30,7 @@
import org.spongepowered.api.event.cause.entity.damage.ModifierFunction;
import org.spongepowered.api.event.entity.AttackEntityEvent;
import org.spongepowered.api.util.Tuple;
-import org.spongepowered.api.util.annotation.eventgen.UseField;
+import org.spongepowered.eventgen.annotations.UseField;
import java.util.Iterator;
import java.util.List;
diff --git a/src/main/java/org/spongepowered/api/event/impl/entity/AbstractChangeEntityEquipmentEvent.java b/src/main/java/org/spongepowered/api/event/impl/entity/AbstractChangeEntityEquipmentEvent.java
index 20e52426b5d..b1bfdea3ddc 100644
--- a/src/main/java/org/spongepowered/api/event/impl/entity/AbstractChangeEntityEquipmentEvent.java
+++ b/src/main/java/org/spongepowered/api/event/impl/entity/AbstractChangeEntityEquipmentEvent.java
@@ -28,7 +28,7 @@
import org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent;
import org.spongepowered.api.event.impl.AbstractEvent;
import org.spongepowered.api.item.inventory.ItemStackSnapshot;
-import org.spongepowered.api.util.annotation.eventgen.UseField;
+import org.spongepowered.eventgen.annotations.UseField;
public abstract class AbstractChangeEntityEquipmentEvent extends AbstractEvent implements ChangeEntityEquipmentEvent {
diff --git a/src/main/java/org/spongepowered/api/event/impl/entity/AbstractDamageEntityEvent.java b/src/main/java/org/spongepowered/api/event/impl/entity/AbstractDamageEntityEvent.java
index 598d34e222e..55377efb27b 100644
--- a/src/main/java/org/spongepowered/api/event/impl/entity/AbstractDamageEntityEvent.java
+++ b/src/main/java/org/spongepowered/api/event/impl/entity/AbstractDamageEntityEvent.java
@@ -31,7 +31,7 @@
import org.spongepowered.api.event.cause.entity.damage.ModifierFunction;
import org.spongepowered.api.event.entity.DamageEntityEvent;
import org.spongepowered.api.util.Tuple;
-import org.spongepowered.api.util.annotation.eventgen.UseField;
+import org.spongepowered.eventgen.annotations.UseField;
import java.util.Iterator;
import java.util.List;
diff --git a/src/main/java/org/spongepowered/api/event/impl/world/AbstractDetonateEvent.java b/src/main/java/org/spongepowered/api/event/impl/world/AbstractDetonateEvent.java
index 2227b7b165e..7754b29d439 100644
--- a/src/main/java/org/spongepowered/api/event/impl/world/AbstractDetonateEvent.java
+++ b/src/main/java/org/spongepowered/api/event/impl/world/AbstractDetonateEvent.java
@@ -26,7 +26,7 @@
import org.spongepowered.api.event.impl.entity.AbstractAffectEntityEvent;
import org.spongepowered.api.event.world.ExplosionEvent;
-import org.spongepowered.api.util.annotation.eventgen.UseField;
+import org.spongepowered.eventgen.annotations.UseField;
import org.spongepowered.api.world.server.ServerLocation;
import java.util.Collections;
diff --git a/src/main/java/org/spongepowered/api/event/item/inventory/AffectItemStackEvent.java b/src/main/java/org/spongepowered/api/event/item/inventory/AffectItemStackEvent.java
index 6e46aafe463..a24e83a0b30 100644
--- a/src/main/java/org/spongepowered/api/event/item/inventory/AffectItemStackEvent.java
+++ b/src/main/java/org/spongepowered/api/event/item/inventory/AffectItemStackEvent.java
@@ -30,7 +30,7 @@
import org.spongepowered.api.item.inventory.Inventory;
import org.spongepowered.api.item.inventory.ItemStack;
import org.spongepowered.api.item.inventory.ItemStackSnapshot;
-import org.spongepowered.api.util.annotation.eventgen.NoFactoryMethod;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
import java.util.ArrayList;
import java.util.List;
diff --git a/src/main/java/org/spongepowered/api/event/item/inventory/AffectSlotEvent.java b/src/main/java/org/spongepowered/api/event/item/inventory/AffectSlotEvent.java
index ab7d667fd58..197893a448b 100644
--- a/src/main/java/org/spongepowered/api/event/item/inventory/AffectSlotEvent.java
+++ b/src/main/java/org/spongepowered/api/event/item/inventory/AffectSlotEvent.java
@@ -26,7 +26,7 @@
import org.spongepowered.api.item.inventory.ItemStack;
import org.spongepowered.api.item.inventory.transaction.SlotTransaction;
-import org.spongepowered.api.util.annotation.eventgen.NoFactoryMethod;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
import java.util.ArrayList;
import java.util.List;
diff --git a/src/main/java/org/spongepowered/api/event/item/inventory/ChangeInventoryEvent.java b/src/main/java/org/spongepowered/api/event/item/inventory/ChangeInventoryEvent.java
index 0ba10845c86..2936292ea15 100644
--- a/src/main/java/org/spongepowered/api/event/item/inventory/ChangeInventoryEvent.java
+++ b/src/main/java/org/spongepowered/api/event/item/inventory/ChangeInventoryEvent.java
@@ -32,8 +32,8 @@
import org.spongepowered.api.item.inventory.Inventory;
import org.spongepowered.api.item.inventory.ItemStackSnapshot;
import org.spongepowered.api.item.inventory.Slot;
-import org.spongepowered.api.util.annotation.eventgen.GenerateFactoryMethod;
-import org.spongepowered.api.util.annotation.eventgen.PropertySettings;
+import org.spongepowered.eventgen.annotations.GenerateFactoryMethod;
+import org.spongepowered.eventgen.annotations.PropertySettings;
import java.util.List;
import java.util.Optional;
diff --git a/src/main/java/org/spongepowered/api/event/item/inventory/InteractItemEvent.java b/src/main/java/org/spongepowered/api/event/item/inventory/InteractItemEvent.java
index 74ede46988f..98e4c87014f 100644
--- a/src/main/java/org/spongepowered/api/event/item/inventory/InteractItemEvent.java
+++ b/src/main/java/org/spongepowered/api/event/item/inventory/InteractItemEvent.java
@@ -25,6 +25,7 @@
package org.spongepowered.api.event.item.inventory;
import org.spongepowered.api.event.Cancellable;
+import org.spongepowered.api.event.CompositeEvent;
import org.spongepowered.api.event.action.InteractEvent;
import org.spongepowered.api.event.block.InteractBlockEvent;
import org.spongepowered.api.event.entity.InteractEntityEvent;
@@ -64,5 +65,15 @@ interface Primary extends InteractItemEvent {
*
* Vanilla minecraft does not call an event when interacting with an empty hand in air.
*/
- interface Secondary extends InteractItemEvent, Cancellable {}
+ interface Secondary extends InteractItemEvent, Cancellable {
+
+ interface Pre extends Secondary {
+
+ }
+
+ interface Post extends CompositeEvent, Secondary {
+
+ }
+
+ }
}
diff --git a/src/main/java/org/spongepowered/api/event/item/inventory/UpdateAnvilEvent.java b/src/main/java/org/spongepowered/api/event/item/inventory/UpdateAnvilEvent.java
index 3f4f0986feb..98f865043b9 100644
--- a/src/main/java/org/spongepowered/api/event/item/inventory/UpdateAnvilEvent.java
+++ b/src/main/java/org/spongepowered/api/event/item/inventory/UpdateAnvilEvent.java
@@ -30,7 +30,7 @@
import org.spongepowered.api.item.inventory.AnvilCost;
import org.spongepowered.api.item.inventory.Inventory;
import org.spongepowered.api.item.inventory.ItemStackSnapshot;
-import org.spongepowered.api.util.annotation.eventgen.GenerateFactoryMethod;
+import org.spongepowered.eventgen.annotations.GenerateFactoryMethod;
/**
* Fires whenever the left and right slots of an anvil are filled and a new result is computed.
diff --git a/src/main/java/org/spongepowered/api/event/lifecycle/EngineLifecycleEvent.java b/src/main/java/org/spongepowered/api/event/lifecycle/EngineLifecycleEvent.java
index 58cf05f64dd..a420393f18e 100644
--- a/src/main/java/org/spongepowered/api/event/lifecycle/EngineLifecycleEvent.java
+++ b/src/main/java/org/spongepowered/api/event/lifecycle/EngineLifecycleEvent.java
@@ -26,7 +26,7 @@
import org.spongepowered.api.Engine;
import org.spongepowered.api.event.GenericEvent;
-import org.spongepowered.api.util.annotation.eventgen.NoFactoryMethod;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
@NoFactoryMethod
public interface EngineLifecycleEvent extends GenericEvent, LifecycleEvent {
diff --git a/src/main/java/org/spongepowered/api/event/lifecycle/LifecycleEvent.java b/src/main/java/org/spongepowered/api/event/lifecycle/LifecycleEvent.java
index e76643aac7f..21df07bf922 100644
--- a/src/main/java/org/spongepowered/api/event/lifecycle/LifecycleEvent.java
+++ b/src/main/java/org/spongepowered/api/event/lifecycle/LifecycleEvent.java
@@ -26,7 +26,7 @@
import org.spongepowered.api.Game;
import org.spongepowered.api.event.Event;
-import org.spongepowered.api.util.annotation.eventgen.NoFactoryMethod;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
/**
* An event called during the lifetime (start to stop) of a
diff --git a/src/main/java/org/spongepowered/api/event/lifecycle/ProvideServiceEvent.java b/src/main/java/org/spongepowered/api/event/lifecycle/ProvideServiceEvent.java
index bf449d52316..84e088cb051 100644
--- a/src/main/java/org/spongepowered/api/event/lifecycle/ProvideServiceEvent.java
+++ b/src/main/java/org/spongepowered/api/event/lifecycle/ProvideServiceEvent.java
@@ -26,6 +26,7 @@
import org.spongepowered.api.Engine;
import org.spongepowered.api.event.GenericEvent;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
import java.util.function.Supplier;
@@ -47,6 +48,7 @@
*
* @param The service to provide.
*/
+@NoFactoryMethod
public interface ProvideServiceEvent extends GenericEvent, LifecycleEvent {
/**
diff --git a/src/main/java/org/spongepowered/api/event/lifecycle/RegisterBuilderEvent.java b/src/main/java/org/spongepowered/api/event/lifecycle/RegisterBuilderEvent.java
index 5c027aa7ccb..e295e7e7b16 100644
--- a/src/main/java/org/spongepowered/api/event/lifecycle/RegisterBuilderEvent.java
+++ b/src/main/java/org/spongepowered/api/event/lifecycle/RegisterBuilderEvent.java
@@ -26,9 +26,11 @@
import org.spongepowered.api.registry.DuplicateRegistrationException;
import org.spongepowered.api.util.Builder;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
import java.util.function.Supplier;
+@NoFactoryMethod
public interface RegisterBuilderEvent extends LifecycleEvent {
/**
diff --git a/src/main/java/org/spongepowered/api/event/lifecycle/RegisterChannelEvent.java b/src/main/java/org/spongepowered/api/event/lifecycle/RegisterChannelEvent.java
index bb9e3d248be..8c8818ebd7d 100644
--- a/src/main/java/org/spongepowered/api/event/lifecycle/RegisterChannelEvent.java
+++ b/src/main/java/org/spongepowered/api/event/lifecycle/RegisterChannelEvent.java
@@ -27,7 +27,7 @@
import org.spongepowered.api.ResourceKey;
import org.spongepowered.api.network.channel.Channel;
import org.spongepowered.api.registry.DuplicateRegistrationException;
-import org.spongepowered.api.util.annotation.eventgen.NoFactoryMethod;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
/**
* Lifecycle event to indicate when network channels should be created and registered.
diff --git a/src/main/java/org/spongepowered/api/event/lifecycle/RegisterCommandEvent.java b/src/main/java/org/spongepowered/api/event/lifecycle/RegisterCommandEvent.java
index 1fbecd17c14..6640ffb14cf 100644
--- a/src/main/java/org/spongepowered/api/event/lifecycle/RegisterCommandEvent.java
+++ b/src/main/java/org/spongepowered/api/event/lifecycle/RegisterCommandEvent.java
@@ -29,6 +29,7 @@
import org.spongepowered.api.command.manager.CommandMapping;
import org.spongepowered.api.command.registrar.CommandRegistrar;
import org.spongepowered.api.event.GenericEvent;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
import org.spongepowered.plugin.PluginContainer;
/**
@@ -60,6 +61,7 @@
*
* @param The type of command that is being registered.
*/
+@NoFactoryMethod
public interface RegisterCommandEvent extends GenericEvent, LifecycleEvent {
/**
diff --git a/src/main/java/org/spongepowered/api/event/lifecycle/RegisterDataEvent.java b/src/main/java/org/spongepowered/api/event/lifecycle/RegisterDataEvent.java
index 294f0620ffe..a34d4d9147b 100644
--- a/src/main/java/org/spongepowered/api/event/lifecycle/RegisterDataEvent.java
+++ b/src/main/java/org/spongepowered/api/event/lifecycle/RegisterDataEvent.java
@@ -26,7 +26,7 @@
import org.spongepowered.api.data.DataManager;
import org.spongepowered.api.data.DataRegistration;
-import org.spongepowered.api.util.annotation.eventgen.NoFactoryMethod;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
/**
* Lifecycle event for registering custom {@link DataRegistration data} within the {@link DataManager}.
diff --git a/src/main/java/org/spongepowered/api/event/lifecycle/RegisterDataPackValueEvent.java b/src/main/java/org/spongepowered/api/event/lifecycle/RegisterDataPackValueEvent.java
index eb92a194c1a..3aaaff4c914 100644
--- a/src/main/java/org/spongepowered/api/event/lifecycle/RegisterDataPackValueEvent.java
+++ b/src/main/java/org/spongepowered/api/event/lifecycle/RegisterDataPackValueEvent.java
@@ -27,7 +27,7 @@
import org.spongepowered.api.datapack.DataPackEntry;
import org.spongepowered.api.datapack.DataPackType;
import org.spongepowered.api.event.GenericEvent;
-import org.spongepowered.api.util.annotation.eventgen.NoFactoryMethod;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
@SuppressWarnings("rawtypes")
@NoFactoryMethod
diff --git a/src/main/java/org/spongepowered/api/event/lifecycle/RegisterFactoryEvent.java b/src/main/java/org/spongepowered/api/event/lifecycle/RegisterFactoryEvent.java
index dab7e6222a9..c54152ea77d 100644
--- a/src/main/java/org/spongepowered/api/event/lifecycle/RegisterFactoryEvent.java
+++ b/src/main/java/org/spongepowered/api/event/lifecycle/RegisterFactoryEvent.java
@@ -25,7 +25,9 @@
package org.spongepowered.api.event.lifecycle;
import org.spongepowered.api.registry.DuplicateRegistrationException;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
+@NoFactoryMethod
public interface RegisterFactoryEvent extends LifecycleEvent {
/**
diff --git a/src/main/java/org/spongepowered/api/event/lifecycle/RegisterRegistryEvent.java b/src/main/java/org/spongepowered/api/event/lifecycle/RegisterRegistryEvent.java
index 562da7f2adc..85a176c7fde 100644
--- a/src/main/java/org/spongepowered/api/event/lifecycle/RegisterRegistryEvent.java
+++ b/src/main/java/org/spongepowered/api/event/lifecycle/RegisterRegistryEvent.java
@@ -30,10 +30,12 @@
import org.spongepowered.api.registry.DuplicateRegistrationException;
import org.spongepowered.api.registry.Registry;
import org.spongepowered.api.registry.RegistryType;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
import java.util.Map;
import java.util.function.Supplier;
+@NoFactoryMethod
public interface RegisterRegistryEvent extends LifecycleEvent {
/**
diff --git a/src/main/java/org/spongepowered/api/event/lifecycle/RegisterRegistryValueEvent.java b/src/main/java/org/spongepowered/api/event/lifecycle/RegisterRegistryValueEvent.java
index d8129480980..c54883a67f1 100644
--- a/src/main/java/org/spongepowered/api/event/lifecycle/RegisterRegistryValueEvent.java
+++ b/src/main/java/org/spongepowered/api/event/lifecycle/RegisterRegistryValueEvent.java
@@ -29,7 +29,9 @@
import org.spongepowered.api.event.GenericEvent;
import org.spongepowered.api.registry.DefaultedRegistryValue;
import org.spongepowered.api.registry.RegistryType;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
+@NoFactoryMethod
public interface RegisterRegistryValueEvent extends LifecycleEvent {
RegistryStep registry(RegistryType registryType);
diff --git a/src/main/java/org/spongepowered/api/event/message/AudienceMessageEvent.java b/src/main/java/org/spongepowered/api/event/message/AudienceMessageEvent.java
index 654f183e9e4..80ee098351c 100644
--- a/src/main/java/org/spongepowered/api/event/message/AudienceMessageEvent.java
+++ b/src/main/java/org/spongepowered/api/event/message/AudienceMessageEvent.java
@@ -28,7 +28,7 @@
import net.kyori.adventure.text.Component;
import org.checkerframework.checker.nullness.qual.Nullable;
import org.spongepowered.api.adventure.Audiences;
-import org.spongepowered.api.util.annotation.eventgen.NoFactoryMethod;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
import java.util.Optional;
import java.util.function.Predicate;
diff --git a/src/main/java/org/spongepowered/api/event/message/MessageCancellable.java b/src/main/java/org/spongepowered/api/event/message/MessageCancellable.java
index 2ff2850ee4e..3f16ffeced2 100644
--- a/src/main/java/org/spongepowered/api/event/message/MessageCancellable.java
+++ b/src/main/java/org/spongepowered/api/event/message/MessageCancellable.java
@@ -25,7 +25,7 @@
package org.spongepowered.api.event.message;
import net.kyori.adventure.text.Component;
-import org.spongepowered.api.util.annotation.eventgen.NoFactoryMethod;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
/**
* Represents an event whose message can be cancelled.
diff --git a/src/main/java/org/spongepowered/api/event/message/MessageEvent.java b/src/main/java/org/spongepowered/api/event/message/MessageEvent.java
index 814f3ecc458..389e160f54a 100644
--- a/src/main/java/org/spongepowered/api/event/message/MessageEvent.java
+++ b/src/main/java/org/spongepowered/api/event/message/MessageEvent.java
@@ -26,7 +26,7 @@
import net.kyori.adventure.text.Component;
import org.spongepowered.api.event.Event;
-import org.spongepowered.api.util.annotation.eventgen.NoFactoryMethod;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
/**
* Describes events when a involving a {@link Component} message.
diff --git a/src/main/java/org/spongepowered/api/event/message/PlayerChatEvent.java b/src/main/java/org/spongepowered/api/event/message/PlayerChatEvent.java
index ff4ab709be0..51d900df732 100644
--- a/src/main/java/org/spongepowered/api/event/message/PlayerChatEvent.java
+++ b/src/main/java/org/spongepowered/api/event/message/PlayerChatEvent.java
@@ -30,7 +30,7 @@
import org.spongepowered.api.event.Cancellable;
import org.spongepowered.api.event.Cause;
import org.spongepowered.api.registry.RegistryReference;
-import org.spongepowered.api.util.annotation.eventgen.NoFactoryMethod;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
import java.util.Optional;
import java.util.function.Predicate;
@@ -39,7 +39,7 @@
* Fired when sending a chat message.
* To modify the message use {@link Decorate}.
*/
-@NoFactoryMethod
+@NoFactoryMethod(ignoreNested = true)
public interface PlayerChatEvent extends MessageEvent {
/**
diff --git a/src/main/java/org/spongepowered/api/event/network/ServerSideConnectionEvent.java b/src/main/java/org/spongepowered/api/event/network/ServerSideConnectionEvent.java
index a23d58b2139..a755bcfc3f0 100644
--- a/src/main/java/org/spongepowered/api/event/network/ServerSideConnectionEvent.java
+++ b/src/main/java/org/spongepowered/api/event/network/ServerSideConnectionEvent.java
@@ -38,7 +38,7 @@
import org.spongepowered.api.profile.GameProfile;
import org.spongepowered.api.service.ban.BanService;
import org.spongepowered.api.service.whitelist.WhitelistService;
-import org.spongepowered.api.util.annotation.eventgen.NoFactoryMethod;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
import org.spongepowered.api.world.server.ServerLocation;
import org.spongepowered.api.world.server.ServerWorld;
import org.spongepowered.math.vector.Vector3d;
diff --git a/src/main/java/org/spongepowered/api/event/package-info.java b/src/main/java/org/spongepowered/api/event/package-info.java
index 9d12180f851..e5d13b53794 100644
--- a/src/main/java/org/spongepowered/api/event/package-info.java
+++ b/src/main/java/org/spongepowered/api/event/package-info.java
@@ -22,5 +22,10 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
-@org.checkerframework.framework.qual.DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
+@NoFactoryMethod(ignoreNested = true)
+@DefaultQualifier(NonNull.class)
package org.spongepowered.api.event;
+
+import org.checkerframework.checker.nullness.qual.NonNull;
+import org.checkerframework.framework.qual.DefaultQualifier;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
diff --git a/src/main/java/org/spongepowered/api/event/server/ClientPingServerEvent.java b/src/main/java/org/spongepowered/api/event/server/ClientPingServerEvent.java
index 1181ae82d32..61cbbd29d73 100644
--- a/src/main/java/org/spongepowered/api/event/server/ClientPingServerEvent.java
+++ b/src/main/java/org/spongepowered/api/event/server/ClientPingServerEvent.java
@@ -33,8 +33,8 @@
import org.spongepowered.api.network.status.StatusClient;
import org.spongepowered.api.network.status.StatusResponse;
import org.spongepowered.api.profile.GameProfile;
-import org.spongepowered.api.util.annotation.eventgen.GenerateFactoryMethod;
-import org.spongepowered.api.util.annotation.eventgen.NoFactoryMethod;
+import org.spongepowered.eventgen.annotations.GenerateFactoryMethod;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
import java.util.List;
import java.util.Optional;
diff --git a/src/main/java/org/spongepowered/api/event/user/BanUserEvent.java b/src/main/java/org/spongepowered/api/event/user/BanUserEvent.java
index 6fadd6153b7..39ec4bb4bf6 100644
--- a/src/main/java/org/spongepowered/api/event/user/BanUserEvent.java
+++ b/src/main/java/org/spongepowered/api/event/user/BanUserEvent.java
@@ -27,7 +27,7 @@
import org.spongepowered.api.entity.living.player.User;
import org.spongepowered.api.event.Event;
import org.spongepowered.api.service.ban.Ban;
-import org.spongepowered.api.util.annotation.eventgen.GenerateFactoryMethod;
+import org.spongepowered.eventgen.annotations.GenerateFactoryMethod;
/**
* Occurs when a user is banned.
diff --git a/src/main/java/org/spongepowered/api/event/user/PardonUserEvent.java b/src/main/java/org/spongepowered/api/event/user/PardonUserEvent.java
index 39473f80212..72278efaa50 100644
--- a/src/main/java/org/spongepowered/api/event/user/PardonUserEvent.java
+++ b/src/main/java/org/spongepowered/api/event/user/PardonUserEvent.java
@@ -27,7 +27,7 @@
import org.spongepowered.api.entity.living.player.User;
import org.spongepowered.api.event.Event;
import org.spongepowered.api.service.ban.Ban;
-import org.spongepowered.api.util.annotation.eventgen.GenerateFactoryMethod;
+import org.spongepowered.eventgen.annotations.GenerateFactoryMethod;
/**
* Occurs when a user is pardoned.
diff --git a/src/main/java/org/spongepowered/api/event/world/ChangeWorldBorderEvent.java b/src/main/java/org/spongepowered/api/event/world/ChangeWorldBorderEvent.java
index 66c3affcc74..8d1cac64bd8 100644
--- a/src/main/java/org/spongepowered/api/event/world/ChangeWorldBorderEvent.java
+++ b/src/main/java/org/spongepowered/api/event/world/ChangeWorldBorderEvent.java
@@ -27,7 +27,7 @@
import org.spongepowered.api.entity.living.player.server.ServerPlayer;
import org.spongepowered.api.event.Cancellable;
import org.spongepowered.api.event.Event;
-import org.spongepowered.api.util.annotation.eventgen.NoFactoryMethod;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
import org.spongepowered.api.world.border.WorldBorder;
import org.spongepowered.api.world.server.ServerWorld;
diff --git a/src/main/java/org/spongepowered/api/event/world/ExplosionEvent.java b/src/main/java/org/spongepowered/api/event/world/ExplosionEvent.java
index 86322fdf353..f27fdead9cc 100644
--- a/src/main/java/org/spongepowered/api/event/world/ExplosionEvent.java
+++ b/src/main/java/org/spongepowered/api/event/world/ExplosionEvent.java
@@ -28,8 +28,8 @@
import org.spongepowered.api.event.Event;
import org.spongepowered.api.event.entity.AffectEntityEvent;
import org.spongepowered.api.event.impl.world.AbstractDetonateEvent;
-import org.spongepowered.api.util.annotation.eventgen.ImplementedBy;
-import org.spongepowered.api.util.annotation.eventgen.PropertySettings;
+import org.spongepowered.eventgen.annotations.ImplementedBy;
+import org.spongepowered.eventgen.annotations.PropertySettings;
import org.spongepowered.api.world.World;
import org.spongepowered.api.world.explosion.Explosion;
import org.spongepowered.api.world.server.ServerLocation;
diff --git a/src/main/java/org/spongepowered/api/event/world/chunk/ChunkEvent.java b/src/main/java/org/spongepowered/api/event/world/chunk/ChunkEvent.java
index 09358b7d35a..5c26ae49b76 100644
--- a/src/main/java/org/spongepowered/api/event/world/chunk/ChunkEvent.java
+++ b/src/main/java/org/spongepowered/api/event/world/chunk/ChunkEvent.java
@@ -27,7 +27,7 @@
import org.spongepowered.api.ResourceKey;
import org.spongepowered.api.event.Cancellable;
import org.spongepowered.api.event.Event;
-import org.spongepowered.api.util.annotation.eventgen.NoFactoryMethod;
+import org.spongepowered.eventgen.annotations.NoFactoryMethod;
import org.spongepowered.api.world.World;
import org.spongepowered.api.world.chunk.BlockChunk;
import org.spongepowered.api.world.chunk.Chunk;