类 LootingEnchantFunction
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
net.minecraft.world.level.storage.loot.functions.LootingEnchantFunction
- 所有已实现的接口:
BiFunction<ItemStack,
,LootContext, ItemStack> LootItemFunction
,LootContextUser
-
嵌套类概要
嵌套类修饰符和类型类说明static class
static class
从类继承的嵌套类/接口 net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
LootItemConditionalFunction.DummyBuilder
-
字段概要
字段从类继承的字段 net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
predicates
-
构造器概要
构造器构造器说明LootingEnchantFunction
(LootItemCondition[] pConditions, NumberProvider pLootingMultiplier, int pCountLimit) -
方法概要
修饰符和类型方法说明Set<LootContextParam<?>>
getType()
(专用程序包) boolean
hasLimit()
lootingMultiplier
(NumberProvider pLootingMultiplier) run
(ItemStack pStack, LootContext pContext) 从类继承的方法 net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
apply, simpleBuilder, validate
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 java.util.function.BiFunction
andThen
-
字段详细资料
-
NO_LIMIT
public static final int NO_LIMIT- 另请参阅:
-
value
-
limit
final int limit
-
-
构造器详细资料
-
LootingEnchantFunction
LootingEnchantFunction(LootItemCondition[] pConditions, NumberProvider pLootingMultiplier, int pCountLimit)
-
-
方法详细资料
-
getType
-
getReferencedContextParams
-
hasLimit
boolean hasLimit() -
run
- 指定者:
run
在类中LootItemConditionalFunction
-
lootingMultiplier
-