ZenScript Copyimport mods.roots.predicates.StatePredicate;
使用方式
Link to 使用方式
ZenScript CopyStatePredicate create(
IBlockState state // description of a blockstate against which only blocks themselves (and not state properties) will be compared
);
Creates an IPredicate where the state is stored, and is matched against other states purely by ensuring that they are of the same block, ignoring any property values.
ZenScript Copyimport mods.roots.predicates.StatePredicate;
StatePredicate.create(<blockstate:minecraft:cobblestone>);
Simply matches blocks between states, ignoring any property values.