Uses of Record Class
net.minecraft.advancements.critereon.BlockPredicate
Packages that use BlockPredicate
-
Uses of BlockPredicate in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type BlockPredicateModifier and TypeFieldDescriptionprivate final Optional<BlockPredicate> LocationPredicate.blockThe field for theblockrecord component.private Optional<BlockPredicate> LocationPredicate.Builder.blockstatic final com.mojang.serialization.Codec<BlockPredicate> BlockPredicate.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, BlockPredicate> BlockPredicate.STREAM_CODECMethods in net.minecraft.advancements.critereon that return BlockPredicateMethods in net.minecraft.advancements.critereon that return types with arguments of type BlockPredicateModifier and TypeMethodDescriptionLocationPredicate.block()Returns the value of theblockrecord component. -
Uses of BlockPredicate in net.minecraft.world.item
Fields in net.minecraft.world.item with type parameters of type BlockPredicateModifier and TypeFieldDescriptionprivate final List<BlockPredicate> AdventureModePredicate.predicatesMethod parameters in net.minecraft.world.item with type arguments of type BlockPredicateModifier and TypeMethodDescriptionAdventureModePredicate.computeTooltip(List<BlockPredicate> predicates) Constructor parameters in net.minecraft.world.item with type arguments of type BlockPredicateModifierConstructorDescriptionAdventureModePredicate(List<BlockPredicate> predicates, boolean showInTooltip) privateAdventureModePredicate(List<BlockPredicate> predicates, boolean showInTooltip, List<Component> tooltip)