类 EnchantRandomlyFunction.Builder
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder<EnchantRandomlyFunction.Builder>
net.minecraft.world.level.storage.loot.functions.EnchantRandomlyFunction.Builder
public static class EnchantRandomlyFunction.Builder
extends LootItemConditionalFunction.Builder<EnchantRandomlyFunction.Builder>
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()
protected EnchantRandomlyFunction.Builder
getThis()
withEnchantment
(Holder<Enchantment> p_342993_) withOneOf
(HolderSet<Enchantment> p_344102_) 从类继承的方法 net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder
getConditions, unwrap, when
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.level.storage.loot.predicates.ConditionUserBuilder
when
-
字段详细资料
-
options
-
onlyCompatible
private boolean onlyCompatible
-
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
getThis
-
withEnchantment
-
withOneOf
-
allowingIncompatibleEnchantments
-
build
-