Skip to content

Commit

Permalink
Re-add rpack support for 1.21.3 (#264)
Browse files Browse the repository at this point in the history
* Re-add support for 1.21.3 to resource pack
* Add pack icon
  • Loading branch information
Jikoo authored Dec 14, 2024
1 parent b0c7c84 commit 0ac7575
Show file tree
Hide file tree
Showing 20 changed files with 418 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"parent": "minecraft:block/crafting_table",
"overrides": [
{
"model": "openinv:item/crafting_output",
"predicate": {
"custom_model_data": 9999
}
}
]
}
11 changes: 11 additions & 0 deletions resource-pack/openinv_34/assets/minecraft/models/item/dropper.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"parent": "minecraft:block/dropper",
"overrides": [
{
"model": "openinv:item/drop",
"predicate": {
"custom_model_data": 9999
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"parent": "minecraft:item/generated",
"overrides": [
{
"model": "openinv:item/empty_boots",
"predicate": {
"custom_model_data": 9999
}
},
{
"model": "minecraft:item/leather_boots_quartz_trim",
"predicate": {
"trim_type": 0.1
}
},
{
"model": "minecraft:item/leather_boots_iron_trim",
"predicate": {
"trim_type": 0.2
}
},
{
"model": "minecraft:item/leather_boots_netherite_trim",
"predicate": {
"trim_type": 0.3
}
},
{
"model": "minecraft:item/leather_boots_redstone_trim",
"predicate": {
"trim_type": 0.4
}
},
{
"model": "minecraft:item/leather_boots_copper_trim",
"predicate": {
"trim_type": 0.5
}
},
{
"model": "minecraft:item/leather_boots_gold_trim",
"predicate": {
"trim_type": 0.6
}
},
{
"model": "minecraft:item/leather_boots_emerald_trim",
"predicate": {
"trim_type": 0.7
}
},
{
"model": "minecraft:item/leather_boots_diamond_trim",
"predicate": {
"trim_type": 0.8
}
},
{
"model": "minecraft:item/leather_boots_lapis_trim",
"predicate": {
"trim_type": 0.9
}
},
{
"model": "minecraft:item/leather_boots_amethyst_trim",
"predicate": {
"trim_type": 1.0
}
}
],
"textures": {
"layer0": "minecraft:item/leather_boots",
"layer1": "minecraft:item/leather_boots_overlay"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"parent": "minecraft:item/generated",
"overrides": [
{
"model": "openinv:item/empty_chestplate",
"predicate": {
"custom_model_data": 9999
}
},
{
"model": "minecraft:item/leather_chestplate_quartz_trim",
"predicate": {
"trim_type": 0.1
}
},
{
"model": "minecraft:item/leather_chestplate_iron_trim",
"predicate": {
"trim_type": 0.2
}
},
{
"model": "minecraft:item/leather_chestplate_netherite_trim",
"predicate": {
"trim_type": 0.3
}
},
{
"model": "minecraft:item/leather_chestplate_redstone_trim",
"predicate": {
"trim_type": 0.4
}
},
{
"model": "minecraft:item/leather_chestplate_copper_trim",
"predicate": {
"trim_type": 0.5
}
},
{
"model": "minecraft:item/leather_chestplate_gold_trim",
"predicate": {
"trim_type": 0.6
}
},
{
"model": "minecraft:item/leather_chestplate_emerald_trim",
"predicate": {
"trim_type": 0.7
}
},
{
"model": "minecraft:item/leather_chestplate_diamond_trim",
"predicate": {
"trim_type": 0.8
}
},
{
"model": "minecraft:item/leather_chestplate_lapis_trim",
"predicate": {
"trim_type": 0.9
}
},
{
"model": "minecraft:item/leather_chestplate_amethyst_trim",
"predicate": {
"trim_type": 1.0
}
}
],
"textures": {
"layer0": "minecraft:item/leather_chestplate",
"layer1": "minecraft:item/leather_chestplate_overlay"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"parent": "minecraft:item/generated",
"overrides": [
{
"model": "openinv:item/empty_helmet",
"predicate": {
"custom_model_data": 9999
}
},
{
"model": "minecraft:item/leather_helmet_quartz_trim",
"predicate": {
"trim_type": 0.1
}
},
{
"model": "minecraft:item/leather_helmet_iron_trim",
"predicate": {
"trim_type": 0.2
}
},
{
"model": "minecraft:item/leather_helmet_netherite_trim",
"predicate": {
"trim_type": 0.3
}
},
{
"model": "minecraft:item/leather_helmet_redstone_trim",
"predicate": {
"trim_type": 0.4
}
},
{
"model": "minecraft:item/leather_helmet_copper_trim",
"predicate": {
"trim_type": 0.5
}
},
{
"model": "minecraft:item/leather_helmet_gold_trim",
"predicate": {
"trim_type": 0.6
}
},
{
"model": "minecraft:item/leather_helmet_emerald_trim",
"predicate": {
"trim_type": 0.7
}
},
{
"model": "minecraft:item/leather_helmet_diamond_trim",
"predicate": {
"trim_type": 0.8
}
},
{
"model": "minecraft:item/leather_helmet_lapis_trim",
"predicate": {
"trim_type": 0.9
}
},
{
"model": "minecraft:item/leather_helmet_amethyst_trim",
"predicate": {
"trim_type": 1.0
}
}
],
"textures": {
"layer0": "minecraft:item/leather_helmet",
"layer1": "minecraft:item/leather_helmet_overlay"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"parent": "minecraft:item/generated",
"overrides": [
{
"model": "openinv:item/empty_leggings",
"predicate": {
"custom_model_data": 9999
}
},
{
"model": "minecraft:item/leather_leggings_quartz_trim",
"predicate": {
"trim_type": 0.1
}
},
{
"model": "minecraft:item/leather_leggings_iron_trim",
"predicate": {
"trim_type": 0.2
}
},
{
"model": "minecraft:item/leather_leggings_netherite_trim",
"predicate": {
"trim_type": 0.3
}
},
{
"model": "minecraft:item/leather_leggings_redstone_trim",
"predicate": {
"trim_type": 0.4
}
},
{
"model": "minecraft:item/leather_leggings_copper_trim",
"predicate": {
"trim_type": 0.5
}
},
{
"model": "minecraft:item/leather_leggings_gold_trim",
"predicate": {
"trim_type": 0.6
}
},
{
"model": "minecraft:item/leather_leggings_emerald_trim",
"predicate": {
"trim_type": 0.7
}
},
{
"model": "minecraft:item/leather_leggings_diamond_trim",
"predicate": {
"trim_type": 0.8
}
},
{
"model": "minecraft:item/leather_leggings_lapis_trim",
"predicate": {
"trim_type": 0.9
}
},
{
"model": "minecraft:item/leather_leggings_amethyst_trim",
"predicate": {
"trim_type": 1.0
}
}
],
"textures": {
"layer0": "minecraft:item/leather_leggings",
"layer1": "minecraft:item/leather_leggings_overlay"
}
}
58 changes: 58 additions & 0 deletions resource-pack/openinv_34/assets/minecraft/models/item/shield.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"parent": "builtin/entity",
"gui_light": "front",
"textures": {
"particle": "block/dark_oak_planks"
},
"display": {
"thirdperson_righthand": {
"rotation": [ 0, 90, 0 ],
"translation": [ 10, 6, -4 ],
"scale": [ 1, 1, 1 ]
},
"thirdperson_lefthand": {
"rotation": [ 0, 90, 0 ],
"translation": [ 10, 6, 12 ],
"scale": [ 1, 1, 1 ]
},
"firstperson_righthand": {
"rotation": [ 0, 180, 5 ],
"translation": [ -10, 2, -10 ],
"scale": [ 1.25, 1.25, 1.25 ]
},
"firstperson_lefthand": {
"rotation": [ 0, 180, 5 ],
"translation": [ 10, 0, -10 ],
"scale": [ 1.25, 1.25, 1.25 ]
},
"gui": {
"rotation": [ 15, -25, -5 ],
"translation": [ 2, 3, 0 ],
"scale": [ 0.65, 0.65, 0.65 ]
},
"fixed": {
"rotation": [ 0, 180, 0 ],
"translation": [ -4.5, 4.5, -5],
"scale":[ 0.55, 0.55, 0.55]
},
"ground": {
"rotation": [ 0, 0, 0 ],
"translation": [ 2, 4, 2],
"scale":[ 0.25, 0.25, 0.25]
}
},
"overrides": [
{
"model": "openinv:item/empty_shield",
"predicate": {
"custom_model_data": 9999
}
},
{
"predicate": {
"blocking": 1
},
"model": "item/shield_blocking"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"parent": "minecraft:item/template_banner",
"overrides": [
{
"model": "openinv:item/cursor",
"predicate": {
"custom_model_data": 9999
}
}
]
}
Loading

0 comments on commit 0ac7575

Please sign in to comment.