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
-
Method Summary
protected boolean
boolean
int
-
Constructor Details
-
Rule
public Rule(@NonNull
@NonNull HolderSet blocks,
@Nullable
@Nullable Float speed,
@Nullable
@Nullable Boolean correctForDrops)
-
Method Details
-
getBlocks
@NonNull
public @NonNull HolderSet getBlocks()
-
getSpeed
@Nullable
public @Nullable Float getSpeed()
-
getCorrectForDrops
@Nullable
public @Nullable Boolean getCorrectForDrops()
-
-
canEqual
protected boolean canEqual(@Nullable Object other)
-
-