Class StatePropertiesPredicate


  • public class StatePropertiesPredicate
    extends java.lang.Object
    • Method Detail

      • getStringOrNull

        @Nullable
        private static java.lang.String getStringOrNull​(com.google.gson.JsonElement p_227189_0_)
      • matches

        public boolean matches​(BlockState p_227181_1_)
      • matches

        public boolean matches​(FluidState p_227185_1_)
      • checkState

        public void checkState​(StateContainer<?,​?> p_227183_1_,
                               java.util.function.Consumer<java.lang.String> p_227183_2_)
      • serializeToJson

        public com.google.gson.JsonElement serializeToJson()