First release!

This commit is contained in:
Motschen
2020-12-12 12:26:35 +01:00
parent 7c4365921d
commit 4d20e59360
30 changed files with 776 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "minecraft:item/diamond_sword"
},
"overrides": [
{
"predicate": {
"blocking": 1
},
"model": "minecraft:item/diamond_sword_blocking"
}
]
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld_blocking",
"textures": {
"layer0": "minecraft:item/diamond_sword"
}
}

View File

@@ -0,0 +1,15 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "minecraft:item/golden_sword"
},
"overrides": [
{
"predicate": {
"blocking": 1
},
"model": "minecraft:item/golden_sword_blocking"
}
]
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld_blocking",
"textures": {
"layer0": "minecraft:item/golden_sword"
}
}

View File

@@ -0,0 +1,16 @@
{
"credit": "https://github.com/FoundationGames/Parry/blob/master/src/main/resources/assets/minecraft/models/item/handheld_parry.json",
"parent": "item/handheld",
"display": {
"firstperson_righthand": {
"rotation": [ 171, 13, 165 ],
"translation": [ -2.8, -0.2, -5 ],
"scale": [ 1, 1, 1 ]
},
"firstperson_lefthand": {
"rotation": [ 171, 13, 75 ],
"translation": [ -2.8, -0.2, -5 ],
"scale": [ 1, 1, 1 ]
}
}
}

View File

@@ -0,0 +1,15 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "minecraft:item/iron_sword"
},
"overrides": [
{
"predicate": {
"blocking": 1
},
"model": "minecraft:item/iron_sword_blocking"
}
]
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld_blocking",
"textures": {
"layer0": "minecraft:item/iron_sword"
}
}

View File

@@ -0,0 +1,15 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "minecraft:item/netherite_sword"
},
"overrides": [
{
"predicate": {
"blocking": 1
},
"model": "minecraft:item/netherite_sword_blocking"
}
]
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld_blocking",
"textures": {
"layer0": "minecraft:item/netherite_sword"
}
}

View File

@@ -0,0 +1,52 @@
{
"parent": "builtin/entity",
"gui_light": "front",
"textures": {
"particle": "block/dark_oak_planks"
},
"display": {
"thirdperson_righthand": {
"rotation": [ 0, 90, 0 ],
"translation": [ 10, 6, -4 ],
"scale": [ 0, 0, 0 ]
},
"thirdperson_lefthand": {
"rotation": [ 0, 90, 0 ],
"translation": [ 10, 6, 12 ],
"scale": [ 0, 0, 0 ]
},
"firstperson_righthand": {
"rotation": [ 0, 180, 5 ],
"translation": [ -10, 2, -10 ],
"scale": [ 0, 0, 0 ]
},
"firstperson_lefthand": {
"rotation": [ 0, 180, 5 ],
"translation": [ 10, 0, -10 ],
"scale": [ 0, 0, 0 ]
},
"gui": {
"rotation": [ 15, -25, -5 ],
"translation": [ 2, 3, 0 ],
"scale": [ 0.65, 0.65, 0.65 ]
},
"fixed": {
"rotation": [ 0, 180, 0 ],
"translation": [ -2, 4, -5],
"scale":[ 0.5, 0.5, 0.5]
},
"ground": {
"rotation": [ 0, 0, 0 ],
"translation": [ 4, 4, 2],
"scale":[ 0.25, 0.25, 0.25]
}
},
"overrides": [
{
"predicate": {
"blocking": 1
},
"model": "item/shield_blocking"
}
]
}

View File

@@ -0,0 +1,34 @@
{
"parent": "builtin/entity",
"gui_light": "front",
"textures": {
"particle": "block/dark_oak_planks"
},
"display": {
"thirdperson_righthand": {
"rotation": [ 45, 135, 0 ],
"translation": [ 3.51, 11, -2 ],
"scale": [ 0, 0, 0 ]
},
"thirdperson_lefthand": {
"rotation": [ 45, 135, 0 ],
"translation": [ 13.51, 3, 5 ],
"scale": [ 0, 0, 0 ]
},
"firstperson_righthand": {
"rotation": [ 0, 180, -5 ],
"translation": [ -15, 5, -11 ],
"scale": [ 0, 0, 0 ]
},
"firstperson_lefthand": {
"rotation": [ 0, 180, -5 ],
"translation": [ 5, 5, -11 ],
"scale": [ 0, 0, 0 ]
},
"gui": {
"rotation": [ 15, -25, -5 ],
"translation": [ 2, 3, 0 ],
"scale": [ 0.65, 0.65, 0.65 ]
}
}
}

View File

@@ -0,0 +1,15 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "minecraft:item/stone_sword"
},
"overrides": [
{
"predicate": {
"blocking": 1
},
"model": "minecraft:item/stone_sword_blocking"
}
]
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld_blocking",
"textures": {
"layer0": "minecraft:item/stone_sword"
}
}

View File

@@ -0,0 +1,15 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "minecraft:item/wooden_sword"
},
"overrides": [
{
"predicate": {
"blocking": 1
},
"model": "minecraft:item/wooden_sword_blocking"
}
]
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld_blocking",
"textures": {
"layer0": "minecraft:item/wooden_sword"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@@ -0,0 +1,35 @@
{
"schemaVersion": 1,
"id": "swordblocking",
"version": "${version}",
"name": "Sword Blocking",
"description": "Adds sword blocking back to 1.16, you just need a shield in your offhand!",
"authors": [
"Motschen",
"TeamMidnightDust"
],
"contact": {
"homepage": "https://www.midnightdust.eu/",
"sources": "https://github.com/TeamMidnightDust/SwordBlocking",
"issues": "https://github.com/TeamMidnightDust/SwordBlocking/issues"
},
"license": "MIT",
"icon": "assets/swordblocking/icon.png",
"environment": "client",
"entrypoints": {
"client": [
"eu.midnightdust.swordblocking.SwordBlockingClient"
]
},
"mixins": [
"swordblocking.mixins.json"
],
"depends": {
"fabric": "*"
}
}

View File

@@ -0,0 +1,11 @@
{
"required": true,
"package": "eu.midnightdust.swordblocking.mixin",
"compatibilityLevel": "JAVA_8",
"client": [
"MixinPlayerEntityRenderer"
],
"injectors": {
"defaultRequire": 1
}
}