From 33ad5138eaa502c07d306c5260c213117e9e92d0 Mon Sep 17 00:00:00 2001 From: xtex Date: Tue, 11 Jul 2023 10:13:38 +0800 Subject: [PATCH] feat: add lang & model for noise & sound projection --- .../assets/quaedam/blockstates/noise_projection.json | 7 +++++++ .../assets/quaedam/blockstates/sound_projection.json | 7 +++++++ common/src/main/resources/assets/quaedam/lang/en_us.json | 2 ++ common/src/main/resources/assets/quaedam/lang/zh_cn.json | 2 ++ .../assets/quaedam/models/block/noise_projection.json | 6 ++++++ .../assets/quaedam/models/block/sound_projection.json | 6 ++++++ .../assets/quaedam/models/item/noise_projection.json | 3 +++ .../assets/quaedam/models/item/sound_projection.json | 3 +++ 8 files changed, 36 insertions(+) create mode 100644 common/src/main/resources/assets/quaedam/blockstates/noise_projection.json create mode 100644 common/src/main/resources/assets/quaedam/blockstates/sound_projection.json create mode 100644 common/src/main/resources/assets/quaedam/models/block/noise_projection.json create mode 100644 common/src/main/resources/assets/quaedam/models/block/sound_projection.json create mode 100644 common/src/main/resources/assets/quaedam/models/item/noise_projection.json create mode 100644 common/src/main/resources/assets/quaedam/models/item/sound_projection.json diff --git a/common/src/main/resources/assets/quaedam/blockstates/noise_projection.json b/common/src/main/resources/assets/quaedam/blockstates/noise_projection.json new file mode 100644 index 0000000..9fc932b --- /dev/null +++ b/common/src/main/resources/assets/quaedam/blockstates/noise_projection.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "quaedam:block/noise_projection" + } + } +} diff --git a/common/src/main/resources/assets/quaedam/blockstates/sound_projection.json b/common/src/main/resources/assets/quaedam/blockstates/sound_projection.json new file mode 100644 index 0000000..617cd46 --- /dev/null +++ b/common/src/main/resources/assets/quaedam/blockstates/sound_projection.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "quaedam:block/sound_projection" + } + } +} diff --git a/common/src/main/resources/assets/quaedam/lang/en_us.json b/common/src/main/resources/assets/quaedam/lang/en_us.json index 314689e..dc4f9ec 100644 --- a/common/src/main/resources/assets/quaedam/lang/en_us.json +++ b/common/src/main/resources/assets/quaedam/lang/en_us.json @@ -3,5 +3,7 @@ "block.quaedam.projector": "Projector", "block.quaedam.skylight_projection": "Skylight Projection", "block.quaedam.swarm_projection": "Swarm Projection", + "block.quaedam.sound_projection": "Sound Projection", + "block.quaedam.noise_projection": "Noise Projection", "entity.quaedam.projected_person": "Virtual Person" } \ No newline at end of file diff --git a/common/src/main/resources/assets/quaedam/lang/zh_cn.json b/common/src/main/resources/assets/quaedam/lang/zh_cn.json index 4dfd318..e50f560 100644 --- a/common/src/main/resources/assets/quaedam/lang/zh_cn.json +++ b/common/src/main/resources/assets/quaedam/lang/zh_cn.json @@ -3,5 +3,7 @@ "block.quaedam.projector": "投影仪", "block.quaedam.skylight_projection": "天光投影", "block.quaedam.swarm_projection": "人群投影", + "block.quaedam.sound_projection": "声音投影", + "block.quaedam.noise_projection": "噪音投影", "entity.quaedam.projected_person": "虚拟个体" } diff --git a/common/src/main/resources/assets/quaedam/models/block/noise_projection.json b/common/src/main/resources/assets/quaedam/models/block/noise_projection.json new file mode 100644 index 0000000..5284a37 --- /dev/null +++ b/common/src/main/resources/assets/quaedam/models/block/noise_projection.json @@ -0,0 +1,6 @@ +{ + "parent": "quaedam:block/projection", + "textures": { + "ext": "quaedam:block/noise_projection" + } +} diff --git a/common/src/main/resources/assets/quaedam/models/block/sound_projection.json b/common/src/main/resources/assets/quaedam/models/block/sound_projection.json new file mode 100644 index 0000000..8f71526 --- /dev/null +++ b/common/src/main/resources/assets/quaedam/models/block/sound_projection.json @@ -0,0 +1,6 @@ +{ + "parent": "quaedam:block/projection", + "textures": { + "ext": "quaedam:block/sound_projection" + } +} diff --git a/common/src/main/resources/assets/quaedam/models/item/noise_projection.json b/common/src/main/resources/assets/quaedam/models/item/noise_projection.json new file mode 100644 index 0000000..bb96412 --- /dev/null +++ b/common/src/main/resources/assets/quaedam/models/item/noise_projection.json @@ -0,0 +1,3 @@ +{ + "parent": "quaedam:block/noise_projection" +} \ No newline at end of file diff --git a/common/src/main/resources/assets/quaedam/models/item/sound_projection.json b/common/src/main/resources/assets/quaedam/models/item/sound_projection.json new file mode 100644 index 0000000..3b51ee8 --- /dev/null +++ b/common/src/main/resources/assets/quaedam/models/item/sound_projection.json @@ -0,0 +1,3 @@ +{ + "parent": "quaedam:block/sound_projection" +} \ No newline at end of file