Class SMultiBlockChangePacket
java.lang.Object
net.minecraft.network.play.server.SMultiBlockChangePacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Field Summary
Modifier and TypeFieldDescriptionprivate short[]
private SectionPos
private BlockState[]
private boolean
-
Constructor Summary
ConstructorDescriptionSMultiBlockChangePacket
(SectionPos p_i242085_1_, it.unimi.dsi.fastutil.shorts.ShortSet p_i242085_2_, ChunkSection p_i242085_3_, boolean p_i242085_4_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(IClientPlayNetHandler p_148833_1_) private void
initFields
(int p_244309_1_) void
read
(PacketBuffer p_148837_1_) void
runUpdates
(BiConsumer<BlockPos, BlockState> p_244310_1_) boolean
void
write
(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.IPacket
isSkippable
-
Field Details
-
sectionPos
-
positions
private short[] positions -
states
-
suppressLightUpdates
private boolean suppressLightUpdates
-
-
Constructor Details
-
SMultiBlockChangePacket
public SMultiBlockChangePacket() -
SMultiBlockChangePacket
public SMultiBlockChangePacket(SectionPos p_i242085_1_, it.unimi.dsi.fastutil.shorts.ShortSet p_i242085_2_, ChunkSection p_i242085_3_, boolean p_i242085_4_)
-
-
Method Details
-
initFields
private void initFields(int p_244309_1_) -
read
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
handle
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
runUpdates
-
shouldSuppressLightUpdates
public boolean shouldSuppressLightUpdates()
-