Uses of Class
net.minecraft.loot.context.LootContextType
Package
Description
-
Uses of LootContextType in net.minecraft.data.server.loottable
Modifier and TypeFieldDescriptionprivate final LootContextType
LootTableProvider.LootTypeGenerator.paramSet
The field for theparamSet
record component.Modifier and TypeMethodDescriptionLootTableProvider.LootTypeGenerator.paramSet()
Returns the value of theparamSet
record component.ModifierConstructorDescriptionLootTypeGenerator
(Supplier<LootTableGenerator> supplier, LootContextType lootContextType) -
Uses of LootContextType in net.minecraft.loot
Modifier and TypeFieldDescriptionprivate final LootContextType
LootTableReporter.contextType
static final LootContextType
LootTable.GENERIC
private LootContextType
LootTable.Builder.type
private final LootContextType
LootTable.type
Modifier and TypeMethodDescriptionLootTable.Builder.type
(LootContextType type) LootTableReporter.withContextType
(LootContextType contextType) ModifierConstructorDescription(package private)
LootTable
(LootContextType type, Optional<Identifier> randomSequenceId, List<LootPool> pools, List<LootFunction> functions) LootTableReporter
(ErrorReporter errorReporter, LootContextType contextType, LootDataLookup dataLookup) private
LootTableReporter
(ErrorReporter errorReporter, LootContextType contextType, LootDataLookup dataLookup, Set<LootDataKey<?>> referenceStack) -
Uses of LootContextType in net.minecraft.loot.context
Modifier and TypeFieldDescriptionstatic final LootContextType
LootContextTypes.ADVANCEMENT_ENTITY
static final LootContextType
LootContextTypes.ADVANCEMENT_LOCATION
static final LootContextType
LootContextTypes.ADVANCEMENT_REWARD
static final LootContextType
LootContextTypes.ARCHAEOLOGY
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
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LootContextType>
LootContextTypes.CODEC
private static final BiMap<Identifier,
LootContextType> LootContextTypes.MAP
Modifier and TypeMethodDescriptionLootContextType.Builder.build()
private static LootContextType
LootContextTypes.register
(String name, Consumer<LootContextType.Builder> type) Modifier and TypeMethodDescriptionLootContextParameterSet.Builder.build
(LootContextType contextType) -
Uses of LootContextType in net.minecraft.predicate.entity
Modifier and TypeMethodDescriptionvoid
LootContextPredicateValidator.validate
(List<LootContextPredicate> predicates, LootContextType type, String path) void
LootContextPredicateValidator.validate
(LootContextPredicate predicate, LootContextType type, String path)