Class ServerboundLockDifficultyPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundLockDifficultyPacket
- All Implemented Interfaces:
 Packet<ServerGamePacketListener>
public class ServerboundLockDifficultyPacket
extends Object
implements Packet<ServerGamePacketListener>
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionServerboundLockDifficultyPacket(boolean p_134108_) ServerboundLockDifficultyPacket(FriendlyByteBuf p_179673_)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(ServerGamePacketListener p_134114_) booleanisLocked()voidwrite(FriendlyByteBuf p_134117_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, nextProtocol 
- 
Field Details
- 
locked
private final boolean locked 
 - 
 - 
Constructor Details
- 
ServerboundLockDifficultyPacket
public ServerboundLockDifficultyPacket(boolean p_134108_)  - 
ServerboundLockDifficultyPacket
 
 - 
 - 
Method Details
- 
handle
- Specified by:
 handlein interfacePacket<ServerGamePacketListener>
 - 
write
- Specified by:
 writein interfacePacket<ServerGamePacketListener>
 - 
isLocked
public boolean isLocked() 
 -