Class ClientboundBlockBreakAckPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundBlockBreakAckPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundBlockBreakAckPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private static org.apache.logging.log4j.Logger
private BlockPos
private BlockState
-
Constructor Summary
ConstructorDescriptionClientboundBlockBreakAckPacket(BlockPos p_131654_, BlockState p_131655_, ServerboundPlayerActionPacket.Action p_131656_, boolean p_131657_, String p_131658_)
ClientboundBlockBreakAckPacket(FriendlyByteBuf p_178604_)
-
Method Summary
Modifier and TypeMethodDescriptionaction()
boolean
allGood()
getPos()
getState()
void
handle(ClientGamePacketListener p_131664_)
void
write(FriendlyByteBuf p_131667_)
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.protocol.Packet
isSkippable
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
pos
-
state
-
action
-
allGood
private final boolean allGood
-
-
Constructor Details
-
ClientboundBlockBreakAckPacket
public ClientboundBlockBreakAckPacket(BlockPos p_131654_, BlockState p_131655_, ServerboundPlayerActionPacket.Action p_131656_, boolean p_131657_, String p_131658_) -
ClientboundBlockBreakAckPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getState
-
getPos
-
allGood
public boolean allGood() -
action
-