public interface ParticleEffectMeta extends Persistenceable
Version 1.1
MIT License
Copyright (c) 2017 by Shynixn
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| Modifier and Type | Interface and Description |
|---|---|
static class |
ParticleEffectMeta.ParticleColor
ParticleColors
|
static class |
ParticleEffectMeta.ParticleEffectType |
| Modifier and Type | Method and Description |
|---|---|
ParticleEffectMeta |
copy()
Copies the current object.
|
int |
getAmount()
Returns the amount of particles of the particleEffect.
|
int |
getBlue()
Returns the RGB color blue of the particleEffect.
|
Byte |
getData()
Returns the data of the particleEffect.
|
String |
getEffectName()
Returns the effect of the particleEffect.
|
ParticleEffectMeta.ParticleEffectType |
getEffectType()
Returns the particleEffectType of the particleEffect.
|
int |
getGreen()
Returns the RGB color green of the particleEffect.
|
Object |
getMaterial()
Returns the material of the particleEffect.
|
String |
getMaterialName()
Returns the name of the material.
|
double |
getOffsetX()
Returns the offsetX of the particleEffect.
|
double |
getOffsetY()
Returns the offsetY of the particleEffect.
|
double |
getOffsetZ()
Returns the offsetZ of the particleEffect.
|
int |
getRed()
Returns the RGB color red of the particleEffect.
|
double |
getSpeed()
Returns the speed of the particleEffect.
|
boolean |
isColorParticleEffect()
Returns if the particleEffect is a color particleEffect.
|
boolean |
isMaterialParticleEffect()
Returns if the particleEffect is a materialParticleEffect.
|
boolean |
isNoteParticleEffect()
Returns if the particleEffect is a note particleEffect.
|
ParticleEffectMeta |
setAmount(int amount)
Sets the amount of particles of the particleEffect.
|
ParticleEffectMeta |
setBlue(int blue)
Sets the blue of the RGB color.
|
ParticleEffectMeta |
setColor(int red,
int green,
int blue)
Sets the RGB colors of the particleEffect.
|
ParticleEffectMeta |
setColor(ParticleEffectMeta.ParticleColor particleColor)
Sets the color of the particleEffect.
|
ParticleEffectMeta |
setData(Byte data)
Sets the data of the material of the particleEffect.
|
ParticleEffectMeta |
setEffectName(String name)
Sets the effectType of the particleEffect.
|
ParticleEffectMeta |
setEffectType(ParticleEffectMeta.ParticleEffectType type)
Sets the effectType of the particleEffect.
|
ParticleEffectMeta |
setGreen(int green)
Sets the green of the RGB color.
|
ParticleEffectMeta |
setMaterial(Object material)
Sets the material of the particleEffect.
|
ParticleEffectMeta |
setMaterialName(String name)
Sets the name of the material
|
ParticleEffectMeta |
setNoteColor(int color)
Sets the color for note particleEffect.
|
ParticleEffectMeta |
setOffset(double offsetX,
double offsetY,
double offsetZ)
Sets the offset of the particleEffect.
|
ParticleEffectMeta |
setOffsetX(double offsetX)
Sets the offsetX of the particleEffect.
|
ParticleEffectMeta |
setOffsetY(double offsetY)
Sets the offsetY of the particleEffect.
|
ParticleEffectMeta |
setOffsetZ(double offsetZ)
Sets the offsetZ of the particleEffect.
|
ParticleEffectMeta |
setRed(int red)
Sets the red of the RGB color.
|
ParticleEffectMeta |
setSpeed(double speed)
Sets the speed of the particleEffect.
|
getIdParticleEffectMeta setColor(int red, int green, int blue)
red - redgreen - greenblue - blueParticleEffectMeta setColor(ParticleEffectMeta.ParticleColor particleColor)
particleColor - particleColorParticleEffectMeta setNoteColor(int color)
color - colorParticleEffectMeta setAmount(int amount)
amount - amountParticleEffectMeta setSpeed(double speed)
speed - speedParticleEffectMeta setOffsetX(double offsetX)
offsetX - offsetXParticleEffectMeta setOffsetY(double offsetY)
offsetY - offsetYParticleEffectMeta setOffsetZ(double offsetZ)
offsetZ - offsetZParticleEffectMeta setOffset(double offsetX, double offsetY, double offsetZ)
offsetX - offsetXoffsetY - offsetYoffsetZ - offsetZParticleEffectMeta setEffectName(String name)
name - nameParticleEffectMeta setEffectType(ParticleEffectMeta.ParticleEffectType type)
type - typeParticleEffectMeta setBlue(int blue)
blue - blueParticleEffectMeta setRed(int red)
red - redParticleEffectMeta setGreen(int green)
green - greenParticleEffectMeta setMaterial(Object material)
material - materialParticleEffectMeta setMaterialName(String name)
name - nameParticleEffectMeta setData(Byte data)
data - dataString getEffectName()
ParticleEffectMeta.ParticleEffectType getEffectType()
int getAmount()
double getSpeed()
double getOffsetX()
double getOffsetY()
double getOffsetZ()
int getBlue()
int getRed()
int getGreen()
Object getMaterial()
String getMaterialName()
Byte getData()
ParticleEffectMeta copy()
boolean isColorParticleEffect()
boolean isNoteParticleEffect()
boolean isMaterialParticleEffect()
Copyright © 2018. All rights reserved.