Class StaticBiome
java.lang.Object
com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
com.github.retrooper.packetevents.protocol.world.biome.StaticBiome
- All Implemented Interfaces:
CopyableEntity<Biome>
,DeepComparableEntity
,MappedEntity
,Biome
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.github.retrooper.packetevents.protocol.world.biome.Biome
Biome.Category, Biome.Precipitation, Biome.TemperatureModifier
-
Field Summary
Fields inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
data
-
Constructor Summary
ConstructorDescriptionStaticBiome
(boolean precipitation, float temperature, Biome.TemperatureModifier temperatureModifier, float downfall, @Nullable Biome.Category category, @Nullable Float depth, @Nullable Float scale, BiomeEffects effects) StaticBiome
(boolean precipitation, float temperature, Biome.TemperatureModifier temperatureModifier, float downfall, BiomeEffects effects) StaticBiome
(@Nullable TypesBuilderData data, boolean precipitation, float temperature, Biome.TemperatureModifier temperatureModifier, float downfall, @Nullable Biome.Category category, @Nullable Float depth, @Nullable Float scale, BiomeEffects effects) StaticBiome
(@Nullable TypesBuilderData data, boolean precipitation, float temperature, Biome.TemperatureModifier temperatureModifier, float downfall, BiomeEffects effects) StaticBiome
(@Nullable TypesBuilderData data, Biome.Precipitation precipitation, float temperature, Biome.TemperatureModifier temperatureModifier, float downfall, @Nullable Biome.Category category, @Nullable Float depth, @Nullable Float scale, BiomeEffects effects) StaticBiome
(@Nullable TypesBuilderData data, Biome.Precipitation precipitation, float temperature, Biome.TemperatureModifier temperatureModifier, float downfall, BiomeEffects effects) -
Method Summary
Modifier and TypeMethodDescriptioncopy
(@Nullable TypesBuilderData newData) boolean
deepEquals
(Object obj) int
@Nullable Biome.Category
@Nullable Float
getDepth()
float
@Nullable Float
getScale()
float
boolean
toString()
Methods inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
equals, getId, getName, getRegistryData, hashCode, isRegistered
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Constructor Details
-
StaticBiome
public StaticBiome(boolean precipitation, float temperature, Biome.TemperatureModifier temperatureModifier, float downfall, BiomeEffects effects) -
StaticBiome
@Obsolete public StaticBiome(@Nullable @Nullable TypesBuilderData data, Biome.Precipitation precipitation, float temperature, Biome.TemperatureModifier temperatureModifier, float downfall, BiomeEffects effects) -
StaticBiome
public StaticBiome(@Nullable @Nullable TypesBuilderData data, boolean precipitation, float temperature, Biome.TemperatureModifier temperatureModifier, float downfall, BiomeEffects effects) -
StaticBiome
public StaticBiome(boolean precipitation, float temperature, Biome.TemperatureModifier temperatureModifier, float downfall, @Nullable @Nullable Biome.Category category, @Nullable @Nullable Float depth, @Nullable @Nullable Float scale, BiomeEffects effects) -
StaticBiome
@Obsolete public StaticBiome(@Nullable @Nullable TypesBuilderData data, Biome.Precipitation precipitation, float temperature, Biome.TemperatureModifier temperatureModifier, float downfall, @Nullable @Nullable Biome.Category category, @Nullable @Nullable Float depth, @Nullable @Nullable Float scale, BiomeEffects effects) -
StaticBiome
public StaticBiome(@Nullable @Nullable TypesBuilderData data, boolean precipitation, float temperature, Biome.TemperatureModifier temperatureModifier, float downfall, @Nullable @Nullable Biome.Category category, @Nullable @Nullable Float depth, @Nullable @Nullable Float scale, BiomeEffects effects)
-
-
Method Details
-
copy
- Specified by:
copy
in interfaceCopyableEntity<Biome>
-
hasPrecipitation
public boolean hasPrecipitation()- Specified by:
hasPrecipitation
in interfaceBiome
-
getPrecipitation
- Specified by:
getPrecipitation
in interfaceBiome
-
getTemperature
public float getTemperature()- Specified by:
getTemperature
in interfaceBiome
-
getTemperatureModifier
- Specified by:
getTemperatureModifier
in interfaceBiome
-
getDownfall
public float getDownfall()- Specified by:
getDownfall
in interfaceBiome
-
getCategory
- Specified by:
getCategory
in interfaceBiome
-
getDepth
-
getScale
-
getEffects
- Specified by:
getEffects
in interfaceBiome
-
deepEquals
- Specified by:
deepEquals
in interfaceDeepComparableEntity
-
deepHashCode
public int deepHashCode()- Specified by:
deepHashCode
in interfaceDeepComparableEntity
-
toString
- Overrides:
toString
in classAbstractMappedEntity
-