Class ClientboundBlockEntityDataPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundBlockEntityDataPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundBlockEntityDataPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionprivate BlockPos
private CompoundTag
private int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
-
Constructor Summary
ConstructorDescriptionClientboundBlockEntityDataPacket(BlockPos p_131695_, int p_131696_, CompoundTag p_131697_)
ClientboundBlockEntityDataPacket(FriendlyByteBuf p_178621_)
-
Method Summary
Modifier and TypeMethodDescriptiongetPos()
getTag()
int
getType()
void
handle(ClientGamePacketListener p_131703_)
void
write(FriendlyByteBuf p_131706_)
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
-
TYPE_MOB_SPAWNER
public static final int TYPE_MOB_SPAWNER- See Also:
- Constant Field Values
-
TYPE_ADV_COMMAND
public static final int TYPE_ADV_COMMAND- See Also:
- Constant Field Values
-
TYPE_BEACON
public static final int TYPE_BEACON- See Also:
- Constant Field Values
-
TYPE_SKULL
public static final int TYPE_SKULL- See Also:
- Constant Field Values
-
TYPE_CONDUIT
public static final int TYPE_CONDUIT- See Also:
- Constant Field Values
-
TYPE_BANNER
public static final int TYPE_BANNER- See Also:
- Constant Field Values
-
TYPE_STRUCT_COMMAND
public static final int TYPE_STRUCT_COMMAND- See Also:
- Constant Field Values
-
TYPE_END_GATEWAY
public static final int TYPE_END_GATEWAY- See Also:
- Constant Field Values
-
TYPE_SIGN
public static final int TYPE_SIGN- See Also:
- Constant Field Values
-
TYPE_BED
public static final int TYPE_BED- See Also:
- Constant Field Values
-
TYPE_JIGSAW
public static final int TYPE_JIGSAW- See Also:
- Constant Field Values
-
TYPE_CAMPFIRE
public static final int TYPE_CAMPFIRE- See Also:
- Constant Field Values
-
TYPE_BEEHIVE
public static final int TYPE_BEEHIVE- See Also:
- Constant Field Values
-
pos
-
type
private final int type -
tag
-
-
Constructor Details
-
ClientboundBlockEntityDataPacket
-
ClientboundBlockEntityDataPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getPos
-
getType
public int getType() -
getTag
-