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 Summary
-
Constructor Summary
ConstructorDescriptionClientboundResourcePackPacket(String p_179182_, String p_179183_, boolean p_179184_, Component p_179185_)
ClientboundResourcePackPacket(FriendlyByteBuf p_179187_)
-
Method Summary
Modifier and TypeMethodDescriptiongetHash()
getUrl()
void
handle(ClientGamePacketListener p_132923_)
boolean
void
write(FriendlyByteBuf p_132926_)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.protocol.Packet
isSkippable
-
Field Details
-
MAX_HASH_LENGTH
public static final int MAX_HASH_LENGTH- See Also:
- Constant Field Values
-
url
-
hash
-
required
private final boolean required -
prompt
-
-
Constructor Details
-
ClientboundResourcePackPacket
-
ClientboundResourcePackPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getUrl
-
getHash
-
isRequired
public boolean isRequired() -
getPrompt
-