mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-02-25 19:39:48 +01:00
Fixed issue raised in #1
This commit is contained in:
parent
6564f4fa73
commit
c7e9df973c
1 changed files with 4 additions and 3 deletions
|
@ -21,14 +21,15 @@ public class BogeySizes {
|
||||||
BOGEY_SIZES.add(LARGE);
|
BOGEY_SIZES.add(LARGE);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void addSize(String modId, String name, float size) {
|
public static BogeySize addSize(String modId, String name, float size) {
|
||||||
ResourceLocation location = new ResourceLocation(modId, name);
|
ResourceLocation location = new ResourceLocation(modId, name);
|
||||||
addSize(location, size);
|
return addSize(location, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void addSize(ResourceLocation location, float size) {
|
public static BogeySize addSize(ResourceLocation location, float size) {
|
||||||
BogeySize customSize = new BogeySize(location, size);
|
BogeySize customSize = new BogeySize(location, size);
|
||||||
BOGEY_SIZES.add(customSize);
|
BOGEY_SIZES.add(customSize);
|
||||||
|
return customSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static List<BogeySize> getAllSizesSmallToLarge() {
|
public static List<BogeySize> getAllSizesSmallToLarge() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue