Class EntityTag

    • Field Detail

      • WILD

        public static final EntityTag WILD
        Deprecated.
    • Constructor Detail

      • EntityTag

        public EntityTag​(String tag)
        Deprecated.
      • EntityTag

        public EntityTag​(String tag,
                         boolean weak)
        Deprecated.
    • Method Detail

      • parseTags

        public static EntityTag[] parseTags​(String entity_tags)
        Deprecated.
      • matchesAny

        public static boolean matchesAny​(EntityTag tag1,
                                         String tags)
        Deprecated.
      • matchesAny

        public static boolean matchesAny​(EntityTag tag1,
                                         String tags,
                                         boolean weak)
        Deprecated.
      • matchesAny

        public static boolean matchesAny​(String tag1,
                                         String tags)
        Deprecated.
      • matchesAny

        public static boolean matchesAny​(String tag1,
                                         String tags,
                                         boolean weak)
        Deprecated.
      • matchesAny

        public static boolean matchesAny​(EntityTag tag1,
                                         EntityTag[] tags)
        Deprecated.
      • matchesAny

        public static boolean matchesAny​(EntityTag tag1,
                                         EntityTag[] tags,
                                         boolean weak)
        Deprecated.
      • matches

        public static boolean matches​(EntityTag tag1,
                                      EntityTag tag2)
        Deprecated.
      • matches

        public static boolean matches​(String tag1,
                                      String tag2)
        Deprecated.
      • matches

        public static boolean matches​(EntityTag tag1,
                                      String tag2)
        Deprecated.
      • isWild

        public boolean isWild()
        Deprecated.
      • getTag

        public String getTag()
        Deprecated.
      • isWeak

        public boolean isWeak()
        Deprecated.
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object obj)
        Deprecated.
        Overrides:
        equals in class Object
      • generate

        public static EntityTag generate​(String... material)
        Deprecated.
        Utility method for generating ETags. Works by concatenating the UTF-8 bytes of the provided strings then generating an MD5 hash of the result.
      • matches

        public static boolean matches​(EntityTag etag,
                                      String... material)
        Deprecated.
        Checks that the passed in ETag matches the ETag generated by the generate method
      • toString

        public static String toString​(EntityTag... tags)
        Deprecated.
      • toString

        public static String toString​(String... tags)
        Deprecated.