Add imbuement altar
- Adds imbuement altar block and associated tile entity - Adds basic functionality for imbuing wizard armour (other stuff to be decided) - Incorporates imbuement altar into glowing overlay model event (this could do with being tidied up and generalised) - Adds a TESR for the ray effect (based on some of the oldest code in the entire mod, which definitely needs improving!) - Adds a simple sound effect for the imbuement process, needs upgrading to a ticked sound later
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"variants": {
|
||||
"active=false": { "model": "ebwizardry:imbuement_altar_inactive" },
|
||||
"active=true": { "model": "ebwizardry:imbuement_altar" }
|
||||
}
|
||||
}
|
||||
@@ -49,6 +49,7 @@ tile.ebwizardry\:acacia_lectern.name=Acacia Lectern
|
||||
tile.ebwizardry\:dark_oak_lectern.name=Dark Oak Lectern
|
||||
|
||||
tile.ebwizardry\:receptacle.name=Receptacle
|
||||
tile.ebwizardry\:imbuement_altar.name=Imbuement Altar
|
||||
|
||||
item.ebwizardry\:crystal_magic.name=Magic Crystal
|
||||
item.ebwizardry\:crystal_magic.desc=The iridescent colours of this crystal seem to slowly shift and swirl, hinting at a magical energy within. Perhaps this magic could be harnessed in some way?
|
||||
|
||||
@@ -49,6 +49,7 @@ tile.ebwizardry\:acacia_lectern.name=Acacia Lectern
|
||||
tile.ebwizardry\:dark_oak_lectern.name=Dark Oak Lectern
|
||||
|
||||
tile.ebwizardry\:receptacle.name=Receptacle
|
||||
tile.ebwizardry\:imbuement_altar.name=Imbuement Altar
|
||||
|
||||
item.ebwizardry\:crystal_magic.name=Magic Crystal
|
||||
item.ebwizardry\:crystal_magic.desc=The iridescent colors of this crystal seem to slowly shift and swirl, hinting at a magical energy within. Perhaps this magic could be harnessed, somehow...
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"parent": "block/block",
|
||||
"textures": {
|
||||
"particle": "ebwizardry:blocks/imbuement_altar_bottom",
|
||||
"bottom": "ebwizardry:blocks/imbuement_altar_bottom",
|
||||
"top": "ebwizardry:blocks/imbuement_altar_top",
|
||||
"side": "ebwizardry:blocks/imbuement_altar_side",
|
||||
"top_overlay": "ebwizardry:blocks/imbuement_altar_top_overlay",
|
||||
"side_overlay": "ebwizardry:blocks/imbuement_altar_side_overlay"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 12, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#bottom", "cullface": "down" },
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#top" },
|
||||
"north": { "uv": [ 0, 4, 16, 16 ], "texture": "#side", "cullface": "north" },
|
||||
"south": { "uv": [ 0, 4, 16, 16 ], "texture": "#side", "cullface": "south" },
|
||||
"west": { "uv": [ 0, 4, 16, 16 ], "texture": "#side", "cullface": "west" },
|
||||
"east": { "uv": [ 0, 4, 16, 16 ], "texture": "#side", "cullface": "east" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 12, 16 ],
|
||||
"faces": {
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#top_overlay" },
|
||||
"north": { "uv": [ 0, 4, 16, 16 ], "texture": "#side_overlay", "cullface": "north" },
|
||||
"south": { "uv": [ 0, 4, 16, 16 ], "texture": "#side_overlay", "cullface": "south" },
|
||||
"west": { "uv": [ 0, 4, 16, 16 ], "texture": "#side_overlay", "cullface": "west" },
|
||||
"east": { "uv": [ 0, 4, 16, 16 ], "texture": "#side_overlay", "cullface": "east" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"parent": "block/block",
|
||||
"textures": {
|
||||
"particle": "ebwizardry:blocks/imbuement_altar_bottom",
|
||||
"bottom": "ebwizardry:blocks/imbuement_altar_bottom",
|
||||
"top": "ebwizardry:blocks/imbuement_altar_top",
|
||||
"side": "ebwizardry:blocks/imbuement_altar_side"
|
||||
},
|
||||
"elements": [
|
||||
{ "from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 12, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#bottom", "cullface": "down" },
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#top" },
|
||||
"north": { "uv": [ 0, 4, 16, 16 ], "texture": "#side", "cullface": "north" },
|
||||
"south": { "uv": [ 0, 4, 16, 16 ], "texture": "#side", "cullface": "south" },
|
||||
"west": { "uv": [ 0, 4, 16, 16 ], "texture": "#side", "cullface": "west" },
|
||||
"east": { "uv": [ 0, 4, 16, 16 ], "texture": "#side", "cullface": "east" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "ebwizardry:block/imbuement_altar_inactive"
|
||||
}
|
||||
@@ -4,6 +4,7 @@
|
||||
"block.pedestal.conquer": {"category": "blocks", "sounds": ["ui/toast/challenge_complete"]},
|
||||
"block.lectern.locate_spell": {"category": "blocks", "sounds": ["ebwizardry:conjure"]},
|
||||
"block.receptacle.ignite": {"category": "blocks", "sounds": ["mob/evocation_illager/cast1", "mob/evocation_illager/cast2"]},
|
||||
"block.imbuement_altar.imbue": {"category": "blocks", "sounds": ["ebwizardry:imbue"]},
|
||||
|
||||
"item.wand.switch_spell": {"category": "player", "sounds": ["ebwizardry:select"]},
|
||||
"item.wand.levelup": {"category": "player", "sounds": ["random/levelup"]},
|
||||
|
||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 541 B |
Binary file not shown.
|
After Width: | Height: | Size: 4.8 KiB |
+12
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"animation": {
|
||||
|
||||
"frametime": 40,
|
||||
|
||||
"interpolate": true,
|
||||
|
||||
"frames": [0, 1, 2, 3]
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 7.4 KiB |
+12
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"animation": {
|
||||
|
||||
"frametime": 40,
|
||||
|
||||
"interpolate": true,
|
||||
|
||||
"frames": [0, 1, 2, 3]
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user