Interface LootContextAware

All Known Subinterfaces:
LootCondition, LootFunction, LootNumberProvider
All Known Implementing Classes:
AllOfLootCondition, AlternativeLootCondition, AndFunction, AnyOfLootCondition, ApplyBonusLootFunction, BinomialLootNumberProvider, BlockStatePropertyLootCondition, ConditionalLootFunction, ConstantLootNumberProvider, CopyNameLootFunction, CopyNbtLootFunction, CopyStateFunction, DamageSourcePropertiesLootCondition, EnchantRandomlyLootFunction, EnchantWithLevelsLootFunction, EntityPropertiesLootCondition, EntityScoresLootCondition, ExplorationMapLootFunction, ExplosionDecayLootFunction, FillPlayerHeadLootFunction, FurnaceSmeltLootFunction, InvertedLootCondition, KilledByPlayerLootCondition, LimitCountLootFunction, LocationCheckLootCondition, LootingEnchantLootFunction, MatchToolLootCondition, RandomChanceLootCondition, RandomChanceWithLootingLootCondition, ReferenceLootCondition, ReferenceLootFunction, ScoreLootNumberProvider, SetAttributesLootFunction, SetBannerPatternFunction, SetContentsLootFunction, SetCountLootFunction, SetDamageLootFunction, SetEnchantmentsLootFunction, SetInstrumentLootFunction, SetLootTableLootFunction, SetLoreLootFunction, SetNameLootFunction, SetNbtLootFunction, SetPotionLootFunction, SetStewEffectLootFunction, SurvivesExplosionLootCondition, TableBonusLootCondition, TimeCheckLootCondition, UniformLootNumberProvider, ValueCheckLootCondition, WeatherCheckLootCondition

public interface LootContextAware
Mappings:
Namespace Name
official ecr
intermediary net/minecraft/class_46
named net/minecraft/loot/context/LootContextAware
  • Method Details

    • getRequiredParameters

      default Set<LootContextParameter<?>> getRequiredParameters()
      Mappings:
      Namespace Name Mixin selector
      official a Lecr;a()Ljava/util/Set;
      intermediary method_293 Lnet/minecraft/class_46;method_293()Ljava/util/Set;
      named getRequiredParameters Lnet/minecraft/loot/context/LootContextAware;getRequiredParameters()Ljava/util/Set;
    • validate

      default void validate(LootTableReporter reporter)
      Mappings:
      Namespace Name Mixin selector
      official a Lecr;a(Lecz;)V
      intermediary method_292 Lnet/minecraft/class_46;method_292(Lnet/minecraft/class_58;)V
      named validate Lnet/minecraft/loot/context/LootContextAware;validate(Lnet/minecraft/loot/LootTableReporter;)V