Class SPlayerDiggingPacket
java.lang.Object
net.minecraft.network.play.server.SPlayerDiggingPacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Field Summary
Modifier and TypeFieldDescription(package private) CPlayerDiggingPacket.Action
private boolean
private static final org.apache.logging.log4j.Logger
private BlockPos
private BlockState
-
Constructor Summary
ConstructorDescriptionSPlayerDiggingPacket
(BlockPos p_i226088_1_, BlockState p_i226088_2_, CPlayerDiggingPacket.Action p_i226088_3_, boolean p_i226088_4_, String p_i226088_5_) -
Method Summary
Modifier and TypeMethodDescriptionaction()
boolean
allGood()
getPos()
getState()
void
handle
(IClientPlayNetHandler p_148833_1_) void
read
(PacketBuffer p_148837_1_) 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
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
pos
-
state
-
action
CPlayerDiggingPacket.Action action -
allGood
private boolean allGood
-
-
Constructor Details
-
SPlayerDiggingPacket
public SPlayerDiggingPacket() -
SPlayerDiggingPacket
public SPlayerDiggingPacket(BlockPos p_i226088_1_, BlockState p_i226088_2_, CPlayerDiggingPacket.Action p_i226088_3_, boolean p_i226088_4_, String p_i226088_5_)
-
-
Method Details
-
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>
-
getState
-
getPos
-
allGood
public boolean allGood() -
action
-