mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 21:05:07 +00:00
Fix Comments
This commit is contained in:
1 parent
9f208ddb05
commit
4c17286701
3 files changed
+5
-5
No files matched your search
@@ -109,11 +109,11 @@ public interface IParticle {
|
||||
* Enables animation on the particle. Must set a custom width and height first using the setSize(width,height) function.
|
||||
* Every frame of animation the particle goes through should be saved on a single image file.
|
||||
*
|
||||
* The renderer will read the frames of animation based on the given width and height of the particle, starting from the given X & Y offsets.
|
||||
* The renderer will read the frames of animation based on the given width and height of the particle, starting from the given X and Y offsets.
|
||||
* The renderer then goes rightwards (width) pixels for every frame. Once it can't go rightwards anymore,
|
||||
* the animation goes down (height) pixels, and once again keeps going rightwards if it has to.
|
||||
*
|
||||
* If the animation loops, once there is nowhere downward to go, the animation will start over at the X & Y offset.
|
||||
* If the animation loops, once there is nowhere downward to go, the animation will start over at the X and Y offset.
|
||||
*
|
||||
* @param animRate The frame rate of the particle's animation, in MC ticks. (20 ticks = 1 second)
|
||||
* @param animLoop Whether the animation loops or not.
|
||||
@@ -238,5 +238,5 @@ public interface IParticle {
|
||||
float getRotationZ2();
|
||||
float getRotationZRate();
|
||||
int getRotationZRateStart();
|
||||
|
||||
|
||||
}
|
||||
@@ -104,7 +104,7 @@ public interface IModelData {
|
||||
/**
|
||||
* Hide Body Parts
|
||||
* part: [0: Head, 1: Body, 2: Arms, 3: Legs]
|
||||
* hide: [0: None, 1: Both, 2: Right, 3: Left], only values 0 and 1 used for head & body.
|
||||
* hide: [0: None, 1: Both, 2: Right, 3: Left], only values 0 and 1 used for head and body.
|
||||
*
|
||||
* @param part the part index.
|
||||
* @param hide the hide configuration.
|
||||
|
||||
@@ -177,7 +177,7 @@ public interface IItemStack {
|
||||
|
||||
/**
|
||||
* Sets the magic attribute value for the given key and magic identifier.
|
||||
* The value is stored in the item's custom NBT under "RPGCore" -> "Magic".
|
||||
* The value is stored in the item's custom NBT under "RPGCore", "Magic".
|
||||
*
|
||||
* @param key The magic attribute key.
|
||||
* @param magicId The magic identifier.
|
||||
|
||||
Reference in new issue
Block a user