Uses of Class
net.minecraft.loot.context.LootContextType
| Package | Description |
|---|---|
| net.minecraft.data.server | |
| net.minecraft.loot | |
| net.minecraft.loot.context | |
| net.minecraft.predicate.entity |
-
Uses of LootContextType in net.minecraft.data.server
Fields in net.minecraft.data.server with type parameters of type LootContextType Modifier and Type Field Description private List<com.mojang.datafixers.util.Pair<Supplier<Consumer<BiConsumer<Identifier,LootTable.Builder>>>,LootContextType>>LootTablesProvider. lootTypeGenerators -
Uses of LootContextType in net.minecraft.loot
Fields in net.minecraft.loot declared as LootContextType Modifier and Type Field Description private LootContextTypeLootTableReporter. contextTypestatic LootContextTypeLootTable. GENERICprivate LootContextTypeLootTable.Builder. typeprivate LootContextTypeLootTable. typeMethods in net.minecraft.loot that return LootContextType Modifier and Type Method Description LootContextTypeLootTable. getType()Methods in net.minecraft.loot with parameters of type LootContextType Modifier and Type Method Description LootTable.BuilderLootTable.Builder. type(LootContextType context)LootTableReporterLootTableReporter. withContextType(LootContextType contextType)Constructors in net.minecraft.loot with parameters of type LootContextType Constructor Description 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) -
Uses of LootContextType in net.minecraft.loot.context
Fields in net.minecraft.loot.context declared as LootContextType Modifier and Type Field Description 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. SELECTORFields in net.minecraft.loot.context with type parameters of type LootContextType Modifier and Type Field Description private static BiMap<Identifier,LootContextType>LootContextTypes. MAPMethods in net.minecraft.loot.context that return LootContextType Modifier and Type Method Description LootContextTypeLootContextType.Builder. build()static @Nullable LootContextTypeLootContextTypes. get(Identifier id)private static LootContextTypeLootContextTypes. register(String name, Consumer<LootContextType.Builder> type)Methods in net.minecraft.loot.context with parameters of type LootContextType Modifier and Type Method Description LootContextLootContext.Builder. build(LootContextType type)static @Nullable IdentifierLootContextTypes. getId(LootContextType type) -
Uses of LootContextType in net.minecraft.predicate.entity
Methods in net.minecraft.predicate.entity with parameters of type LootContextType Modifier and Type Method Description LootCondition[]AdvancementEntityPredicateDeserializer. loadConditions(JsonArray array, String key, LootContextType contextType)