public interface SeasonObject
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
int |
getDayTime() |
java.lang.Double[] |
getLengths() |
java.lang.String |
getName() |
int |
getNightTime() |
org.bukkit.Material |
getNotificationDayMaterial() |
org.bukkit.Material |
getNotificationSeasonMaterial() |
int |
getRainToSnowPercentage() |
java.lang.String |
getShortName() |
double |
getSnowPlaceSpeed() |
double |
getSnowRemoveSpeed() |
java.util.HashMap<java.lang.Integer,java.lang.String> |
getSpecialDays() |
java.lang.String |
getTexture() |
int[] |
getWeatherPercentages() |
int |
hashCode() |
void |
setDayTime(int time)
Change the Day duration of this Season.
|
void |
setLengths(java.lang.Double[] lengths)
Change the Lengths of the Season (Minecraft-Days).
|
void |
setName(java.lang.String name)
Change the Name of the Season.
|
void |
setNightTime(int time)
Change the Night duration of this Season.
|
void |
setNotificationDayMaterial(org.bukkit.Material material)
Change the Material displayed on the Notification on Special Day during the Season.
|
void |
setNotificationSeasonMaterial(org.bukkit.Material material)
Change the material displayed on the Notification on Season start.
|
void |
setRainToSnowPercentage(int percentage)
Change the Percentage of Rain replaced bu Snow.
|
void |
setShortName(java.lang.String shortName)
Change the shortName of the Season.
|
void |
setSnowPlaceSpeed(double speed)
Change the Speed of the placing on Rain/Snow Weather.
|
void |
setSnowRemoveSpeed(double speed)
Change the Speed of the removal on Sun Weather.
|
void |
setSpecialDay(int day,
java.lang.String name)
Change/Put a special Day.
|
void |
setSpecialDays(java.util.HashMap<java.lang.Integer,java.lang.String> days)
Change the Special Days set.
|
void |
setTexture(java.lang.String url)
Change the URL to the Textures pack of the Season.
|
void |
setWeatherPercentages(int[] percentages)
Change the 3 Weather Percentages, please check that they make 100%.
|
java.lang.String |
toString() |
int hashCode()
hashCode in class java.lang.Objectboolean equals(java.lang.Object object)
equals in class java.lang.Objectobject - Obect to comparejava.lang.String toString()
toString in class java.lang.Objectjava.lang.String getName()
setName(String),
getShortName(),
setShortName(String)void setName(java.lang.String name)
name - Name you want for the Season.getName(),
getShortName(),
setShortName(String)java.lang.String getShortName()
setShortName(String),
getName(),
setName(String)void setShortName(java.lang.String shortName)
shortName - The shortName you want for the Season (used on /season set [shortName]).getShortName(),
getName(),
setName(String)int[] getWeatherPercentages()
setWeatherPercentages(int[]),
getRainToSnowPercentage(),
setRainToSnowPercentage(int)void setWeatherPercentages(int[] percentages)
percentages - Percentages of Weathers {sun, rain, thunder}.getWeatherPercentages(),
getRainToSnowPercentage(),
setRainToSnowPercentage(int)java.lang.Double[] getLengths()
setLengths(Double[])void setLengths(java.lang.Double[] lengths)
lengths - Lengths of the Season {season, weather}.getLengths()java.util.HashMap<java.lang.Integer,java.lang.String> getSpecialDays()
setSpecialDays(HashMap),
setSpecialDay(int, String)void setSpecialDays(java.util.HashMap<java.lang.Integer,java.lang.String> days)
days - The Specials Day in a HashMap with the day number (starting at 0) and the name of the special Day.getSpecialDays(),
setSpecialDay(int, String)void setSpecialDay(int day,
java.lang.String name)
day - The number of the day (starting at 0 for the first day of the season).name - Name of the Special Day (example : Rominos2's Birthday).getSpecialDays(),
setSpecialDays(HashMap)java.lang.String getTexture()
setTexture(String)void setTexture(java.lang.String url)
url - The Internet URL of the zip TexturePack.getTexture()int getRainToSnowPercentage()
setRainToSnowPercentage(int),
getWeatherPercentages(),
setWeatherPercentages(int[])void setRainToSnowPercentage(int percentage)
percentage - Percentage Chance of replacing Rain by Snow during this Season.getRainToSnowPercentage(),
getWeatherPercentages(),
setWeatherPercentages(int[])org.bukkit.Material getNotificationSeasonMaterial()
setNotificationSeasonMaterial(Material),
getNotificationDayMaterial(),
setNotificationDayMaterial(Material)void setNotificationSeasonMaterial(org.bukkit.Material material)
material - Material shown on then Notification.getNotificationSeasonMaterial(),
getNotificationDayMaterial(),
setNotificationDayMaterial(Material)org.bukkit.Material getNotificationDayMaterial()
setNotificationDayMaterial(Material),
getNotificationSeasonMaterial(),
setNotificationSeasonMaterial(Material)void setNotificationDayMaterial(org.bukkit.Material material)
material - Material shown on then Notification.getNotificationDayMaterial(),
getNotificationSeasonMaterial(),
setNotificationSeasonMaterial(Material)int getDayTime()
setDayTime(int),
getNightTime(),
setNightTime(int)void setDayTime(int time)
time - The number of ticks of Day Time.getDayTime(),
getNightTime(),
setNightTime(int)int getNightTime()
setNightTime(int),
getDayTime(),
setDayTime(int)void setNightTime(int time)
time - The number of ticks of Night Time.getNightTime(),
getDayTime(),
setDayTime(int)double getSnowPlaceSpeed()
setSnowPlaceSpeed(double),
getSnowRemoveSpeed(),
setSnowRemoveSpeed(double)void setSnowPlaceSpeed(double speed)
The - Speed of the placing on Rain/Snow Weather (number of blocks modified per chunk per second).getSnowPlaceSpeed(),
getSnowRemoveSpeed(),
setSnowRemoveSpeed(double)double getSnowRemoveSpeed()
setSnowRemoveSpeed(double),
getSnowPlaceSpeed(),
setSnowPlaceSpeed(double)void setSnowRemoveSpeed(double speed)
The - Speed of the removal on Sun Weather (number of blocks modified per chunk per second).getSnowRemoveSpeed(),
getSnowPlaceSpeed(),
setSnowPlaceSpeed(double)