net.minecraft.world.level.storage.loot.predicates

public record LocationCheck

implements LootItemCondition

ejt
net.minecraft.world.level.storage.loot.predicates.LocationCheck
net.minecraft.class_205
net.minecraft.unmapped.C_lqmakrms
net.minecraft.loot.condition.LocationCheckLootCondition
net.minecraft.loot.condition.LocationCheckLootCondition
net.minecraft.src.C_2997_
net.minecraft.world.level.storage.loot.predicates.LootItemConditionLocationCheck

Field summary

Modifier and TypeField
private final Optional<LocationPredicate>
b
predicate
comp_1874
f_eqnfjjsw
predicate
predicate
f_81716_
private final BlockPos
c
offset
comp_1875
f_bfijysui
offset
offset
f_81717_
private static final com.mojang.serialization.MapCodec<BlockPos>
d
OFFSET_CODEC
field_45867
f_bxrjjfnl
OFFSET_CODEC
f_290657_
public static final com.mojang.serialization.Codec<LocationCheck>
a
CODEC
field_45866
f_nkffmwkk
CODEC
CODEC
f_291289_

Constructor summary

ModifierConstructor
public (Optional<LocationPredicate> predicate, BlockPos offset)

Method summary

Modifier and TypeMethod
public LootItemConditionType
b()
getType()
method_29325()
m_pfwldqai()
getType()
getType()
m_7940_()
public boolean
a(egw arg0)
test(LootContext arg0)
method_881(class_47 arg0)
m_tmzkxiwm(C_iakykpgh arg0)
test(LootContext arg0)
test(LootContext arg0)
test(C_2811_ arg0)
public static LootItemCondition$Builder
a(ci$a arg0)
checkLocation(LocationPredicate$Builder arg0)
method_884(class_2090$class_2091 arg0)
m_mvqjuclj(C_ypvebgnl$C_okutxubz arg0)
builder(LocationPredicate$Builder predicateBuilder)
builder(LocationPredicate$Builder predicateBuilder)
m_81725_(C_1761_$C_1762_ p_81726_)
public static LootItemCondition$Builder
a(ci$a arg0, hx arg1)
checkLocation(LocationPredicate$Builder arg0, BlockPos arg1)
method_30151(class_2090$class_2091 arg0, class_2338 arg1)
m_epauhchv(C_ypvebgnl$C_okutxubz arg0, C_hynzadkk arg1)
builder(LocationPredicate$Builder predicateBuilder, BlockPos pos)
builder(LocationPredicate$Builder predicateBuilder, BlockPos pos)
m_81727_(C_1761_$C_1762_ p_81728_, C_4675_ p_81729_)
public Optional<LocationPredicate>
c()
predicate()
comp_1874()
m_tuhetyqq()
predicate()
predicate()
f_81716_()
public BlockPos
d()
offset()
comp_1875()
m_azsvxpur()
offset()
offset()
f_81717_()