2025-11-24 22:52:51 +03:00

25 lines
655 B
Java

/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* com.mojang.datafixers.schemas.Schema
*/
package net.minecraft.util.datafix.fixes;
import com.mojang.datafixers.schemas.Schema;
import java.util.Objects;
import net.minecraft.util.datafix.fixes.SimplestEntityRenameFix;
public class EntityTippedArrowFix
extends SimplestEntityRenameFix {
public EntityTippedArrowFix(Schema outputSchema, boolean changesType) {
super("EntityTippedArrowFix", outputSchema, changesType);
}
@Override
protected String rename(String name) {
return Objects.equals(name, "TippedArrow") ? "Arrow" : name;
}
}