mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 09:34:47 +00:00
Entity API Documentation
This commit is contained in:
1 parent
3593a09d1d
commit
8c2c226d34
21 files changed
+2778
-1142
No files matched your search
@@ -1,12 +1,38 @@
|
||||
package noppes.npcs.api.entity.data;
|
||||
|
||||
public interface IModelScalePart {
|
||||
|
||||
void setScale(float x, float y, float z);
|
||||
|
||||
float getScaleX();
|
||||
|
||||
float getScaleY();
|
||||
|
||||
float getScaleZ();
|
||||
}
|
||||
package noppes.npcs.api.entity.data;
|
||||
|
||||
/**
|
||||
* Represents the scale configuration for a specific part of a model.
|
||||
* Allows setting and retrieving scale factors along the X, Y, and Z axes.
|
||||
*/
|
||||
public interface IModelScalePart {
|
||||
|
||||
/**
|
||||
* Sets the scale factors for this model part.
|
||||
*
|
||||
* @param x the scale factor along the X-axis.
|
||||
* @param y the scale factor along the Y-axis.
|
||||
* @param z the scale factor along the Z-axis.
|
||||
*/
|
||||
void setScale(float x, float y, float z);
|
||||
|
||||
/**
|
||||
* Returns the scale factor along the X-axis.
|
||||
*
|
||||
* @return the X-axis scale.
|
||||
*/
|
||||
float getScaleX();
|
||||
|
||||
/**
|
||||
* Returns the scale factor along the Y-axis.
|
||||
*
|
||||
* @return the Y-axis scale.
|
||||
*/
|
||||
float getScaleY();
|
||||
|
||||
/**
|
||||
* Returns the scale factor along the Z-axis.
|
||||
*
|
||||
* @return the Z-axis scale.
|
||||
*/
|
||||
float getScaleZ();
|
||||
}
|
||||
Reference in new issue
Block a user