类 LootTableIdCondition
java.lang.Object
net.neoforged.neoforge.common.loot.LootTableIdCondition
- 所有已实现的接口:
Predicate<LootContext>
,LootContextUser
,LootItemCondition
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明static final com.mojang.serialization.MapCodec
<LootTableIdCondition> static final LootItemConditionType
private final ResourceLocation
static final ResourceLocation
从接口继承的字段 net.minecraft.world.level.storage.loot.predicates.LootItemCondition
DIRECT_CODEC, TYPED_CODEC
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static LootTableIdCondition.Builder
builder
(ResourceLocation targetLootTableId) getType()
boolean
test
(LootContext lootContext) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.level.storage.loot.LootContextUser
getReferencedContextParams, validate
-
字段详细资料
-
CODEC
-
LOOT_TABLE_ID
-
UNKNOWN_LOOT_TABLE
-
targetLootTableId
-
-
构造器详细资料
-
LootTableIdCondition
-
-
方法详细资料
-
getType
- 指定者:
getType
在接口中LootItemCondition
-
test
- 指定者:
test
在接口中Predicate<LootContext>
-
builder
-