diff --git a/src/main/generated/assets/galacticraft/blockstates/oxygen_sealer.json b/src/main/generated/assets/galacticraft/blockstates/oxygen_sealer.json index 02d68cc6e..3e677a81a 100644 --- a/src/main/generated/assets/galacticraft/blockstates/oxygen_sealer.json +++ b/src/main/generated/assets/galacticraft/blockstates/oxygen_sealer.json @@ -1,7 +1,10 @@ { "variants": { - "": { + "active=false": { "model": "galacticraft:machine/oxygen_sealer" + }, + "active=true": { + "model": "galacticraft:machine/oxygen_sealer_active" } } } \ No newline at end of file diff --git a/src/main/resources/assets/galacticraft/models/machine/oxygen_sealer_active.json b/src/main/resources/assets/galacticraft/models/machine/oxygen_sealer_active.json new file mode 100644 index 000000000..2a66df6a5 --- /dev/null +++ b/src/main/resources/assets/galacticraft/models/machine/oxygen_sealer_active.json @@ -0,0 +1,15 @@ +{ + "machinelib:generate": "galacticraft:oxygen_sealer", + "sprites": { + "top": "galacticraft:block/oxygen_sealer_top_active" + }, + "textures": { + "up": "galacticraft:block/oxygen_sealer_top_active", + "down": "galacticraft:block/machine", + "north": "galacticraft:block/machine_side", + "south": "galacticraft:block/machine_side", + "east": "galacticraft:block/machine_side", + "west": "galacticraft:block/machine_side", + "particle": "galacticraft:block/machine" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/galacticraft/textures/block/oxygen_sealer_top.png b/src/main/resources/assets/galacticraft/textures/block/oxygen_sealer_top.png index c3c220af7..b6e322e25 100644 Binary files a/src/main/resources/assets/galacticraft/textures/block/oxygen_sealer_top.png and b/src/main/resources/assets/galacticraft/textures/block/oxygen_sealer_top.png differ diff --git a/src/main/resources/assets/galacticraft/textures/block/oxygen_sealer_top_active.png b/src/main/resources/assets/galacticraft/textures/block/oxygen_sealer_top_active.png new file mode 100644 index 000000000..079b7c1a6 Binary files /dev/null and b/src/main/resources/assets/galacticraft/textures/block/oxygen_sealer_top_active.png differ diff --git a/src/main/resources/assets/galacticraft/textures/block/oxygen_sealer_top_active.png.mcmeta b/src/main/resources/assets/galacticraft/textures/block/oxygen_sealer_top_active.png.mcmeta new file mode 100644 index 000000000..24f9c2fae --- /dev/null +++ b/src/main/resources/assets/galacticraft/textures/block/oxygen_sealer_top_active.png.mcmeta @@ -0,0 +1,5 @@ +{ + "animation": { + "frametime": 1 + } +}