Uses of Class
net.minecraft.loot.context.LootContextType
Packages that use LootContextType
Package
Description
-
Uses of LootContextType in net.minecraft.data.server
Fields in net.minecraft.data.server with type parameters of type LootContextTypeModifier and TypeFieldDescriptionprivate final List<com.mojang.datafixers.util.Pair<Supplier<Consumer<BiConsumer<Identifier,
LootTable.Builder>>>, LootContextType>> LootTableProvider.lootTypeGenerators
-
Uses of LootContextType in net.minecraft.loot
Fields in net.minecraft.loot declared as LootContextTypeModifier and TypeFieldDescriptionprivate final LootContextType
LootTableReporter.contextType
static final LootContextType
LootTable.GENERIC
private LootContextType
LootTable.Builder.type
(package private) final LootContextType
LootTable.type
Methods 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 LootContextType
LootContextTypes.ADVANCEMENT_ENTITY
static final LootContextType
LootContextTypes.ADVANCEMENT_REWARD
static final LootContextType
LootContextTypes.BARTER
static final LootContextType
LootContextTypes.BLOCK
static final LootContextType
LootContextTypes.CHEST
static final LootContextType
LootContextTypes.COMMAND
static final LootContextType
LootContextTypes.EMPTY
static final LootContextType
LootContextTypes.ENTITY
static final LootContextType
LootContextTypes.FISHING
static final LootContextType
LootContextTypes.GENERIC
static final LootContextType
LootContextTypes.GIFT
static final LootContextType
LootContextTypes.SELECTOR
Fields in net.minecraft.loot.context with type parameters of type LootContextTypeModifier and TypeFieldDescriptionprivate static final BiMap<Identifier,
LootContextType> LootContextTypes.MAP
Methods in net.minecraft.loot.context that return LootContextTypeModifier and TypeMethodDescriptionLootContextType.Builder.build()
static @Nullable LootContextType
LootContextTypes.get
(Identifier id) private static LootContextType
LootContextTypes.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 Identifier
LootContextTypes.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)