Package net.minecraft.particle
Class EntityEffectParticleEffect
java.lang.Object
net.minecraft.particle.EntityEffectParticleEffect
- All Implemented Interfaces:
ParticleEffect
- Mappings:
Namespace Name official kpintermediary net/minecraft/class_9381named net/minecraft/particle/EntityEffectParticleEffect
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.particle.ParticleEffect
ParticleEffect.Factory<T extends ParticleEffect> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intstatic final ParticleEffect.Factory<EntityEffectParticleEffect> private final ParticleType<? extends EntityEffectParticleEffect> -
Constructor Summary
ConstructorsConstructorDescriptionEntityEffectParticleEffect(ParticleType<? extends EntityEffectParticleEffect> type, int color) -
Method Summary
Modifier and TypeMethodDescriptionasString(RegistryWrapper.WrapperLookup registryLookup) static EntityEffectParticleEffectcreate(ParticleType<? extends EntityEffectParticleEffect> type, float r, float g, float b) static EntityEffectParticleEffectcreate(ParticleType<? extends EntityEffectParticleEffect> type, int color) static com.mojang.serialization.Codec<EntityEffectParticleEffect> static PacketCodec<? super ByteBuf, EntityEffectParticleEffect> floatgetAlpha()floatgetBlue()floatgetGreen()floatgetRed()ParticleType<?> getType()(package private) static inttoInt(float value)
-
Field Details
-
PARAMETERS_FACTORY
- Mappings:
Namespace Name Mixin selector official aLkp;a:Lkv$a;intermediary field_49908Lnet/minecraft/class_9381;field_49908:Lnet/minecraft/class_2394$class_2395;named PARAMETERS_FACTORYLnet/minecraft/particle/EntityEffectParticleEffect;PARAMETERS_FACTORY:Lnet/minecraft/particle/ParticleEffect$Factory;
-
type
- Mappings:
Namespace Name Mixin selector official bLkp;b:Lkw;intermediary field_49909Lnet/minecraft/class_9381;field_49909:Lnet/minecraft/class_2396;named typeLnet/minecraft/particle/EntityEffectParticleEffect;type:Lnet/minecraft/particle/ParticleType;
-
color
private final int color- Mappings:
Namespace Name Mixin selector official cLkp;c:Iintermediary field_49910Lnet/minecraft/class_9381;field_49910:Inamed colorLnet/minecraft/particle/EntityEffectParticleEffect;color:I
-
-
Constructor Details
-
EntityEffectParticleEffect
EntityEffectParticleEffect(ParticleType<? extends EntityEffectParticleEffect> type, int color) - Mappings:
Namespace Name Mixin selector official <init>Lkp;<init>(Lkw;I)Vintermediary <init>Lnet/minecraft/class_9381;<init>(Lnet/minecraft/class_2396;I)Vnamed <init>Lnet/minecraft/particle/EntityEffectParticleEffect;<init>(Lnet/minecraft/particle/ParticleType;I)V
-
-
Method Details
-
createCodec
public static com.mojang.serialization.Codec<EntityEffectParticleEffect> createCodec(ParticleType<EntityEffectParticleEffect> type) - Mappings:
Namespace Name Mixin selector official aLkp;a(Lkw;)Lcom/mojang/serialization/Codec;intermediary method_58254Lnet/minecraft/class_9381;method_58254(Lnet/minecraft/class_2396;)Lcom/mojang/serialization/Codec;named createCodecLnet/minecraft/particle/EntityEffectParticleEffect;createCodec(Lnet/minecraft/particle/ParticleType;)Lcom/mojang/serialization/Codec;
-
createPacketCodec
public static PacketCodec<? super ByteBuf,EntityEffectParticleEffect> createPacketCodec(ParticleType<EntityEffectParticleEffect> type) - Mappings:
Namespace Name Mixin selector official bLkp;b(Lkw;)Lys;intermediary method_58261Lnet/minecraft/class_9381;method_58261(Lnet/minecraft/class_2396;)Lnet/minecraft/class_9139;named createPacketCodecLnet/minecraft/particle/EntityEffectParticleEffect;createPacketCodec(Lnet/minecraft/particle/ParticleType;)Lnet/minecraft/network/codec/PacketCodec;
-
getType
- Specified by:
getTypein interfaceParticleEffect- Mappings:
Namespace Name Mixin selector official aLkv;a()Lkw;intermediary method_10295Lnet/minecraft/class_2394;method_10295()Lnet/minecraft/class_2396;named getTypeLnet/minecraft/particle/ParticleEffect;getType()Lnet/minecraft/particle/ParticleType;
-
asString
- Specified by:
asStringin interfaceParticleEffect- Mappings:
Namespace Name Mixin selector official aLkv;a(Liy$a;)Ljava/lang/String;intermediary method_10293Lnet/minecraft/class_2394;method_10293(Lnet/minecraft/class_7225$class_7874;)Ljava/lang/String;named asStringLnet/minecraft/particle/ParticleEffect;asString(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Ljava/lang/String;
-
getRed
public float getRed()- Mappings:
Namespace Name Mixin selector official bLkp;b()Fintermediary method_58259Lnet/minecraft/class_9381;method_58259()Fnamed getRedLnet/minecraft/particle/EntityEffectParticleEffect;getRed()F
-
getGreen
public float getGreen()- Mappings:
Namespace Name Mixin selector official cLkp;c()Fintermediary method_58263Lnet/minecraft/class_9381;method_58263()Fnamed getGreenLnet/minecraft/particle/EntityEffectParticleEffect;getGreen()F
-
getBlue
public float getBlue()- Mappings:
Namespace Name Mixin selector official dLkp;d()Fintermediary method_58264Lnet/minecraft/class_9381;method_58264()Fnamed getBlueLnet/minecraft/particle/EntityEffectParticleEffect;getBlue()F
-
getAlpha
public float getAlpha()- Mappings:
Namespace Name Mixin selector official eLkp;e()Fintermediary method_58265Lnet/minecraft/class_9381;method_58265()Fnamed getAlphaLnet/minecraft/particle/EntityEffectParticleEffect;getAlpha()F
-
create
public static EntityEffectParticleEffect create(ParticleType<? extends EntityEffectParticleEffect> type, int color) - Mappings:
Namespace Name Mixin selector official aLkp;a(Lkw;I)Lkp;intermediary method_58256Lnet/minecraft/class_9381;method_58256(Lnet/minecraft/class_2396;I)Lnet/minecraft/class_9381;named createLnet/minecraft/particle/EntityEffectParticleEffect;create(Lnet/minecraft/particle/ParticleType;I)Lnet/minecraft/particle/EntityEffectParticleEffect;
-
create
public static EntityEffectParticleEffect create(ParticleType<? extends EntityEffectParticleEffect> type, float r, float g, float b) - Mappings:
Namespace Name Mixin selector official aLkp;a(Lkw;FFF)Lkp;intermediary method_58255Lnet/minecraft/class_9381;method_58255(Lnet/minecraft/class_2396;FFF)Lnet/minecraft/class_9381;named createLnet/minecraft/particle/EntityEffectParticleEffect;create(Lnet/minecraft/particle/ParticleType;FFF)Lnet/minecraft/particle/EntityEffectParticleEffect;
-
toInt
static int toInt(float value) - Mappings:
Namespace Name Mixin selector official aLkp;a(F)Iintermediary method_58252Lnet/minecraft/class_9381;method_58252(F)Inamed toIntLnet/minecraft/particle/EntityEffectParticleEffect;toInt(F)I
-