Class EntityStatusEffectS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.EntityStatusEffectS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class EntityStatusEffectS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official snintermediary net/minecraft/class_2783named net/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket
-
Field Summary
-
Constructor Summary
Constructors Constructor Description EntityStatusEffectS2CPacket()EntityStatusEffectS2CPacket(int entityId, StatusEffectInstance effect) -
Method Summary
Modifier and Type Method Description voidapply(ClientPlayPacketListener clientPlayPacketListener)bytegetAmplifier()intgetDuration()bytegetEffectId()intgetEntityId()booleanisAmbient()booleanisPermanent()voidread(PacketByteBuf buf)booleanshouldShowIcon()booleanshouldShowParticles()voidwrite(PacketByteBuf buf)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
entityId
private int entityId- Mappings:
Namespace Name Mixin selector official aLsn;a:Iintermediary field_12727Lnet/minecraft/class_2783;field_12727:Inamed entityIdLnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;entityId:I
-
effectId
private byte effectId- Mappings:
Namespace Name Mixin selector official bLsn;b:Bintermediary field_12725Lnet/minecraft/class_2783;field_12725:Bnamed effectIdLnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;effectId:B
-
amplifier
private byte amplifier- Mappings:
Namespace Name Mixin selector official cLsn;c:Bintermediary field_12729Lnet/minecraft/class_2783;field_12729:Bnamed amplifierLnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;amplifier:B
-
duration
private int duration- Mappings:
Namespace Name Mixin selector official dLsn;d:Iintermediary field_12726Lnet/minecraft/class_2783;field_12726:Inamed durationLnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;duration:I
-
flags
private byte flags- Mappings:
Namespace Name Mixin selector official eLsn;e:Bintermediary field_12728Lnet/minecraft/class_2783;field_12728:Bnamed flagsLnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;flags:B
-
-
Constructor Details
-
EntityStatusEffectS2CPacket
public EntityStatusEffectS2CPacket() -
EntityStatusEffectS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>Lsn;<init>(ILaqp;)Vintermediary <init>Lnet/minecraft/class_2783;<init>(ILnet/minecraft/class_1293;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;<init>(ILnet/minecraft/entity/effect/StatusEffectInstance;)V
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLpa;a(Lnw;)Vintermediary method_11053Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLpa;b(Lnw;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
isPermanent
- Mappings:
Namespace Name Mixin selector official bLsn;b()Zintermediary method_11947Lnet/minecraft/class_2783;method_11947()Znamed isPermanentLnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;isPermanent()Z
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLsn;a(Lpd;)Vintermediary method_11948Lnet/minecraft/class_2783;method_11948(Lnet/minecraft/class_2602;)Vnamed applyLnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getEntityId
- Mappings:
Namespace Name Mixin selector official cLsn;c()Iintermediary method_11943Lnet/minecraft/class_2783;method_11943()Inamed getEntityIdLnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;getEntityId()I
-
getEffectId
- Mappings:
Namespace Name Mixin selector official dLsn;d()Bintermediary method_11946Lnet/minecraft/class_2783;method_11946()Bnamed getEffectIdLnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;getEffectId()B
-
getAmplifier
- Mappings:
Namespace Name Mixin selector official eLsn;e()Bintermediary method_11945Lnet/minecraft/class_2783;method_11945()Bnamed getAmplifierLnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;getAmplifier()B
-
getDuration
- Mappings:
Namespace Name Mixin selector official fLsn;f()Iintermediary method_11944Lnet/minecraft/class_2783;method_11944()Inamed getDurationLnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;getDuration()I
-
shouldShowParticles
- Mappings:
Namespace Name Mixin selector official gLsn;g()Zintermediary method_11949Lnet/minecraft/class_2783;method_11949()Znamed shouldShowParticlesLnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;shouldShowParticles()Z
-
isAmbient
- Mappings:
Namespace Name Mixin selector official hLsn;h()Zintermediary method_11950Lnet/minecraft/class_2783;method_11950()Znamed isAmbientLnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;isAmbient()Z
-
shouldShowIcon
- Mappings:
Namespace Name Mixin selector official iLsn;i()Zintermediary method_11942Lnet/minecraft/class_2783;method_11942()Znamed shouldShowIconLnet/minecraft/network/packet/s2c/play/EntityStatusEffectS2CPacket;shouldShowIcon()Z
-