peanut-framework / Classes/Properties/terrainMap / TerrainMap
Class: TerrainMap
Terrain map class used for generating text translations.
Param
The string that is used in-game to identify the block.
Example
ts
new Block("peanut:example", "Example Block")
Constructors
new TerrainMap()
ts
new TerrainMap(): TerrainMap
Returns
Methods
compile()
ts
compile(rePath): void
Parameters
rePath
string
Returns
void
entry()
ts
entry(entries): void
Parameters
entries
Returns
void