Class ClientboundResourcePackPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundResourcePackPacket
- All Implemented Interfaces:
- Packet<ClientGamePacketListener>
public class ClientboundResourcePackPacket
extends Object
implements Packet<ClientGamePacketListener>
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionClientboundResourcePackPacket(String p_179182_, String p_179183_, boolean p_179184_, Component p_179185_)ClientboundResourcePackPacket(FriendlyByteBuf p_179187_)
- 
Method SummaryModifier and TypeMethodDescriptiongetHash()getUrl()voidhandle(ClientGamePacketListener p_132923_)booleanvoidwrite(FriendlyByteBuf p_132926_)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
- 
Field Details- 
MAX_HASH_LENGTHpublic static final int MAX_HASH_LENGTH- See Also:
- Constant Field Values
 
- 
url
- 
hash
- 
requiredprivate final boolean required
- 
prompt
 
- 
- 
Constructor Details- 
ClientboundResourcePackPacket
- 
ClientboundResourcePackPacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ClientGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ClientGamePacketListener>
 
- 
getUrl
- 
getHash
- 
isRequiredpublic boolean isRequired()
- 
getPrompt
 
-