Uses of Class
net.minecraft.util.context.ContextType
Packages that use ContextType
Package
Description
-
Uses of ContextType in net.minecraft.data.server.loottable
Fields in net.minecraft.data.server.loottable declared as ContextTypeModifier and TypeFieldDescriptionprivate final ContextTypeLootTableProvider.LootTypeGenerator.paramSetThe field for theparamSetrecord component.Methods in net.minecraft.data.server.loottable that return ContextTypeModifier and TypeMethodDescriptionLootTableProvider.LootTypeGenerator.paramSet()Returns the value of theparamSetrecord component.Constructors in net.minecraft.data.server.loottable with parameters of type ContextTypeModifierConstructorDescriptionLootTypeGenerator(Function<RegistryWrapper.WrapperLookup, LootTableGenerator> function, ContextType contextType) -
Uses of ContextType in net.minecraft.enchantment.effect
Methods in net.minecraft.enchantment.effect with parameters of type ContextTypeModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<EnchantmentEffectEntry<T>> EnchantmentEffectEntry.createCodec(com.mojang.serialization.Codec<T> effectCodec, ContextType lootContextType) static <S> com.mojang.serialization.Codec<TargetedEnchantmentEffect<S>> TargetedEnchantmentEffect.createEquipmentDropsCodec(com.mojang.serialization.Codec<S> effectCodec, ContextType lootContextType) static <S> com.mojang.serialization.Codec<TargetedEnchantmentEffect<S>> TargetedEnchantmentEffect.createPostAttackCodec(com.mojang.serialization.Codec<S> effectCodec, ContextType lootContextType) static com.mojang.serialization.Codec<LootCondition> EnchantmentEffectEntry.createRequirementsCodec(ContextType lootContextType) -
Uses of ContextType in net.minecraft.loot
Fields in net.minecraft.loot declared as ContextTypeModifier and TypeFieldDescriptionprivate final ContextTypeLootTableReporter.contextTypestatic final ContextTypeLootTable.GENERICprivate ContextTypeLootTable.Builder.typeprivate final ContextTypeLootTable.typeMethods in net.minecraft.loot that return ContextTypeMethods in net.minecraft.loot with parameters of type ContextTypeModifier and TypeMethodDescriptionLootTable.Builder.type(ContextType type) LootTableReporter.withContextType(ContextType contextType) Constructors in net.minecraft.loot with parameters of type ContextTypeModifierConstructorDescription(package private)LootTable(ContextType type, Optional<Identifier> randomSequenceId, List<LootPool> pools, List<LootFunction> functions) LootTableReporter(ErrorReporter errorReporter, ContextType contextType) privateLootTableReporter(ErrorReporter errorReporter, ContextType contextType, Optional<RegistryEntryLookup.RegistryLookup> dataLookup, Set<RegistryKey<?>> referenceStack) LootTableReporter(ErrorReporter errorReporter, ContextType contextType, RegistryEntryLookup.RegistryLookup dataLookup) -
Uses of ContextType in net.minecraft.loot.context
Fields in net.minecraft.loot.context declared as ContextTypeModifier and TypeFieldDescriptionstatic final ContextTypeLootContextTypes.ADVANCEMENT_ENTITYstatic final ContextTypeLootContextTypes.ADVANCEMENT_LOCATIONstatic final ContextTypeLootContextTypes.ADVANCEMENT_REWARDstatic final ContextTypeLootContextTypes.ARCHAEOLOGYstatic final ContextTypeLootContextTypes.BARTERstatic final ContextTypeLootContextTypes.BLOCKstatic final ContextTypeLootContextTypes.BLOCK_USEstatic final ContextTypeLootContextTypes.CHESTstatic final ContextTypeLootContextTypes.COMMANDstatic final ContextTypeLootContextTypes.EMPTYstatic final ContextTypeLootContextTypes.ENCHANTED_DAMAGEstatic final ContextTypeLootContextTypes.ENCHANTED_ENTITYstatic final ContextTypeLootContextTypes.ENCHANTED_ITEMstatic final ContextTypeLootContextTypes.ENCHANTED_LOCATIONstatic final ContextTypeLootContextTypes.ENTITYstatic final ContextTypeLootContextTypes.EQUIPMENTstatic final ContextTypeLootContextTypes.FISHINGstatic final ContextTypeLootContextTypes.GENERICstatic final ContextTypeLootContextTypes.GIFTstatic final ContextTypeLootContextTypes.HIT_BLOCKstatic final ContextTypeLootContextTypes.SELECTORstatic final ContextTypeLootContextTypes.SHEARINGstatic final ContextTypeLootContextTypes.VAULTFields in net.minecraft.loot.context with type parameters of type ContextTypeModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ContextType> LootContextTypes.CODECprivate static final BiMap<Identifier, ContextType> LootContextTypes.MAPMethods in net.minecraft.loot.context that return ContextTypeModifier and TypeMethodDescriptionprivate static ContextTypeLootContextTypes.register(String name, Consumer<ContextType.Builder> type) Methods in net.minecraft.loot.context with parameters of type ContextType -
Uses of ContextType in net.minecraft.predicate.entity
Methods in net.minecraft.predicate.entity with parameters of type ContextTypeModifier and TypeMethodDescriptionvoidLootContextPredicateValidator.validate(List<LootContextPredicate> predicates, ContextType type, String path) voidLootContextPredicateValidator.validate(LootContextPredicate predicate, ContextType type, String path) -
Uses of ContextType in net.minecraft.recipe.display
Fields in net.minecraft.recipe.display declared as ContextType -
Uses of ContextType in net.minecraft.util.context
Methods in net.minecraft.util.context that return ContextTypeMethods in net.minecraft.util.context with parameters of type ContextType