Biome
Link to biome
Diese Klasse importieren
Link to diese-klasse-importieren
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
ZenScript Copyimport crafttweaker.api.world.biome.Biome;
Methoden
Link to methoden
Name: getTemperature
Return Type: float
ZenScript CopyBiome.getTemperature(pos as BlockPos) as float
Parameter | Type | Beschreibung |
---|---|---|
Parameter pos | Type BlockPos | Beschreibung No Description Provided |
Name: shouldFreeze
Return Type: boolean
ZenScript CopyBiome.shouldFreeze(world as Level, pos as BlockPos, mustBeAtEdge as boolean) as boolean
Parameter | Type | Beschreibung |
---|---|---|
Parameter world | Type Level | Beschreibung No Description Provided |
Parameter pos | Type BlockPos | Beschreibung No Description Provided |
Parameter mustBeAtEdge | Type boolean | Beschreibung No Description Provided |
Properties
Link to properties
Name | Type | Has Getter | Has Setter | Beschreibung |
---|---|---|---|---|
Name biomeCategory | Type string | Has Getter true | Has Setter false | Beschreibung No Description Provided |
Name commandString | Type string | Has Getter true | Has Setter false | Beschreibung No Description Provided |
Name depth | Type float | Has Getter true | Has Setter false | Beschreibung No Description Provided |
Name doesRain | Type boolean | Has Getter true | Has Setter false | Beschreibung No Description Provided |
Name doesSnow | Type boolean | Has Getter true | Has Setter false | Beschreibung No Description Provided |
Name downfall | Type float | Has Getter true | Has Setter false | Beschreibung No Description Provided |
Name isHumid | Type boolean | Has Getter true | Has Setter false | Beschreibung No Description Provided |
Name rainType | Type string | Has Getter true | Has Setter false | Beschreibung No Description Provided |
Name registryName | Type ResourceLocation | Has Getter true | Has Setter false | Beschreibung No Description Provided |
Name scale | Type float | Has Getter true | Has Setter false | Beschreibung No Description Provided |
Name waterColor | Type int | Has Getter true | Has Setter false | Beschreibung No Description Provided |
Name waterFogColor | Type int | Has Getter true | Has Setter false | Beschreibung No Description Provided |