java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.item.component.ToolData.Rule
- Enclosing class:
- ToolData
public static class ToolData.Rule
extends Object
-
Constructor Summary
Constructors
Rule(@Nullable String location,
int @Nullable [] holders,
@Nullable Float speed,
@Nullable Boolean correctForDrops)
-
Method Summary
protected boolean
boolean
int @Nullable []
int
-
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()
-
-
canEqual
protected boolean canEqual(@Nullable Object other)
-
-