类的使用
net.minecraft.loot.context.LootContextType
-
使用LootContextType的程序包 程序包 说明 net.minecraft.data.server net.minecraft.loot net.minecraft.loot.context net.minecraft.predicate.entity -
-
net.minecraft.data.server中LootContextType的使用
类型参数类型为LootContextType的net.minecraft.data.server中的字段 修饰符和类型 字段 说明 private List<com.mojang.datafixers.util.Pair<Supplier<Consumer<BiConsumer<Identifier,LootTable.Builder>>>,LootContextType>>LootTablesProvider. lootTypeGenerators -
net.minecraft.loot中LootContextType的使用
声明为LootContextType的net.minecraft.loot中的字段 修饰符和类型 字段 说明 private LootContextTypeLootTableReporter. contextTypestatic LootContextTypeLootTable. GENERICprivate LootContextTypeLootTable.Builder. typeprivate LootContextTypeLootTable. type返回LootContextType的net.minecraft.loot中的方法 修饰符和类型 方法 说明 LootContextTypeLootTable. getType()参数类型为LootContextType的net.minecraft.loot中的方法 修饰符和类型 方法 说明 LootTable.BuilderLootTable.Builder. type(LootContextType context)LootTableReporterLootTableReporter. withContextType(LootContextType contextType)参数类型为LootContextType的net.minecraft.loot中的构造器 构造器 说明 LootTable(LootContextType type, LootPool[] pools, LootFunction[] functions)LootTableReporter(Multimap<String,String> messages, Supplier<String> nameFactory, LootContextType contextType, Function<Identifier,LootCondition> conditionGetter, Set<Identifier> conditions, Function<Identifier,LootTable> tableGetter, Set<Identifier> tables)LootTableReporter(LootContextType contextType, Function<Identifier,LootCondition> conditionGetter, Function<Identifier,LootTable> tableFactory) -
net.minecraft.loot.context中LootContextType的使用
声明为LootContextType的net.minecraft.loot.context中的字段 修饰符和类型 字段 说明 static LootContextTypeLootContextTypes. ADVANCEMENT_ENTITYstatic LootContextTypeLootContextTypes. ADVANCEMENT_REWARDstatic LootContextTypeLootContextTypes. BARTERstatic LootContextTypeLootContextTypes. BLOCKstatic LootContextTypeLootContextTypes. CHESTstatic LootContextTypeLootContextTypes. COMMANDstatic LootContextTypeLootContextTypes. EMPTYstatic LootContextTypeLootContextTypes. ENTITYstatic LootContextTypeLootContextTypes. FISHINGstatic LootContextTypeLootContextTypes. GENERICstatic LootContextTypeLootContextTypes. GIFTstatic LootContextTypeLootContextTypes. SELECTOR类型参数类型为LootContextType的net.minecraft.loot.context中的字段 修饰符和类型 字段 说明 private static BiMap<Identifier,LootContextType>LootContextTypes. MAP返回LootContextType的net.minecraft.loot.context中的方法 修饰符和类型 方法 说明 LootContextTypeLootContextType.Builder. build()static @Nullable LootContextTypeLootContextTypes. get(Identifier id)private static LootContextTypeLootContextTypes. register(String name, Consumer<LootContextType.Builder> type)参数类型为LootContextType的net.minecraft.loot.context中的方法 修饰符和类型 方法 说明 LootContextLootContext.Builder. build(LootContextType type)static @Nullable IdentifierLootContextTypes. getId(LootContextType type) -
net.minecraft.predicate.entity中LootContextType的使用
参数类型为LootContextType的net.minecraft.predicate.entity中的方法 修饰符和类型 方法 说明 LootCondition[]AdvancementEntityPredicateDeserializer. loadConditions(JsonArray array, String key, LootContextType contextType)
-