public class GermItemIcon extends GermItemPart<GermItemIcon>
Constructor and Description |
---|
GermItemIcon(java.lang.String indexName)
推荐开发者在设置 indexName 时为插件全称小写加rootType加名字
例如在注册一个动画时 indexName=germplugin_animation_透明动画 来避免相同名字的覆盖等一些不必要的麻烦 |
Modifier and Type | Method and Description |
---|---|
float |
getOffsetX() |
float |
getOffsetY() |
float |
getOffsetZ() |
java.lang.String |
getPath() |
float |
getScale() |
float |
getSize() |
java.lang.String |
getType() |
void |
setOffsetX(float offsetX) |
void |
setOffsetY(float offsetY) |
void |
setOffsetZ(float offsetZ) |
void |
setPath(java.lang.String path) |
void |
setScale(float scale) |
void |
setSize(float size) |
getSrcMatchCondition, setMatchCondition, setMatchCondition
canEqual, clone, copyFrom, copyTo, equals, getIndexName, getSrc, hashCode, loadSrc, loadSrc, setIndexName, toString
public GermItemIcon(java.lang.String indexName)
indexName
- public final java.lang.String getType()
public java.lang.String getPath()
public float getOffsetX()
public float getOffsetY()
public float getOffsetZ()
public float getScale()
public float getSize()
public void setPath(java.lang.String path)
public void setOffsetX(float offsetX)
public void setOffsetY(float offsetY)
public void setOffsetZ(float offsetZ)
public void setScale(float scale)
public void setSize(float size)