类 ParticleType<T extends ParticleEffect>

  • 直接已知子类:
    DefaultParticleType

    public abstract class ParticleType<T extends ParticleEffect>
    extends Object
    Mappings:
    Namespace Name
    official hp
    intermediary net/minecraft/class_2396
    named net/minecraft/particle/ParticleType
    • 字段详细资料

      • alwaysShow

        private final boolean alwaysShow
        Mappings:
        Namespace Name Mixin selector
        official a Lhp;a:Z
        intermediary field_11196 Lnet/minecraft/class_2396;field_11196:Z
        named alwaysShow Lnet/minecraft/particle/ParticleType;alwaysShow:Z
      • parametersFactory

        private final ParticleEffect.Factory<T extends ParticleEffect> parametersFactory
        Mappings:
        Namespace Name Mixin selector
        official b Lhp;b:Lho$a;
        intermediary field_11197 Lnet/minecraft/class_2396;field_11197:Lnet/minecraft/class_2394$class_2395;
        named parametersFactory Lnet/minecraft/particle/ParticleType;parametersFactory:Lnet/minecraft/particle/ParticleEffect$Factory;
    • 构造器详细资料

      • ParticleType

        protected ParticleType​(boolean alwaysShow,
                               ParticleEffect.Factory<T> parametersFactory)
        参数:
        alwaysShow - whether this particle type should appear regardless of particle mode
        Mappings:
        Namespace Name Mixin selector
        official <init> Lhp;<init>(ZLho$a;)V
        intermediary <init> Lnet/minecraft/class_2396;<init>(ZLnet/minecraft/class_2394$class_2395;)V
        named <init> Lnet/minecraft/particle/ParticleType;<init>(ZLnet/minecraft/particle/ParticleEffect$Factory;)V
    • 方法详细资料

      • shouldAlwaysSpawn

        public boolean shouldAlwaysSpawn()
        Mappings:
        Namespace Name Mixin selector
        official c Lhp;c()Z
        intermediary method_10299 Lnet/minecraft/class_2396;method_10299()Z
        named shouldAlwaysSpawn Lnet/minecraft/particle/ParticleType;shouldAlwaysSpawn()Z
      • getParametersFactory

        public ParticleEffect.Factory<T> getParametersFactory()
        Mappings:
        Namespace Name Mixin selector
        official d Lhp;d()Lho$a;
        intermediary method_10298 Lnet/minecraft/class_2396;method_10298()Lnet/minecraft/class_2394$class_2395;
        named getParametersFactory Lnet/minecraft/particle/ParticleType;getParametersFactory()Lnet/minecraft/particle/ParticleEffect$Factory;
      • getCodec

        public abstract com.mojang.serialization.Codec<T> getCodec()
        Mappings:
        Namespace Name Mixin selector
        official e Lhp;e()Lcom/mojang/serialization/Codec;
        intermediary method_29138 Lnet/minecraft/class_2396;method_29138()Lcom/mojang/serialization/Codec;
        named getCodec Lnet/minecraft/particle/ParticleType;getCodec()Lcom/mojang/serialization/Codec;