Uses of Record Class
net.minecraft.advancements.critereon.BlockPredicate
-
Uses of BlockPredicate in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate final Optional
<BlockPredicate> LocationPredicate.block
The field for theblock
record component.private Optional
<BlockPredicate> LocationPredicate.Builder.block
static final com.mojang.serialization.Codec
<BlockPredicate> BlockPredicate.CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, BlockPredicate> BlockPredicate.STREAM_CODEC
Modifier and TypeMethodDescriptionLocationPredicate.block()
Returns the value of theblock
record component. -
Uses of BlockPredicate in net.minecraft.world.item
Modifier and TypeFieldDescriptionprivate final List
<BlockPredicate> AdventureModePredicate.predicates
Modifier and TypeMethodDescriptionAdventureModePredicate.computeTooltip
(List<BlockPredicate> p_332164_) ModifierConstructorDescriptionAdventureModePredicate
(List<BlockPredicate> p_331906_, boolean p_331780_) private
AdventureModePredicate
(List<BlockPredicate> p_335644_, boolean p_335774_, List<Component> p_336056_)