Package net.mcreator.element.types
Class Projectile
java.lang.Object
net.mcreator.element.GeneratableElement
net.mcreator.element.types.Projectile
- All Implemented Interfaces:
ICommonType
,IEntityWithModel
-
Nested Class Summary
Nested classes/interfaces inherited from class net.mcreator.element.GeneratableElement
GeneratableElement.GSONAdapter, GeneratableElement.Unknown
-
Field Summary
Modifier and TypeFieldDescriptiondouble
boolean
int
double
double
double
boolean
Fields inherited from class net.mcreator.element.GeneratableElement
formatVersion
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class net.mcreator.element.GeneratableElement
finalizeModElementGeneration, getAdditionalTemplateData, getModElement, isUnknown, performQuickValidation, setModElement, wasConversionApplied
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.mcreator.element.types.interfaces.IEntityWithModel
getModelType, isBuiltInModel, isCustomModel
-
Field Details
-
projectileItem
-
showParticles
public boolean showParticles -
actionSound
-
igniteFire
public boolean igniteFire -
power
public double power -
damage
public double damage -
knockback
public int knockback -
entityModel
-
customModelTexture
-
modelWidth
public double modelWidth -
modelHeight
public double modelHeight -
onHitsBlock
-
onHitsPlayer
-
onHitsEntity
-
onFlyingTick
-
-
Constructor Details
-
Projectile
-
-
Method Details
-
getEntityModel
- Specified by:
getEntityModel
in interfaceIEntityWithModel
-
generateModElementPicture
- Overrides:
generateModElementPicture
in classGeneratableElement
- Returns:
- BufferedImage of mod element preview or null if default mod element icon should be used
-
getBaseTypesProvided
- Specified by:
getBaseTypesProvided
in interfaceICommonType
-