类 SetStewEffectFunction.Builder
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder<SetStewEffectFunction.Builder>
net.minecraft.world.level.storage.loot.functions.SetStewEffectFunction.Builder
public static class SetStewEffectFunction.Builder
extends LootItemConditionalFunction.Builder<SetStewEffectFunction.Builder>
-
字段概要
字段修饰符和类型字段说明private final com.google.common.collect.ImmutableList.Builder
<SetStewEffectFunction.EffectEntry> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()
protected SetStewEffectFunction.Builder
getThis()
withEffect
(Holder<MobEffect> p_331394_, NumberProvider p_165474_) 从类继承的方法 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
-
字段详细资料
-
effects
private final com.google.common.collect.ImmutableList.Builder<SetStewEffectFunction.EffectEntry> effects
-
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
getThis
-
withEffect
public SetStewEffectFunction.Builder withEffect(Holder<MobEffect> p_331394_, NumberProvider p_165474_) -
build
-