类 ServerboundSetStructureBlockPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundSetStructureBlockPacket
- 所有已实现的接口:
Packet<ServerGamePacketListener>
public class ServerboundSetStructureBlockPacket
extends Object
implements Packet<ServerGamePacketListener>
-
字段概要
字段修饰符和类型字段说明private final String
private static final int
private static final int
private static final int
private final boolean
private final float
private final Mirror
private final StructureMode
private final String
private final BlockPos
private final BlockPos
private final Rotation
private final long
private final boolean
private final boolean
private final Vec3i
private final StructureBlockEntity.UpdateType
-
构造器概要
构造器构造器说明ServerboundSetStructureBlockPacket
(BlockPos pPos, StructureBlockEntity.UpdateType pUpdateType, StructureMode pMode, String pName, BlockPos pOffset, Vec3i pSize, Mirror pMirror, Rotation pRotation, String pData, boolean pIgnoreEntities, boolean pShowAir, boolean pShowBoundingBox, float pIntegrity, long pSeed) -
方法概要
修饰符和类型方法说明getData()
float
getMode()
getName()
getPos()
long
getSeed()
getSize()
void
handle
(ServerGamePacketListener pHandler) boolean
boolean
boolean
void
write
(FriendlyByteBuf pBuffer) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.network.protocol.Packet
isSkippable
-
字段详细资料
-
FLAG_IGNORE_ENTITIES
private static final int FLAG_IGNORE_ENTITIES- 另请参阅:
-
FLAG_SHOW_AIR
private static final int FLAG_SHOW_AIR- 另请参阅:
-
FLAG_SHOW_BOUNDING_BOX
private static final int FLAG_SHOW_BOUNDING_BOX- 另请参阅:
-
pos
-
updateType
-
mode
-
name
-
offset
-
size
-
mirror
-
rotation
-
data
-
ignoreEntities
private final boolean ignoreEntities -
showAir
private final boolean showAir -
showBoundingBox
private final boolean showBoundingBox -
integrity
private final float integrity -
seed
private final long seed
-
-
构造器详细资料
-
ServerboundSetStructureBlockPacket
public ServerboundSetStructureBlockPacket(BlockPos pPos, StructureBlockEntity.UpdateType pUpdateType, StructureMode pMode, String pName, BlockPos pOffset, Vec3i pSize, Mirror pMirror, Rotation pRotation, String pData, boolean pIgnoreEntities, boolean pShowAir, boolean pShowBoundingBox, float pIntegrity, long pSeed) -
ServerboundSetStructureBlockPacket
-
-
方法详细资料
-
write
- 指定者:
write
在接口中Packet<ServerGamePacketListener>
-
handle
- 指定者:
handle
在接口中Packet<ServerGamePacketListener>
-
getPos
-
getUpdateType
-
getMode
-
getName
-
getOffset
-
getSize
-
getMirror
-
getRotation
-
getData
-
isIgnoreEntities
public boolean isIgnoreEntities() -
isShowAir
public boolean isShowAir() -
isShowBoundingBox
public boolean isShowBoundingBox() -
getIntegrity
public float getIntegrity() -
getSeed
public long getSeed()
-