接口 IAdvancementBuilderExtension
- 所有已知实现类:
Advancement.Builder
public interface IAdvancementBuilderExtension
-
方法概要
修饰符和类型方法说明default AdvancementHolder
save
(Consumer<AdvancementHolder> saver, ResourceLocation id) Saves this builder with the given id.private Advancement.Builder
self()
-
方法详细资料
-
self
-
save
Saves this builder with the given id.- 参数:
saver
- aConsumer
which saves any advancements providedid
- theResourceLocation
id for the new advancement- 返回:
- the built advancement
- 抛出:
IllegalStateException
- if the parent of the advancement is not known
-