Class ClientboundResourcePackPacket
java.lang.Object
net.minecraft.network.protocol.common.ClientboundResourcePackPacket
- All Implemented Interfaces:
 Packet<ClientCommonPacketListener>
public class ClientboundResourcePackPacket
extends Object
implements Packet<ClientCommonPacketListener>
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionClientboundResourcePackPacket(String p_299539_, String p_299667_, boolean p_299281_, Component p_298259_) ClientboundResourcePackPacket(FriendlyByteBuf p_299105_)  - 
Method Summary
Modifier and TypeMethodDescriptiongetHash()getUrl()voidhandle(ClientCommonPacketListener p_300088_) booleanvoidwrite(FriendlyByteBuf p_300009_) 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
- 
MAX_HASH_LENGTH
public static final int MAX_HASH_LENGTH- See Also:
 
 - 
url
 - 
hash
 - 
required
private final boolean required - 
prompt
 
 - 
 - 
Constructor Details
- 
ClientboundResourcePackPacket
 - 
ClientboundResourcePackPacket
 
 - 
 - 
Method Details
- 
write
- Specified by:
 writein interfacePacket<ClientCommonPacketListener>
 - 
handle
- Specified by:
 handlein interfacePacket<ClientCommonPacketListener>
 - 
getUrl
 - 
getHash
 - 
isRequired
public boolean isRequired() - 
getPrompt
 
 -