类 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.
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static @Nullable FireworkShapeFactoryRegistry.Factory
get
(FireworkExplosion.Shape shape) static void
register
(FireworkExplosion.Shape shape, FireworkShapeFactoryRegistry.Factory factory)
-
字段详细资料
-
factories
-
-
构造器详细资料
-
FireworkShapeFactoryRegistry
public FireworkShapeFactoryRegistry()
-
-
方法详细资料
-
register
public static void register(FireworkExplosion.Shape shape, FireworkShapeFactoryRegistry.Factory factory) -
get
@Nullable public static @Nullable FireworkShapeFactoryRegistry.Factory get(FireworkExplosion.Shape shape)
-