Refactored Bogey Sizes
This commit is contained in:
parent
e10d07ddc3
commit
6a185c4e72
|
@ -47,10 +47,6 @@ public class BogeySizes {
|
||||||
return BOGEY_SIZES.size();
|
return BOGEY_SIZES.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void init() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public record BogeySize(ResourceLocation location, Float wheelRadius) {
|
public record BogeySize(ResourceLocation location, Float wheelRadius) {
|
||||||
public BogeySize(String modId, String name, float wheelRadius) {
|
public BogeySize(String modId, String name, float wheelRadius) {
|
||||||
this(new ResourceLocation(modId, name), wheelRadius);
|
this(new ResourceLocation(modId, name), wheelRadius);
|
||||||
|
@ -66,4 +62,8 @@ public class BogeySizes {
|
||||||
return size.location == this.location;
|
return size.location == this.location;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void init() {
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue