-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: refactor & improve Acid Cauldron
- Loading branch information
1 parent
749669e
commit 5f13101
Showing
20 changed files
with
310 additions
and
149 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
10 changes: 8 additions & 2 deletions
10
src/generated/resources/assets/biomancy/blockstates/acid_cauldron.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 |
---|---|---|
@@ -1,7 +1,13 @@ | ||
{ | ||
"variants": { | ||
"": { | ||
"model": "biomancy:block/acid_cauldron" | ||
"level=1": { | ||
"model": "biomancy:block/acid_cauldron_level_1" | ||
}, | ||
"level=2": { | ||
"model": "biomancy:block/acid_cauldron_level_2" | ||
}, | ||
"level=3": { | ||
"model": "biomancy:block/acid_cauldron_full" | ||
} | ||
} | ||
} |
6 changes: 0 additions & 6 deletions
6
src/generated/resources/assets/biomancy/models/block/acid_cauldron.json
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
src/generated/resources/assets/biomancy/models/block/acid_cauldron_full.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,12 @@ | ||
{ | ||
"parent": "minecraft:block/template_cauldron_full", | ||
"render_type": "minecraft:translucent", | ||
"textures": { | ||
"bottom": "minecraft:block/cauldron_bottom", | ||
"content": "minecraft:block/water_still", | ||
"inside": "minecraft:block/cauldron_inner", | ||
"particle": "minecraft:block/cauldron_side", | ||
"side": "minecraft:block/cauldron_side", | ||
"top": "minecraft:block/cauldron_top" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
src/generated/resources/assets/biomancy/models/block/acid_cauldron_level_1.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,12 @@ | ||
{ | ||
"parent": "minecraft:block/template_cauldron_level1", | ||
"render_type": "minecraft:translucent", | ||
"textures": { | ||
"bottom": "minecraft:block/cauldron_bottom", | ||
"content": "minecraft:block/water_still", | ||
"inside": "minecraft:block/cauldron_inner", | ||
"particle": "minecraft:block/cauldron_side", | ||
"side": "minecraft:block/cauldron_side", | ||
"top": "minecraft:block/cauldron_top" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
src/generated/resources/assets/biomancy/models/block/acid_cauldron_level_2.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,12 @@ | ||
{ | ||
"parent": "minecraft:block/template_cauldron_level2", | ||
"render_type": "minecraft:translucent", | ||
"textures": { | ||
"bottom": "minecraft:block/cauldron_bottom", | ||
"content": "minecraft:block/water_still", | ||
"inside": "minecraft:block/cauldron_inner", | ||
"particle": "minecraft:block/cauldron_side", | ||
"side": "minecraft:block/cauldron_side", | ||
"top": "minecraft:block/cauldron_top" | ||
} | ||
} |
75 changes: 41 additions & 34 deletions
75
src/main/java/com/github/elenterius/biomancy/block/cauldron/AcidCauldron.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
7 changes: 7 additions & 0 deletions
7
src/main/java/com/github/elenterius/biomancy/block/cauldron/package-info.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,7 @@ | ||
@ParametersAreNonnullByDefault | ||
@MethodsReturnNonnullByDefault | ||
package com.github.elenterius.biomancy.block.cauldron; | ||
|
||
import net.minecraft.MethodsReturnNonnullByDefault; | ||
|
||
import javax.annotation.ParametersAreNonnullByDefault; |
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
Oops, something went wrong.