Refactored Bogey Sizes

This commit is contained in:
Rabbitminers 2023-04-30 20:01:16 +01:00
parent e10d07ddc3
commit 6a185c4e72

View file

@ -47,10 +47,6 @@ public class BogeySizes {
return BOGEY_SIZES.size();
}
public static void init() {
}
public record BogeySize(ResourceLocation location, Float wheelRadius) {
public BogeySize(String modId, String name, float wheelRadius) {
this(new ResourceLocation(modId, name), wheelRadius);
@ -66,4 +62,8 @@ public class BogeySizes {
return size.location == this.location;
}
}
public static void init() {
}
}