class
Rosegold::DataComponents::BlockPredicates
Overview
BlockPredicates - used by can_place_on, can_break.
Per BlockPredicate.STREAM_CODEC (1.21.8/1.21.11):
Optional<HolderSet
DataComponentMatchers holds an exact map (recursive Slot-component parsing) and a partial map. Partial entries are uniform on the wire regardless of predicate type: an Either type-ref (bool + VarInt registry id) followed by the predicate value encoded as a single network NBT tag (ByteBufCodecs.fromCodecWithRegistries), so the value is self-terminating and can be skipped without a per-type codec.