Package net.minecraftforge.common.loot
Class LootTableIdCondition
java.lang.Object
net.minecraftforge.common.loot.LootTableIdCondition
- All Implemented Interfaces:
Predicate<LootContext>
,ILootCondition
,IParameterized
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from interface net.minecraft.loot.conditions.ILootCondition
ILootCondition.IBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LootConditionType
private final ResourceLocation
static final ResourceLocation
-
Constructor Summary
Constructors -
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.loot.IParameterized
getReferencedContextParams, validate
-
Field Details
-
LOOT_TABLE_ID
-
UNKNOWN_LOOT_TABLE
-
targetLootTableId
-
-
Constructor Details
-
LootTableIdCondition
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceILootCondition
-
test
- Specified by:
test
in interfacePredicate<LootContext>
-
builder
-