I've been playing around with Entities and decided to make a spawn egg. However, when I used the spawn egg, I got a NullPointerException when I built my EntityType inside of my event subscriber, like so (note the EntityType is built on line 16):
1 //Entities
2 @ObjectHolder("entity_test")
3 public static final EntityType<CreeperEntity> entity_test = null;
4
5 //SpawnEggs
6 @ObjectHolder("spawn_entity_test")
7 public static final Item spawn_entity_test = null;
8