Package com.pixelmonmod.pixelmon.client.particle.particles.flame
package com.pixelmonmod.pixelmon.client.particle.particles.flame
-
ClassDescriptionBased on TheGreyGhost's MinecraftByExample Custom Particle to illustrate how to add a Particle with your own texture and movement/animation behaviour A good vanilla example is PoofParticleBased on TheGreyGhost's MinecraftByExample The particle has two pieces of information which are used to customise it: 1) The colour (tint) which is used to change the hue of the particle 2) The diameter of the particle This class is used to 1) store this information, and 2) transmit it between server and client (write and read methods), and 3) parse it from a command string i.e.Based on TheGreyGhost's MinecraftByExample On the client side: When the client wants to spawn a Particle, it gives the FlameParticleData to this factory method The factory selects an appropriate Particle class and instantiates it *Based on TheGreyGhost's MinecraftByExample Simple class used to describe the Particle