Package net.minecraftforge.common.loot
Class LootTableIdCondition
java.lang.Object
net.minecraftforge.common.loot.LootTableIdCondition
- All Implemented Interfaces:
Predicate<LootContext>,LootContextUser,LootItemCondition
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LootItemConditionTypeprivate final ResourceLocationstatic final ResourceLocation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LootTableIdCondition.Builderbuilder(ResourceLocation targetLootTableId) getType()booleantest(LootContext lootContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.storage.loot.LootContextUser
getReferencedContextParams, validate
-
Field Details
-
LOOT_TABLE_ID
-
UNKNOWN_LOOT_TABLE
-
targetLootTableId
-
-
Constructor Details
-
LootTableIdCondition
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceLootItemCondition
-
test
- Specified by:
testin interfacePredicate<LootContext>
-
builder
-