mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-24 22:04:23 +00:00
29 lines
596 B
Java
29 lines
596 B
Java
package minetweaker.api.vanilla;
|
|
|
|
import java.util.List;
|
|
|
|
import minetweaker.api.item.*;
|
|
import stanhebben.zenscript.annotations.*;
|
|
|
|
/**
|
|
* @author Stan
|
|
*/
|
|
@ZenClass("vanilla.ILootRegistry")
|
|
public interface ILootRegistry {
|
|
|
|
@ZenMethod
|
|
void addChestLoot(String name, WeightedItemStack item);
|
|
|
|
@ZenMethod
|
|
void addChestLoot(String name, WeightedItemStack item, int min, int max);
|
|
|
|
@ZenMethod
|
|
void removeChestLoot(String name, IIngredient ingredient);
|
|
|
|
@ZenMethod
|
|
List<LootEntry> getLoot(String name);
|
|
|
|
@ZenGetter("lootTypes")
|
|
List<String> getLootTypes();
|
|
}
|