Class CUpdateStructureBlockPacket
- java.lang.Object
-
- net.minecraft.network.play.client.CUpdateStructureBlockPacket
-
- All Implemented Interfaces:
IPacket<IServerPlayNetHandler>
public class CUpdateStructureBlockPacket extends java.lang.Object implements IPacket<IServerPlayNetHandler>
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
data
private boolean
ignoreEntities
private float
integrity
private Mirror
mirror
private StructureMode
mode
private java.lang.String
name
private BlockPos
offset
private BlockPos
pos
private Rotation
rotation
private long
seed
private boolean
showAir
private boolean
showBoundingBox
private BlockPos
size
private StructureBlockTileEntity.UpdateCommand
updateType
-
Constructor Summary
Constructors Constructor Description CUpdateStructureBlockPacket()
CUpdateStructureBlockPacket(BlockPos p_i49541_1_, StructureBlockTileEntity.UpdateCommand p_i49541_2_, StructureMode p_i49541_3_, java.lang.String p_i49541_4_, BlockPos p_i49541_5_, BlockPos p_i49541_6_, Mirror p_i49541_7_, Rotation p_i49541_8_, java.lang.String p_i49541_9_, boolean p_i49541_10_, boolean p_i49541_11_, boolean p_i49541_12_, float p_i49541_13_, long p_i49541_14_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getData()
float
getIntegrity()
Mirror
getMirror()
StructureMode
getMode()
java.lang.String
getName()
BlockPos
getOffset()
BlockPos
getPos()
Rotation
getRotation()
long
getSeed()
BlockPos
getSize()
StructureBlockTileEntity.UpdateCommand
getUpdateType()
void
handle(IServerPlayNetHandler p_148833_1_)
boolean
isIgnoreEntities()
boolean
isShowAir()
boolean
isShowBoundingBox()
void
read(PacketBuffer p_148837_1_)
void
write(PacketBuffer p_148840_1_)
-
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.IPacket
isSkippable
-
-
-
-
Field Detail
-
pos
private BlockPos pos
-
updateType
private StructureBlockTileEntity.UpdateCommand updateType
-
mode
private StructureMode mode
-
name
private java.lang.String name
-
offset
private BlockPos offset
-
size
private BlockPos size
-
mirror
private Mirror mirror
-
rotation
private Rotation rotation
-
data
private java.lang.String data
-
ignoreEntities
private boolean ignoreEntities
-
showAir
private boolean showAir
-
showBoundingBox
private boolean showBoundingBox
-
integrity
private float integrity
-
seed
private long seed
-
-
Constructor Detail
-
CUpdateStructureBlockPacket
public CUpdateStructureBlockPacket()
-
CUpdateStructureBlockPacket
public CUpdateStructureBlockPacket(BlockPos p_i49541_1_, StructureBlockTileEntity.UpdateCommand p_i49541_2_, StructureMode p_i49541_3_, java.lang.String p_i49541_4_, BlockPos p_i49541_5_, BlockPos p_i49541_6_, Mirror p_i49541_7_, Rotation p_i49541_8_, java.lang.String p_i49541_9_, boolean p_i49541_10_, boolean p_i49541_11_, boolean p_i49541_12_, float p_i49541_13_, long p_i49541_14_)
-
-
Method Detail
-
read
public void read(PacketBuffer p_148837_1_) throws java.io.IOException
- Specified by:
read
in interfaceIPacket<IServerPlayNetHandler>
- Throws:
java.io.IOException
-
write
public void write(PacketBuffer p_148840_1_) throws java.io.IOException
- Specified by:
write
in interfaceIPacket<IServerPlayNetHandler>
- Throws:
java.io.IOException
-
handle
public void handle(IServerPlayNetHandler p_148833_1_)
- Specified by:
handle
in interfaceIPacket<IServerPlayNetHandler>
-
getPos
public BlockPos getPos()
-
getUpdateType
public StructureBlockTileEntity.UpdateCommand getUpdateType()
-
getMode
public StructureMode getMode()
-
getName
public java.lang.String getName()
-
getOffset
public BlockPos getOffset()
-
getSize
public BlockPos getSize()
-
getMirror
public Mirror getMirror()
-
getRotation
public Rotation getRotation()
-
getData
public java.lang.String getData()
-
isIgnoreEntities
public boolean isIgnoreEntities()
-
isShowAir
public boolean isShowAir()
-
isShowBoundingBox
public boolean isShowBoundingBox()
-
getIntegrity
public float getIntegrity()
-
getSeed
public long getSeed()
-
-