2424 */
2525package org .spongepowered .api .registry ;
2626
27- import org .checkerframework .checker .nullness .qual .NonNull ;
2827import org .spongepowered .api .ResourceKey ;
2928import org .spongepowered .api .Sponge ;
3029import org .spongepowered .api .advancement .Advancement ;
103102import org .spongepowered .api .effect .potion .PotionEffectType ;
104103import org .spongepowered .api .effect .sound .SoundType ;
105104import org .spongepowered .api .effect .sound .music .MusicDisc ;
106- import org .spongepowered .api .entity .Entity ;
107105import org .spongepowered .api .entity .EntityCategory ;
108106import org .spongepowered .api .entity .EntityType ;
109107import org .spongepowered .api .entity .ai .goal .GoalExecutorType ;
@@ -234,7 +232,7 @@ public final class RegistryTypes {
234232
235233 public static final DefaultedRegistryType <EntityCategory > ENTITY_CATEGORY = RegistryTypes .spongeKeyInGame ("mob_category" );
236234
237- public static final DefaultedRegistryType <EntityType <? extends @ NonNull Entity >> ENTITY_TYPE = RegistryTypes .minecraftKeyInGame ("entity_type" );
235+ public static final DefaultedRegistryType <EntityType <?>> ENTITY_TYPE = RegistryTypes .minecraftKeyInGame ("entity_type" );
238236
239237 public static final DefaultedRegistryType <Feature > FEATURE = RegistryTypes .minecraftKeyInServer ("worldgen/configured_feature" );
240238
@@ -270,7 +268,7 @@ public final class RegistryTypes {
270268
271269 public static final DefaultedRegistryType <PotionType > POTION_TYPE = RegistryTypes .minecraftKeyInGame ("potion" );
272270
273- public static final DefaultedRegistryType <RecipeType <? extends @ NonNull Recipe <?> >> RECIPE_TYPE = RegistryTypes .minecraftKeyInGame ("recipe_type" );
271+ public static final DefaultedRegistryType <RecipeType <?>> RECIPE_TYPE = RegistryTypes .minecraftKeyInGame ("recipe_type" );
274272
275273 public static final DefaultedRegistryType <SoundType > SOUND_TYPE = RegistryTypes .minecraftKeyInGame ("sound_event" );
276274
@@ -284,7 +282,7 @@ public final class RegistryTypes {
284282
285283 public static final DefaultedRegistryType <StructureType > STRUCTURE_TYPE = RegistryTypes .minecraftKeyInGame ("worldgen/structure_type" );
286284
287- public static final DefaultedRegistryType <Trigger <? extends @ NonNull Object >> TRIGGER = RegistryTypes .minecraftKeyInGame ("trigger_type" );
285+ public static final DefaultedRegistryType <Trigger <?>> TRIGGER = RegistryTypes .minecraftKeyInGame ("trigger_type" );
288286
289287 public static final DefaultedRegistryType <TrimMaterial > TRIM_MATERIAL = RegistryTypes .minecraftKeyInServer ("trim_material" );
290288
@@ -337,7 +335,7 @@ public final class RegistryTypes {
337335
338336 public static final DefaultedRegistryType <CommandRegistrarType <?>> COMMAND_REGISTRAR_TYPE = RegistryTypes .spongeKeyInGame ("command_registrar_type" );
339337
340- public static final DefaultedRegistryType <CommandTreeNodeType <? extends @ NonNull Object >> COMMAND_TREE_NODE_TYPE = RegistryTypes .spongeKeyInServer ("command_tree_node_type" );
338+ public static final DefaultedRegistryType <CommandTreeNodeType <?>> COMMAND_TREE_NODE_TYPE = RegistryTypes .spongeKeyInServer ("command_tree_node_type" );
341339
342340 public static final DefaultedRegistryType <ComparatorMode > COMPARATOR_MODE = RegistryTypes .spongeKeyInGame ("comparator_mode" );
343341
0 commit comments