Uses of Class
net.minecraft.loot.context.LootContextType
Packages that use LootContextType
Package
Description
-
Uses of LootContextType in net.minecraft.data.server.loottable
Fields in net.minecraft.data.server.loottable declared as LootContextTypeModifier and TypeFieldDescriptionprivate final LootContextTypeLootTableProvider.LootTypeGenerator.paramSetThe field for theparamSetrecord component.Methods in net.minecraft.data.server.loottable that return LootContextTypeModifier and TypeMethodDescriptionLootTableProvider.LootTypeGenerator.paramSet()Returns the value of theparamSetrecord component.Constructors in net.minecraft.data.server.loottable with parameters of type LootContextTypeModifierConstructorDescriptionLootTypeGenerator(Supplier<LootTableGenerator> supplier, LootContextType lootContextType) -
Uses of LootContextType in net.minecraft.loot
Fields in net.minecraft.loot declared as LootContextTypeModifier and TypeFieldDescriptionprivate final LootContextTypeLootTableReporter.contextTypestatic final LootContextTypeLootTable.GENERICprivate LootContextTypeLootTable.Builder.type(package private) final LootContextTypeLootTable.typeMethods in net.minecraft.loot that return LootContextTypeMethods in net.minecraft.loot with parameters of type LootContextTypeModifier and TypeMethodDescriptionLootTable.Builder.type(LootContextType context) LootTableReporter.withContextType(LootContextType contextType) Constructors in net.minecraft.loot with parameters of type LootContextTypeModifierConstructorDescription(package private)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 LootContextTypeModifier and TypeFieldDescriptionstatic final LootContextTypeLootContextTypes.ADVANCEMENT_ENTITYstatic final LootContextTypeLootContextTypes.ADVANCEMENT_REWARDstatic final LootContextTypeLootContextTypes.ARCHAEOLOGYstatic final LootContextTypeLootContextTypes.BARTERstatic final LootContextTypeLootContextTypes.BLOCKstatic final LootContextTypeLootContextTypes.CHESTstatic final LootContextTypeLootContextTypes.COMMANDstatic final LootContextTypeLootContextTypes.EMPTYstatic final LootContextTypeLootContextTypes.ENTITYstatic final LootContextTypeLootContextTypes.FISHINGstatic final LootContextTypeLootContextTypes.GENERICstatic final LootContextTypeLootContextTypes.GIFTstatic final LootContextTypeLootContextTypes.SELECTORFields in net.minecraft.loot.context with type parameters of type LootContextTypeModifier and TypeFieldDescriptionprivate static final BiMap<Identifier,LootContextType> LootContextTypes.MAPMethods in net.minecraft.loot.context that return LootContextTypeModifier and TypeMethodDescriptionLootContextType.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 LootContextTypeModifier and TypeMethodDescriptionLootContext.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 LootContextTypeModifier and TypeMethodDescriptionfinal LootCondition[]AdvancementEntityPredicateDeserializer.loadConditions(JsonArray array, String key, LootContextType contextType)