finish name fixing + fixedWith -> repairWith
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
eula=true
|
|
||||||
@@ -67,7 +67,7 @@ public class ItemsDataGenerator implements IDataGenerator {
|
|||||||
Identifier repairWithName = itemRegistry.getKey(repairWithItem).orElseThrow().getValue();
|
Identifier repairWithName = itemRegistry.getKey(repairWithItem).orElseThrow().getValue();
|
||||||
fixedWithArray.add(repairWithName.getPath());
|
fixedWithArray.add(repairWithName.getPath());
|
||||||
}
|
}
|
||||||
itemDesc.add("fixedWith", fixedWithArray);
|
itemDesc.add("repairWith", fixedWithArray);
|
||||||
|
|
||||||
int maxDurability = item.getMaxDamage();
|
int maxDurability = item.getMaxDamage();
|
||||||
itemDesc.addProperty("durability", maxDurability);
|
itemDesc.addProperty("durability", maxDurability);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"schemaVersion": 1,
|
"schemaVersion": 1,
|
||||||
"id": "minecrft-data-generator",
|
"id": "minecraft-data-generator",
|
||||||
"version": "${version}",
|
"version": "${version}",
|
||||||
"name": "Minecrft Data Generator",
|
"name": "Minecrft Data Generator",
|
||||||
"description": "",
|
"description": "",
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
"environment": "server",
|
"environment": "server",
|
||||||
"entrypoints": {
|
"entrypoints": {
|
||||||
"main": [
|
"main": [
|
||||||
"dev.u9g.minecrftdatagenerator.Main"
|
"dev.u9g.minecraftdatagenerator.Main"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"mixins": [
|
"mixins": [
|
||||||
|
|||||||
Reference in New Issue
Block a user