-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3bf234a
commit 2222a5e
Showing
21 changed files
with
239 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"trough_fill": { | ||
"subtitle": "subtitles.rounded.block.trough_fill", | ||
"sounds": [ | ||
"rounded:block/trough_fill1", | ||
"rounded:block/trough_fill2" | ||
] | ||
}, | ||
"trough_consume": { | ||
"subtitle": "subtitles.rounded.block.trough_consume", | ||
"sounds": [ | ||
"rounded:block/trough_consume" | ||
] | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
src/main/java/com/lumiscosity/rounded/misc/RegisterSounds.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.lumiscosity.rounded.misc; | ||
|
||
import net.minecraft.registry.Registries; | ||
import net.minecraft.registry.Registry; | ||
import net.minecraft.sound.SoundEvent; | ||
import net.minecraft.util.Identifier; | ||
|
||
import static com.lumiscosity.rounded.Rounded.MOD_ID; | ||
|
||
public class RegisterSounds { | ||
public static final Identifier TROUGH_FILL_ID = Identifier.of(MOD_ID, "trough_fill"); | ||
public static final SoundEvent TROUGH_FILL = SoundEvent.of(TROUGH_FILL_ID); | ||
public static final Identifier TROUGH_CONSUME_ID = Identifier.of(MOD_ID, "trough_consume"); | ||
public static final SoundEvent TROUGH_CONSUME = SoundEvent.of(TROUGH_CONSUME_ID); | ||
|
||
public static void initSounds() { | ||
Registry.register(Registries.SOUND_EVENT, TROUGH_FILL_ID, TROUGH_FILL); | ||
Registry.register(Registries.SOUND_EVENT, TROUGH_CONSUME_ID, TROUGH_CONSUME); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"rounded:lustershroom_block" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"rounded:lustershroom" | ||
] | ||
} |
21 changes: 21 additions & 0 deletions
21
src/main/resources/data/minecraft/recipe/cartography_table.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"type": "minecraft:crafting_shaped", | ||
"category": "misc", | ||
"key": { | ||
"#": { | ||
"tag": "rounded:treated_planks" | ||
}, | ||
"@": { | ||
"item": "minecraft:paper" | ||
} | ||
}, | ||
"pattern": [ | ||
"@@", | ||
"##", | ||
"##" | ||
], | ||
"result": { | ||
"count": 1, | ||
"id": "minecraft:cartography_table" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...main/resources/data/rounded/advancement/recipes/building_blocks/brown_mushroom_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"parent": "minecraft:recipes/root", | ||
"criteria": { | ||
"has_log": { | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": "minecraft:brown_mushroom" | ||
} | ||
] | ||
}, | ||
"trigger": "minecraft:inventory_changed" | ||
}, | ||
"has_the_recipe": { | ||
"conditions": { | ||
"recipe": "rounded:brown_mushroom_block" | ||
}, | ||
"trigger": "minecraft:recipe_unlocked" | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_the_recipe", | ||
"has_log" | ||
] | ||
], | ||
"rewards": { | ||
"recipes": [ | ||
"rounded:brown_mushroom_block" | ||
] | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
src/main/resources/data/rounded/advancement/recipes/building_blocks/lustershroom_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"parent": "minecraft:recipes/root", | ||
"criteria": { | ||
"has_log": { | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": "rounded:lustershroom" | ||
} | ||
] | ||
}, | ||
"trigger": "minecraft:inventory_changed" | ||
}, | ||
"has_the_recipe": { | ||
"conditions": { | ||
"recipe": "rounded:lustershroom_block" | ||
}, | ||
"trigger": "minecraft:recipe_unlocked" | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_the_recipe", | ||
"has_log" | ||
] | ||
], | ||
"rewards": { | ||
"recipes": [ | ||
"rounded:lustershroom_block" | ||
] | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
src/main/resources/data/rounded/advancement/recipes/building_blocks/red_mushroom_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"parent": "minecraft:recipes/root", | ||
"criteria": { | ||
"has_log": { | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": "minecraft:red_mushroom" | ||
} | ||
] | ||
}, | ||
"trigger": "minecraft:inventory_changed" | ||
}, | ||
"has_the_recipe": { | ||
"conditions": { | ||
"recipe": "rounded:red_mushroom_block" | ||
}, | ||
"trigger": "minecraft:recipe_unlocked" | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_the_recipe", | ||
"has_log" | ||
] | ||
], | ||
"rewards": { | ||
"recipes": [ | ||
"rounded:red_mushroom_block" | ||
] | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
src/main/resources/data/rounded/recipe/brown_mushroom_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"type": "minecraft:crafting_shaped", | ||
"category": "building", | ||
"group": "rounded:mushroom_block", | ||
"key": { | ||
"#": { | ||
"item": "minecraft:brown_mushroom" | ||
} | ||
}, | ||
"pattern": [ | ||
"##", | ||
"##" | ||
], | ||
"result": { | ||
"count": 1, | ||
"id": "minecraft:brown_mushroom_block" | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
src/main/resources/data/rounded/recipe/lustershroom_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"type": "minecraft:crafting_shaped", | ||
"category": "building", | ||
"group": "rounded:mushroom_block", | ||
"key": { | ||
"#": { | ||
"item": "rounded:lustershroom" | ||
} | ||
}, | ||
"pattern": [ | ||
"##", | ||
"##" | ||
], | ||
"result": { | ||
"count": 1, | ||
"id": "rounded:lustershroom_block" | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
src/main/resources/data/rounded/recipe/red_mushroom_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"type": "minecraft:crafting_shaped", | ||
"category": "building", | ||
"group": "rounded:mushroom_block", | ||
"key": { | ||
"#": { | ||
"item": "minecraft:red_mushroom" | ||
} | ||
}, | ||
"pattern": [ | ||
"##", | ||
"##" | ||
], | ||
"result": { | ||
"count": 1, | ||
"id": "minecraft:red_mushroom_block" | ||
} | ||
} |