Package net.neoforged.neoforge.client
Class FireworkShapeFactoryRegistry
java.lang.Object
net.neoforged.neoforge.client.FireworkShapeFactoryRegistry
Keeps track of custom firework shape types, because Particle is client side only this can't be on the Shape itself.
 So sometime during your client initalization call register.
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Map<FireworkRocketItem.Shape,FireworkShapeFactoryRegistry.Factory>  - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable FireworkShapeFactoryRegistry.Factoryget(FireworkRocketItem.Shape shape) static voidregister(FireworkRocketItem.Shape shape, FireworkShapeFactoryRegistry.Factory factory)  
- 
Field Details
- 
factories
 
 - 
 - 
Constructor Details
- 
FireworkShapeFactoryRegistry
public FireworkShapeFactoryRegistry() 
 - 
 - 
Method Details
- 
register
public static void register(FireworkRocketItem.Shape shape, FireworkShapeFactoryRegistry.Factory factory)  - 
get
@Nullable public static @Nullable FireworkShapeFactoryRegistry.Factory get(FireworkRocketItem.Shape shape)  
 -