Class CSetDifficultyPacket
java.lang.Object
net.minecraft.network.play.client.CSetDifficultyPacket
- All Implemented Interfaces:
IPacket<IServerPlayNetHandler>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(IServerPlayNetHandler p_148833_1_) voidread(PacketBuffer p_148837_1_) voidwrite(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.IPacket
isSkippable
-
Field Details
-
difficulty
-
-
Constructor Details
-
CSetDifficultyPacket
public CSetDifficultyPacket() -
CSetDifficultyPacket
-
-
Method Details
-
handle
- Specified by:
handlein interfaceIPacket<IServerPlayNetHandler>
-
read
- Specified by:
readin interfaceIPacket<IServerPlayNetHandler>- Throws:
IOException
-
write
- Specified by:
writein interfaceIPacket<IServerPlayNetHandler>- Throws:
IOException
-
getDifficulty
-