Package net.minecraftforge.client
Class FireworkShapeFactoryRegistry
java.lang.Object
net.minecraftforge.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 SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final Map<FireworkRocketItem.Shape,FireworkShapeFactoryRegistry.Factory> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic @Nullable FireworkShapeFactoryRegistry.Factoryget(FireworkRocketItem.Shape shape) static voidregister(FireworkRocketItem.Shape shape, FireworkShapeFactoryRegistry.Factory factory) 
- 
Field Details- 
factories
 
- 
- 
Constructor Details- 
FireworkShapeFactoryRegistrypublic FireworkShapeFactoryRegistry()
 
- 
- 
Method Details- 
registerpublic static void register(FireworkRocketItem.Shape shape, FireworkShapeFactoryRegistry.Factory factory) 
- 
get@Nullable public static @Nullable FireworkShapeFactoryRegistry.Factory get(FireworkRocketItem.Shape shape) 
 
-