Class RuleTest

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.mojang.serialization.Codec<RuleTest> CODEC  
    • Constructor Summary

      Constructors 
      Constructor Description
      RuleTest()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      protected abstract IRuleTestType<?> getType()  
      abstract boolean test​(BlockState p_215181_1_, java.util.Random p_215181_2_)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CODEC

        public static final com.mojang.serialization.Codec<RuleTest> CODEC
    • Constructor Detail

      • RuleTest

        public RuleTest()
    • Method Detail

      • test

        public abstract boolean test​(BlockState p_215181_1_,
                                     java.util.Random p_215181_2_)