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
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final LootItemConditionType
private final ResourceLocation
static final ResourceLocation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LootTableIdCondition.Builder
builder
(ResourceLocation targetLootTableId) getType()
boolean
test
(LootContext lootContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getType
in interfaceLootItemCondition
-
test
- Specified by:
test
in interfacePredicate<LootContext>
-
builder
-