Renamed buildroot flash and disk identifier.

This commit is contained in:
Florian Nücke
2021-07-18 02:59:32 +02:00
parent e491670ca5
commit 4109b81afc
11 changed files with 13 additions and 13 deletions

View File

@@ -51,12 +51,12 @@ public final class Items {
new HardDriveItem(4 * Constants.MEGABYTE, DyeColor.GREEN));
public static final RegistryObject<HardDriveItem> HARD_DRIVE_LARGE = register("hard_drive_large", () ->
new HardDriveItem(8 * Constants.MEGABYTE, DyeColor.CYAN));
public static final RegistryObject<HardDriveWithExternalDataItem> HARD_DRIVE_CUSTOM = register("hard_drive_custom", () ->
public static final RegistryObject<HardDriveWithExternalDataItem> HARD_DRIVE_CUSTOM = register("hard_drive_buildroot", () ->
new HardDriveWithExternalDataItem(BlockDeviceDataRegistration.BUILDROOT.getId(), DyeColor.BROWN));
public static final RegistryObject<FlashMemoryItem> FLASH_MEMORY = register("flash_memory", () ->
new FlashMemoryItem(4 * Constants.KILOBYTE));
public static final RegistryObject<FlashMemoryWithExternalDataItem> FLASH_MEMORY_CUSTOM = register("flash_memory_custom", () ->
public static final RegistryObject<FlashMemoryWithExternalDataItem> FLASH_MEMORY_CUSTOM = register("flash_memory_buildroot", () ->
new FlashMemoryWithExternalDataItem(Firmwares.BUILDROOT.getId()));
public static final RegistryObject<FloppyItem> FLOPPY = register("floppy", () ->

View File

@@ -2,7 +2,7 @@
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"oc2:hard_drive_custom"
"oc2:flash_memory_buildroot"
]
},
"criteria": {
@@ -29,7 +29,7 @@
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "oc2:hard_drive_custom"
"recipe": "oc2:flash_memory_buildroot"
}
}
},

View File

@@ -2,7 +2,7 @@
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"oc2:flash_memory_custom"
"oc2:hard_drive_buildroot"
]
},
"criteria": {
@@ -29,7 +29,7 @@
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "oc2:flash_memory_custom"
"recipe": "oc2:hard_drive_buildroot"
}
}
},

View File

@@ -32,7 +32,7 @@
{
"Slot": 0,
"Count": 1,
"id": "oc2:flash_memory_custom"
"id": "oc2:flash_memory_buildroot"
}
]
}

View File

@@ -9,6 +9,6 @@
}
],
"result": {
"item": "oc2:flash_memory_custom"
"item": "oc2:flash_memory_buildroot"
}
}

View File

@@ -9,6 +9,6 @@
}
],
"result": {
"item": "oc2:hard_drive_custom"
"item": "oc2:hard_drive_buildroot"
}
}

View File

@@ -7,9 +7,9 @@
"oc2:hard_drive_small",
"oc2:hard_drive_medium",
"oc2:hard_drive_large",
"oc2:hard_drive_custom",
"oc2:hard_drive_buildroot",
"oc2:flash_memory",
"oc2:flash_memory_custom",
"oc2:flash_memory_buildroot",
"oc2:network_interface_card",
"oc2:disk_drive"
]

View File

@@ -2,6 +2,6 @@
"replace": false,
"values": [
"oc2:flash_memory",
"oc2:flash_memory_custom"
"oc2:flash_memory_buildroot"
]
}

View File

@@ -4,6 +4,6 @@
"oc2:hard_drive_small",
"oc2:hard_drive_medium",
"oc2:hard_drive_large",
"oc2:hard_drive_custom"
"oc2:hard_drive_buildroot"
]
}