mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-12-28 23:38:32 +01:00
Yeet block tool type
This is 99% controlled by the server now.
This commit is contained in:
parent
b5307ab3ed
commit
c588127648
2 changed files with 0 additions and 4 deletions
|
@ -143,8 +143,6 @@ public abstract class BlockTranslator {
|
||||||
builder.canBreakWithHand(false);
|
builder.canBreakWithHand(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
builder.toolType(""); //TODO
|
|
||||||
|
|
||||||
JsonNode collisionIndexNode = entry.getValue().get("collision_index");
|
JsonNode collisionIndexNode = entry.getValue().get("collision_index");
|
||||||
if (hardnessNode != null) {
|
if (hardnessNode != null) {
|
||||||
builder.collisionIndex(collisionIndexNode.intValue());
|
builder.collisionIndex(collisionIndexNode.intValue());
|
||||||
|
|
|
@ -28,7 +28,6 @@ package org.geysermc.connector.registry.type;
|
||||||
import lombok.Builder;
|
import lombok.Builder;
|
||||||
import lombok.Value;
|
import lombok.Value;
|
||||||
|
|
||||||
import javax.annotation.Nonnull;
|
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
|
|
||||||
@Builder
|
@Builder
|
||||||
|
@ -45,7 +44,6 @@ public class BlockMapping {
|
||||||
|
|
||||||
double hardness;
|
double hardness;
|
||||||
boolean canBreakWithHand;
|
boolean canBreakWithHand;
|
||||||
@Nonnull String toolType;
|
|
||||||
/**
|
/**
|
||||||
* The index of this collision in collision.json
|
* The index of this collision in collision.json
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue