Class Particle

java.lang.Object
net.mcreator.element.GeneratableElement
net.mcreator.element.types.Particle

public class Particle extends GeneratableElement
  • Field Details

    • texture

      public TextureHolder texture
    • animate

      public boolean animate
    • frameDuration

      public int frameDuration
    • width

      public double width
    • height

      public double height
    • scale

      public NumberProcedure scale
    • speedFactor

      public double speedFactor
    • gravity

      public double gravity
    • maxAge

      public int maxAge
    • maxAgeDiff

      public int maxAgeDiff
    • angularVelocity

      public double angularVelocity
    • angularAcceleration

      public double angularAcceleration
    • canCollide

      public boolean canCollide
    • alwaysShow

      public boolean alwaysShow
    • renderType

      public String renderType
    • additionalExpiryCondition

      public Procedure additionalExpiryCondition
  • Constructor Details

  • Method Details

    • getTextureTileCount

      public int getTextureTileCount()
    • finalizeModElementGeneration

      public void finalizeModElementGeneration()
      Description copied from class: GeneratableElement
      This method should take care of generating additional mod element resources for cases such as GUI mod element
      Overrides:
      finalizeModElementGeneration in class GeneratableElement
    • generateModElementPicture

      public BufferedImage generateModElementPicture()
      Overrides:
      generateModElementPicture in class GeneratableElement
      Returns:
      BufferedImage of mod element preview or null if default mod element icon should be used