Dropt - 方法速查
前言
正文
Dropt
导包
import mods.dropt.Dropt;list()
static RuleList list(string name);rule()
static Rule rule();harvester()
drop()
range(int fixed)
range(int min, int max)
weight(int weight)
weight(int weight, int fortuneModifier)
RuleList
导包
priority(int priority)
add(Rule rule)
Rule
导包
debug()
matchBlocks(string[] blockStrings)
matchBlocks(string type, string[] blockStrings)
matchDrops(IIngredient[] items)
matchDrops(string type, IIngredient[] items)
matchHarvester(Harvester harvester)
matchBiomes(string[] ids)
matchBiomes(string type, string[] ids)
matchDimensions(int[] ids)
matchDimensions(string type, int[] ids)
matchVerticalRange(int min, int max)
matchSpawnDistance(int min, int max)
matchSpawnDistance(string type, int min, int max)
replaceStrategy(string strategy)
dropStrategy(string strategy)
dropCount(Range range)
addDrop(Drop drop)
fallthrough(boolean fallthrough)
Harvester
导包
type(string type)
mainHand(string harvestLevel)
mainHand(IItemStack[] items)
mainHand(string type, IItemStack[] items)
mainHand(string type, IItemStack[] items, string harvestLevel)
offHand(string harvestLevel)
offHand(IItemStack[] items)
offHand(string type, IItemStack[] items)
offHand(string type, IItemStack[] items, string harvestLevel)
gameStages(string[] stages)
gameStages(string require, string[] stages)
gameStages(string type, string require, string[] stages)
playerName(string[] names)
playerName(string type, string[] names)
Drop
导包
force()
selector(Weight weight)
selector(Weight weight, string silkTouch)
selector(Weight weight, string silkTouch, int fortuneLevelRequired)
items(IItemStack[] items)
items(string drop, IItemStack[] items)
items(IItemStack[] items, Range range)
items(string drop, IItemStack[] items, Range range)
matchQuantity(IItemStack[] drops)
xp(string replace, Range amount)
replaceBlock(string block)
replaceBlock(string block, Map properties)
最后更新于