类 ChunkDeltaUpdateS2CPacket
- java.lang.Object
-
- net.minecraft.network.packet.s2c.play.ChunkDeltaUpdateS2CPacket
-
- 所有已实现的接口:
Packet<ClientPlayPacketListener>
public class ChunkDeltaUpdateS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official rrintermediary net/minecraft/class_2637named net/minecraft/network/packet/s2c/play/ChunkDeltaUpdateS2CPacket
-
-
字段概要
字段 修饰符和类型 字段 说明 private BlockState[]blockStatesprivate static intfield_33341private booleannoLightingUpdatesprivate short[]positionsThe packed local positions for each entry inblockStates.private ChunkSectionPossectionPos
-
构造器概要
构造器 构造器 说明 ChunkDeltaUpdateS2CPacket(PacketByteBuf buf)ChunkDeltaUpdateS2CPacket(ChunkSectionPos sectionPos, ShortSet positions, ChunkSection section, boolean noLightingUpdates)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidapply(ClientPlayPacketListener clientPlayPacketListener)booleanshouldSkipLightingUpdates()voidvisitUpdates(BiConsumer<BlockPos,BlockState> biConsumer)Calls the given consumer for each pair of block position and block state contained in this packet.voidwrite(PacketByteBuf buf)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.network.Packet
isWritingErrorSkippable
-
-
-
-
字段详细资料
-
field_33341
private static final int field_33341
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLrr;a:Iintermediary field_33341Lnet/minecraft/class_2637;field_33341:Inamed field_33341Lnet/minecraft/network/packet/s2c/play/ChunkDeltaUpdateS2CPacket;field_33341:I
-
sectionPos
private final ChunkSectionPos sectionPos
- Mappings:
Namespace Name Mixin selector official bLrr;b:Lgu;intermediary field_26345Lnet/minecraft/class_2637;field_26345:Lnet/minecraft/class_4076;named sectionPosLnet/minecraft/network/packet/s2c/play/ChunkDeltaUpdateS2CPacket;sectionPos:Lnet/minecraft/util/math/ChunkSectionPos;
-
positions
private final short[] positions
The packed local positions for each entry inblockStates.- 另请参阅:
ChunkSectionPos.packLocal(BlockPos)- Mappings:
Namespace Name Mixin selector official cLrr;c:[Sintermediary field_26346Lnet/minecraft/class_2637;field_26346:[Snamed positionsLnet/minecraft/network/packet/s2c/play/ChunkDeltaUpdateS2CPacket;positions:[S
-
blockStates
private final BlockState[] blockStates
- Mappings:
Namespace Name Mixin selector official dLrr;d:[Lcjr;intermediary field_26347Lnet/minecraft/class_2637;field_26347:[Lnet/minecraft/class_2680;named blockStatesLnet/minecraft/network/packet/s2c/play/ChunkDeltaUpdateS2CPacket;blockStates:[Lnet/minecraft/block/BlockState;
-
noLightingUpdates
private final boolean noLightingUpdates
- Mappings:
Namespace Name Mixin selector official eLrr;e:Zintermediary field_26749Lnet/minecraft/class_2637;field_26749:Znamed noLightingUpdatesLnet/minecraft/network/packet/s2c/play/ChunkDeltaUpdateS2CPacket;noLightingUpdates:Z
-
-
构造器详细资料
-
ChunkDeltaUpdateS2CPacket
public ChunkDeltaUpdateS2CPacket(ChunkSectionPos sectionPos, ShortSet positions, ChunkSection section, boolean noLightingUpdates)
- 参数:
sectionPos- the position of the given chunk section that will be sent to the client- Mappings:
Namespace Name Mixin selector official <init>Lrr;<init>(Lgu;Lit/unimi/dsi/fastutil/shorts/ShortSet;Lclw;Z)Vintermediary <init>Lnet/minecraft/class_2637;<init>(Lnet/minecraft/class_4076;Lit/unimi/dsi/fastutil/shorts/ShortSet;Lnet/minecraft/class_2826;Z)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/ChunkDeltaUpdateS2CPacket;<init>(Lnet/minecraft/util/math/ChunkSectionPos;Lit/unimi/dsi/fastutil/shorts/ShortSet;Lnet/minecraft/world/chunk/ChunkSection;Z)V
-
ChunkDeltaUpdateS2CPacket
public ChunkDeltaUpdateS2CPacket(PacketByteBuf buf)
- Mappings:
Namespace Name Mixin selector official <init>Lrr;<init>(Lob;)Vintermediary <init>Lnet/minecraft/class_2637;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/ChunkDeltaUpdateS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
方法详细资料
-
write
public void write(PacketByteBuf buf)
- 指定者:
write在接口中Packet<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLpf;a(Lob;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
public void apply(ClientPlayPacketListener clientPlayPacketListener)
- 指定者:
apply在接口中Packet<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLrr;a(Lpi;)Vintermediary method_11392Lnet/minecraft/class_2637;method_11392(Lnet/minecraft/class_2602;)Vnamed applyLnet/minecraft/network/packet/s2c/play/ChunkDeltaUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
visitUpdates
public void visitUpdates(BiConsumer<BlockPos,BlockState> biConsumer)
Calls the given consumer for each pair of block position and block state contained in this packet.- Mappings:
Namespace Name Mixin selector official aLrr;a(Ljava/util/function/BiConsumer;)Vintermediary method_30621Lnet/minecraft/class_2637;method_30621(Ljava/util/function/BiConsumer;)Vnamed visitUpdatesLnet/minecraft/network/packet/s2c/play/ChunkDeltaUpdateS2CPacket;visitUpdates(Ljava/util/function/BiConsumer;)V
-
shouldSkipLightingUpdates
public boolean shouldSkipLightingUpdates()
- Mappings:
Namespace Name Mixin selector official bLrr;b()Zintermediary method_31179Lnet/minecraft/class_2637;method_31179()Znamed shouldSkipLightingUpdatesLnet/minecraft/network/packet/s2c/play/ChunkDeltaUpdateS2CPacket;shouldSkipLightingUpdates()Z
-
-