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 SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionClientboundResourcePackPacket(String p_299539_, String p_299667_, boolean p_299281_, Component p_298259_) ClientboundResourcePackPacket(FriendlyByteBuf p_299105_) 
- 
Method SummaryModifier and TypeMethodDescriptiongetHash()getUrl()voidhandle(ClientCommonPacketListener p_300088_) booleanvoidwrite(FriendlyByteBuf p_300009_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable, nextProtocol
- 
Field Details- 
MAX_HASH_LENGTHpublic static final int MAX_HASH_LENGTH- See Also:
 
- 
url
- 
hash
- 
requiredprivate final boolean required
- 
prompt
 
- 
- 
Constructor Details- 
ClientboundResourcePackPacket
- 
ClientboundResourcePackPacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ClientCommonPacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ClientCommonPacketListener>
 
- 
getUrl
- 
getHash
- 
isRequiredpublic boolean isRequired()
- 
getPrompt
 
-