mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-26 14:53:03 +00:00
- Added /mt blocks and /mt entities commands
- Further preparation of event manager for the event update - Can now request all blocks and entities using the global game variable - Improved automatic handling of version numbers
This commit is contained in:
1 parent
b50a88227b
commit
56b8c9355c
81 files changed
+751
-506
No files matched your search
@@ -1,6 +1,8 @@
|
||||
package minetweaker.api.game;
|
||||
|
||||
import java.util.List;
|
||||
import minetweaker.api.block.IBlockDefinition;
|
||||
import minetweaker.api.entity.IEntityDefinition;
|
||||
import minetweaker.api.item.IItemDefinition;
|
||||
import minetweaker.api.liquid.ILiquidDefinition;
|
||||
import minetweaker.api.world.IBiome;
|
||||
@@ -15,13 +17,21 @@ import stanhebben.zenscript.annotations.ZenGetter;
|
||||
@ZenClass("minetweaker.game.IGame")
|
||||
public interface IGame {
|
||||
/**
|
||||
* Retrieves the items in this game.
|
||||
* Retrieves the item definitions in this game.
|
||||
*
|
||||
* @return game items
|
||||
*/
|
||||
@ZenGetter("items")
|
||||
public List<IItemDefinition> getItems();
|
||||
|
||||
/**
|
||||
* Retrieves the block definitions in this game.
|
||||
*
|
||||
* @return block definitions
|
||||
*/
|
||||
@ZenGetter("blocks")
|
||||
public List<IBlockDefinition> getBlocks();
|
||||
|
||||
/**
|
||||
* Retrieves the liquids in this game.
|
||||
*
|
||||
@@ -35,6 +45,14 @@ public interface IGame {
|
||||
*
|
||||
* @return game biomes
|
||||
*/
|
||||
@ZenGetter("Biomes")
|
||||
@ZenGetter("biomes")
|
||||
public List<IBiome> getBiomes();
|
||||
|
||||
/**
|
||||
* Retrieves the entities in this game.
|
||||
*
|
||||
* @return game entities
|
||||
*/
|
||||
@ZenGetter("entities")
|
||||
public List<IEntityDefinition> getEntities();
|
||||
}
|
||||
Reference in new issue
Block a user