3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-09-08 20:43:04 +02:00

Yeet block tool type

This is 99% controlled by the server now.
Dieser Commit ist enthalten in:
Camotoy 2021-05-19 22:34:50 -04:00
Ursprung b5307ab3ed
Commit c588127648
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 7EEFB66FE798081F
2 geänderte Dateien mit 0 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -143,8 +143,6 @@ public abstract class BlockTranslator {
builder.canBreakWithHand(false);
}
builder.toolType(""); //TODO
JsonNode collisionIndexNode = entry.getValue().get("collision_index");
if (hardnessNode != null) {
builder.collisionIndex(collisionIndexNode.intValue());

Datei anzeigen

@ -28,7 +28,6 @@ package org.geysermc.connector.registry.type;
import lombok.Builder;
import lombok.Value;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
@Builder
@ -45,7 +44,6 @@ public class BlockMapping {
double hardness;
boolean canBreakWithHand;
@Nonnull String toolType;
/**
* The index of this collision in collision.json
*/