Package net.minecraft.loot.condition
Interface LootCondition
- All Superinterfaces:
LootContextAware
,Predicate<LootContext>
- All Known Implementing Classes:
AllOfLootCondition
,AlternativeLootCondition
,AnyOfLootCondition
,BlockStatePropertyLootCondition
,DamageSourcePropertiesLootCondition
,EntityPropertiesLootCondition
,EntityScoresLootCondition
,InvertedLootCondition
,KilledByPlayerLootCondition
,LocationCheckLootCondition
,MatchToolLootCondition
,RandomChanceLootCondition
,RandomChanceWithLootingLootCondition
,ReferenceLootCondition
,SurvivesExplosionLootCondition
,TableBonusLootCondition
,TimeCheckLootCondition
,ValueCheckLootCondition
,WeatherCheckLootCondition
Loot conditions, officially predicates, are JSON-based conditions to test
against in world. It's used in loot tables, advancements, and commands, and can be
defined by data packs.
- Mappings:
Namespace Name official efp
intermediary net/minecraft/class_5341
named net/minecraft/loot/condition/LootCondition
-
Nested Class Summary
-
Method Summary
Methods inherited from interface net.minecraft.loot.context.LootContextAware
getRequiredParameters, validate
-
Method Details
-
getType
LootConditionType getType()- Mappings:
Namespace Name Mixin selector official b
Lefp;b()Lefq;
intermediary method_29325
Lnet/minecraft/class_5341;method_29325()Lnet/minecraft/class_5342;
named getType
Lnet/minecraft/loot/condition/LootCondition;getType()Lnet/minecraft/loot/condition/LootConditionType;
-