Uses of Record Class
net.minecraft.advancements.predicates.BlockPredicate
Packages that use BlockPredicate
Package
Description
-
Uses of BlockPredicate in net.minecraft.advancements.predicates
Fields in net.minecraft.advancements.predicates 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 com.mojang.serialization.MapCodec<BlockPredicate> BlockPredicate.MAP_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, BlockPredicate> BlockPredicate.STREAM_CODECMethods in net.minecraft.advancements.predicates that return BlockPredicateMethods in net.minecraft.advancements.predicates 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 BlockPredicate -
Uses of BlockPredicate in net.minecraft.world.level.storage.loot.predicates
Fields in net.minecraft.world.level.storage.loot.predicates declared as BlockPredicateModifier and TypeFieldDescriptionprivate final BlockPredicateMatchBlock.predicateThe field for thepredicaterecord component.Methods in net.minecraft.world.level.storage.loot.predicates that return BlockPredicateModifier and TypeMethodDescriptionMatchBlock.predicate()Returns the value of thepredicaterecord component.Constructors in net.minecraft.world.level.storage.loot.predicates with parameters of type BlockPredicateModifierConstructorDescriptionMatchBlock(BlockPredicate predicate) Creates an instance of aMatchBlockrecord class.