Package net.minecraft.client.particle
Class MobAppearanceParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.MobAppearanceParticle
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.LifetimeAlpha
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRenderBoundingBox
(float partialTicks) Returns the bounding box that should be used for particle culling.void
render
(VertexConsumer pBuffer, Camera pRenderInfo, float pPartialTicks) void
renderCustom
(PoseStack pPoseStack, MultiBufferSource pBufferSource, Camera pCamera, float pPartialTick) Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, getLightColor, getParticleGroup, getPos, isAlive, move, remove, scale, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, tick, toString
-
Field Details
-
model
-
renderType
-
-
Constructor Details
-
MobAppearanceParticle
-
-
Method Details
-
getRenderType
- Specified by:
getRenderType
in classParticle
-
renderCustom
public void renderCustom(PoseStack pPoseStack, MultiBufferSource pBufferSource, Camera pCamera, float pPartialTick) - Overrides:
renderCustom
in classParticle
-
render
-
getRenderBoundingBox
Description copied from class:Particle
Returns the bounding box that should be used for particle culling.AABB.INFINITE
can be returned for particles that should not be culled.- Overrides:
getRenderBoundingBox
in classParticle
-