No Item Shadow

资源包

· 作者 Tintine

移除物品模型“easly”的原版阴影

0 本站下载 0 关注 更新于 2 个月前

最新 2.0.0 · 26.3 · Minecraft

一键开服(送7天)

此资源包是一个模板,可让您完全禁用物品的原版阴影。

它是如何工作的?

它通过核心着色器实现,允许在原版资源包中更改游戏的渲染方式。

如何使用?

  1. 将 "shaders" 文件夹复制到您的资源包中(或将您的材质包复制到我的资源包中)。

  2. 然后要禁用阴影,请转到 items/*your_item*.json 并添加以下行:

,
"tints": [
    {"type": "minecraft:constant","value": [1.0, 0.0, 0.0]}
]

例如: paper.json \/

{
  "model": {
    "type": "select",
    "property": "custom_model_data",
    "fallback": {
      "type": "model",
      "model": "item/paper"
    },
    "cases": [
      {
        "when": "example",
        "model": {
          "type": "model",
          "model": "item/example",
          "tints": [
              {"type": "minecraft:constant","value": [1.0, 0.0, 0.0]}
          ]
        }
      }
    ]
  }
}
  1. 接下来,转到 models/item/*your_model*.json,并在 "texture": "#[]" 之后添加这一行:
, "tintindex": 0

例如: example_model.json \/

{
	"textures": {
		"1": "item/example_model",
		"particle": "example_model"
	},
	"elements": [
		{
			"from": [4, 0, 4],
			"to": [8, 7, 12],
			"rotation": {"angle": 0, "axis": "y", "origin": [8, 3.5, 8]},
			"faces": {
				"north": {"uv": [9.5, 8, 11.5, 11.5], "texture": "#1", "tintindex": 0},
				"east": {"uv": [4.5, 0, 8.5, 3.5], "texture": "#1", "tintindex": 0},
				"south": {"uv": [11, 0, 13, 3.5], "texture": "#1", "tintindex": 0},
				"west": {"uv": [4.5, 3.5, 8.5, 7], "texture": "#1", "tintindex": 0},
				"up": {"uv": [4.5, 12, 2.5, 8], "texture": "#1", "tintindex": 0},
				"down": {"uv": [11.5, 4, 9.5, 8], "texture": "#1", "tintindex": 0}
			}
		},
    ...

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源