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 named net/minecraft/loot/condition/LootCondition
intermediary net/minecraft/class_5341
official ett
-
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 named getType
Lnet/minecraft/loot/condition/LootCondition;getType()Lnet/minecraft/loot/condition/LootConditionType;
intermediary method_29325
Lnet/minecraft/class_5341;method_29325()Lnet/minecraft/class_5342;
official b
Lett;b()Letu;
-