ParticleGlowBase.java 文件源码

java
阅读 21 收藏 0 点赞 0 评论 0

项目:Anima-Mundi 作者:
protected ParticleGlowBase(World world, double x, double y, double z,
                           double velocityX, double velocityY, double velocityZ)
{
    super(world, x, y, z, velocityX, velocityY, velocityZ);

    this.particleAlpha = 0.90F;
    motionX = velocityX;
    motionY = velocityY;
    motionZ = velocityZ;

    particleRainbow = rand.nextInt(32);
    this.particleMaxAge = 20;
    TextureAtlasSprite sprite = Minecraft.getMinecraft().getTextureMapBlocks().getAtlasSprite(location.toString());
    setParticleTexture(sprite);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号