Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-03 14:50:19 +01:00
Yeet block tool type
This is 99% controlled by the server now.
Dieser Commit ist enthalten in:
Ursprung
b5307ab3ed
Commit
c588127648
@ -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
|
||||||
*/
|
*/
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren