java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.item.component.ToolData.Rule
Enclosing class:
ToolData

public static class ToolData.Rule extends Object
  • Constructor Details

    • Rule

      public Rule(@Nullable @Nullable String location, int @Nullable [] holders, @Nullable @Nullable Float speed, @Nullable @Nullable Boolean correctForDrops)
  • Method Details

    • getLocation

      @Nullable public @Nullable String getLocation()
    • getHolders

      public int @Nullable [] getHolders()
    • getSpeed

      @Nullable public @Nullable Float getSpeed()
    • getCorrectForDrops

      @Nullable public @Nullable Boolean getCorrectForDrops()
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(@Nullable Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public @NonNull String toString()
      Overrides:
      toString in class Object