net.minecraft.world.item

public class AdventureModePredicate

cxe
net.minecraft.world.item.AdventureModePredicate
net.minecraft.class_6538
net.minecraft.unmapped.C_jrmfdips
net.minecraft.item.BlockPredicatesChecker
net.minecraft.item.AdventureModePredicate

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<AdventureModePredicate>
a
CODEC
field_49245
f_qhqqksna
CODEC
CODEC
public static final StreamCodec<RegistryFriendlyByteBuf, AdventureModePredicate>
b
STREAM_CODEC
field_49246
f_ajuiaokq
PACKET_CODEC
PACKET_CODEC
public static final Component
c
CAN_BREAK_HEADER
field_49247
f_kdzcvhec
CAN_BREAK_TEXT
CAN_BREAK
public static final Component
d
CAN_PLACE_HEADER
field_49248
f_qenshxcz
CAN_PLACE_TEXT
CAN_PLACE
private static final Component
e
UNKNOWN_USE
field_49251
f_tjujzjwe
CAN_USE_UNKNOWN_TEXT
UNKNOWN_USE
private final List<BlockPredicate>
f
predicates
field_49252
f_gvlnffkl
predicates
private List<Component>
g
cachedTooltip
field_49254
f_hfqthfhw
tooltipText
private BlockInWorld
h
lastCheckedBlock
field_34450
f_wrwzafhl
cachedPos
lastCheckedBlock
private boolean
i
lastResult
field_34451
f_tcoxgbes
lastResult
lastResult
private boolean
j
checksBlockEntity
field_34452
f_oievdtwg
nbtAware
checksBlockEntities

Constructor summary

ModifierConstructor
public (List<BlockPredicate> predicates)

Method summary

Modifier and TypeMethod
private static boolean
a(eal arg0, eal arg1, boolean arg2)
areSameBlocks(BlockInWorld arg0, BlockInWorld arg1, boolean arg2)
method_38071(class_2694 arg0, class_2694 arg1, boolean arg2)
m_twhujwls(C_gogfiawf arg0, C_gogfiawf arg1, boolean arg2)
canUseCache(CachedBlockPosition pos, CachedBlockPosition cachedPos, boolean nbtAware)
areSameBlocks(CachedBlockPosition pos, CachedBlockPosition cachedPos, boolean checksBlockEntities)
public boolean
a(eal arg0)
test(BlockInWorld arg0)
method_38070(class_2694 arg0)
m_ymdnwpdd(C_gogfiawf arg0)
check(CachedBlockPosition cachedPos)
test(CachedBlockPosition pos)
private List<Component>
a()
tooltip()
method_65042()
m_gdjnkewg()
getOrCreateTooltipText()
public void
a(Consumer<wy> arg0)
addToTooltip(Consumer<Component> arg0)
method_57330(Consumer<class_2561> arg0)
m_ljilgubi(Consumer<C_rdaqiwdt> arg0)
addTooltips(Consumer<Text> adder)
addToTooltip(Consumer<Text> consumer)
private static List<Component>
a(List<ay> arg0)
computeTooltip(List<BlockPredicate> arg0)
method_57329(List<class_4550> arg0)
m_aawzusnj(List<C_uuwlfkxz> arg0)
createTooltipText(List<BlockPredicate> blockPredicates)
getTooltipText(List<BlockPredicate> predicates)