类 ClientboundUpdateAttributesPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundUpdateAttributesPacket
- 所有已实现的接口:
Packet<ClientGamePacketListener>
public class ClientboundUpdateAttributesPacket
extends Object
implements Packet<ClientGamePacketListener>
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private final List
<ClientboundUpdateAttributesPacket.AttributeSnapshot> private final int
-
构造器概要
构造器限定符构造器说明ClientboundUpdateAttributesPacket
(int p_133580_, Collection<AttributeInstance> p_133581_) private
ClientboundUpdateAttributesPacket
(int p_320052_, List<ClientboundUpdateAttributesPacket.AttributeSnapshot> p_320480_) -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
字段详细资料
-
STREAM_CODEC
public static final StreamCodec<RegistryFriendlyByteBuf,ClientboundUpdateAttributesPacket> STREAM_CODEC -
entityId
private final int entityId -
attributes
-
-
构造器详细资料
-
ClientboundUpdateAttributesPacket
-
ClientboundUpdateAttributesPacket
private ClientboundUpdateAttributesPacket(int p_320052_, List<ClientboundUpdateAttributesPacket.AttributeSnapshot> p_320480_)
-
-
方法详细资料
-
type
- 指定者:
type
在接口中Packet<ClientGamePacketListener>
-
handle
- 指定者:
handle
在接口中Packet<ClientGamePacketListener>
-
getEntityId
public int getEntityId() -
getValues
-