类 TerrainParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
net.minecraft.client.particle.TerrainParticle
-
嵌套类概要
嵌套类修饰符和类型类说明static class
static class
static class
从类继承的嵌套类/接口 net.minecraft.client.particle.SingleQuadParticle
SingleQuadParticle.FacingCameraMode
从类继承的嵌套类/接口 net.minecraft.client.particle.Particle
Particle.LifetimeAlpha
-
字段概要
字段从类继承的字段 net.minecraft.client.particle.TextureSheetParticle
sprite
从类继承的字段 net.minecraft.client.particle.SingleQuadParticle
quadSize
-
构造器概要
构造器构造器说明TerrainParticle
(ClientLevel p_108282_, double p_108283_, double p_108284_, double p_108285_, double p_108286_, double p_108287_, double p_108288_, BlockState p_108289_) TerrainParticle
(ClientLevel p_172451_, double p_172452_, double p_172453_, double p_172454_, double p_172455_, double p_172456_, double p_172457_, BlockState p_172458_, BlockPos p_172459_) -
方法概要
修饰符和类型方法说明(专用程序包) static TerrainParticle
createTerrainParticle
(BlockParticleOption p_331600_, ClientLevel p_334810_, double p_328897_, double p_329583_, double p_331123_, double p_333546_, double p_335782_, double p_335068_) int
getLightColor
(float p_108291_) protected float
getU0()
protected float
getU1()
protected float
getV0()
protected float
getV1()
updateSprite
(BlockState state, BlockPos pos) 从类继承的方法 net.minecraft.client.particle.TextureSheetParticle
pickSprite, setSprite, setSpriteFromAge
从类继承的方法 net.minecraft.client.particle.SingleQuadParticle
getFacingCameraMode, getQuadSize, render, renderRotatedQuad, renderRotatedQuad, scale
从类继承的方法 net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, getParticleGroup, getPos, isAlive, move, remove, renderCustom, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, shouldCull, tick, toString
-
字段详细资料
-
pos
-
uo
private final float uo -
vo
private final float vo
-
-
构造器详细资料
-
TerrainParticle
public TerrainParticle(ClientLevel p_108282_, double p_108283_, double p_108284_, double p_108285_, double p_108286_, double p_108287_, double p_108288_, BlockState p_108289_) -
TerrainParticle
public TerrainParticle(ClientLevel p_172451_, double p_172452_, double p_172453_, double p_172454_, double p_172455_, double p_172456_, double p_172457_, BlockState p_172458_, BlockPos p_172459_)
-
-
方法详细资料
-
getRenderType
- 指定者:
getRenderType
在类中Particle
-
getU0
protected float getU0()- 覆盖:
getU0
在类中TextureSheetParticle
-
getU1
protected float getU1()- 覆盖:
getU1
在类中TextureSheetParticle
-
getV0
protected float getV0()- 覆盖:
getV0
在类中TextureSheetParticle
-
getV1
protected float getV1()- 覆盖:
getV1
在类中TextureSheetParticle
-
getLightColor
public int getLightColor(float p_108291_) - 覆盖:
getLightColor
在类中Particle
-
createTerrainParticle
@Nullable static TerrainParticle createTerrainParticle(BlockParticleOption p_331600_, ClientLevel p_334810_, double p_328897_, double p_329583_, double p_331123_, double p_333546_, double p_335782_, double p_335068_) -
updateSprite
-