类 ClientboundLevelParticlesPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundLevelParticlesPacket
- 所有已实现的接口:
Packet<ClientGamePacketListener>
public class ClientboundLevelParticlesPacket
extends Object
implements Packet<ClientGamePacketListener>
-
字段概要
字段修饰符和类型字段说明private final boolean
private final int
private final float
private final boolean
private final ParticleOptions
private final double
private final float
private final double
private final float
private final double
private final float
-
构造器概要
构造器限定符构造器说明private
ClientboundLevelParticlesPacket
(T p_132292_, boolean p_132293_, boolean p_378159_, double p_132294_, double p_132295_, double p_132296_, float p_132297_, float p_132298_, float p_132299_, float p_132300_, int p_132301_) -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
字段详细资料
-
STREAM_CODEC
public static final StreamCodec<RegistryFriendlyByteBuf,ClientboundLevelParticlesPacket> STREAM_CODEC -
x
private final double x -
y
private final double y -
z
private final double z -
xDist
private final float xDist -
yDist
private final float yDist -
zDist
private final float zDist -
maxSpeed
private final float maxSpeed -
count
private final int count -
overrideLimiter
private final boolean overrideLimiter -
alwaysShow
private final boolean alwaysShow -
particle
-
-
构造器详细资料
-
ClientboundLevelParticlesPacket
public ClientboundLevelParticlesPacket(T p_132292_, boolean p_132293_, boolean p_378159_, double p_132294_, double p_132295_, double p_132296_, float p_132297_, float p_132298_, float p_132299_, float p_132300_, int p_132301_) -
ClientboundLevelParticlesPacket
-
-
方法详细资料
-
write
-
type
- 指定者:
type
在接口中Packet<ClientGamePacketListener>
-
handle
- 指定者:
handle
在接口中Packet<ClientGamePacketListener>
-
isOverrideLimiter
public boolean isOverrideLimiter() -
alwaysShow
public boolean alwaysShow() -
getX
public double getX() -
getY
public double getY() -
getZ
public double getZ() -
getXDist
public float getXDist() -
getYDist
public float getYDist() -
getZDist
public float getZDist() -
getMaxSpeed
public float getMaxSpeed() -
getCount
public int getCount() -
getParticle
-