Package net.mcreator.element.types
Class Particle
java.lang.Object
net.mcreator.element.GeneratableElement
net.mcreator.element.types.Particle
-
Nested Class Summary
Nested classes/interfaces inherited from class net.mcreator.element.GeneratableElement
GeneratableElement.GSONAdapter, GeneratableElement.Unknown
-
Field Summary
Modifier and TypeFieldDescriptionboolean
double
double
boolean
boolean
int
double
double
int
int
double
double
Fields inherited from class net.mcreator.element.GeneratableElement
formatVersion
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This method should take care of generating additional mod element resources for cases such as GUI mod elementint
Methods inherited from class net.mcreator.element.GeneratableElement
getAdditionalTemplateData, getModElement, isUnknown, performQuickValidation, setModElement, wasConversionApplied
-
Field Details
-
texture
-
animate
public boolean animate -
frameDuration
public int frameDuration -
width
public double width -
height
public double height -
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
-
additionalExpiryCondition
-
-
Constructor Details
-
Particle
-
-
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 classGeneratableElement
-
generateModElementPicture
- Overrides:
generateModElementPicture
in classGeneratableElement
- Returns:
- BufferedImage of mod element preview or null if default mod element icon should be used
-