public class PacketDescription extends LocationIntPacket
pos| Constructor and Description |
|---|
PacketDescription(net.minecraft.nbt.CompoundNBT compound) |
PacketDescription(IDescSynced te,
boolean fullSync) |
PacketDescription(net.minecraft.network.PacketBuffer buf) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasData() |
void |
process() |
void |
process(java.util.function.Supplier<net.minecraftforge.fml.network.NetworkEvent.Context> ctx) |
void |
toBytes(net.minecraft.network.PacketBuffer buf) |
net.minecraft.nbt.CompoundNBT |
writeNBT(net.minecraft.nbt.CompoundNBT compound)
These two methods are only used for initial chunk sending (getUpdateTag() and handleUpdateTag())
|
public PacketDescription(IDescSynced te, boolean fullSync)
public PacketDescription(net.minecraft.network.PacketBuffer buf)
public PacketDescription(net.minecraft.nbt.CompoundNBT compound)
public void toBytes(net.minecraft.network.PacketBuffer buf)
toBytes in class LocationIntPacketpublic void process(java.util.function.Supplier<net.minecraftforge.fml.network.NetworkEvent.Context> ctx)
public void process()
public net.minecraft.nbt.CompoundNBT writeNBT(net.minecraft.nbt.CompoundNBT compound)
public boolean hasData()