Skip to content

Commit

Permalink
Add flux, radiator model
Browse files Browse the repository at this point in the history
  • Loading branch information
yuesha-yc committed Jan 2, 2025
1 parent 9fc281e commit dcd1e9a
Show file tree
Hide file tree
Showing 7 changed files with 201 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@
"item.frostedheart.energy_core": "ǝɹoƆ ʎbɹǝuƎ",
"item.frostedheart.fire_clay_ball": "ןןɐᗺ ʎɐןƆ ǝɹıℲ",
"item.frostedheart.fluid_bottle": "ǝןʇʇoᗺ pınןℲ",
"item.frostedheart.flux": "xnןℲ",
"item.frostedheart.frozen_seeds": "spǝǝS uǝzoɹℲ",
"item.frostedheart.gambeson": "uosǝqɯɐ⅁",
"item.frostedheart.generator_ash": "ɥsⱯ ɹoʇɐɹǝuǝ⅁",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@
"item.frostedheart.energy_core": "Energy Core",
"item.frostedheart.fire_clay_ball": "Fire Clay Ball",
"item.frostedheart.fluid_bottle": "Fluid Bottle",
"item.frostedheart.flux": "Flux",
"item.frostedheart.frozen_seeds": "Frozen Seeds",
"item.frostedheart.gambeson": "Gambeson",
"item.frostedheart.generator_ash": "Generator Ash",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "frostedheart:item/flux"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -965,14 +965,9 @@ private static ItemEntry<Item> taggedIngredient(String name, TagKey<Item>... tag
);
public static ItemEntry<Item> REFRACTORY_BRICK =
ingredient("refractory_brick");
public static ItemEntry<Item> FLUX =
ingredient("flux");

// OLD FORGE LIKE REGISTRY - TRY NOT USE THIS, USE REGISTRATE like above

static {
REGISTRATE.setCreativeTab(FHTabs.MISC);
}

// Misc
public static ItemEntry<Item> generator_ash = REGISTRATE
.item("generator_ash", Item::new)
.model(AssetLookup.existingItemModel())
Expand Down
191 changes: 191 additions & 0 deletions src/main/resources/assets/frostedheart/models/item/radiator.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,191 @@
{
"loader": "forge:obj",
"model": "frostedheart:models/block/heat_radiator.obj",
"flip_v": true,
"display": {
"thirdperson_righthand": {
"translation": [
0.0,
-0.125,
0.0
],
"rotation": [
-0.37686962,
-0.06645229,
0.9098437
],
"scale": [
0.15625,
0.15625,
0.15625
],
"post-rotation": [
0.0,
0.0,
1.0
],
"origin": "corner"
},
"thirdperson_lefthand": {
"translation": [
0.0,
-0.125,
0.0
],
"rotation": [
-0.37686962,
-0.06645229,
0.9098437
],
"scale": [
0.15625,
0.15625,
0.15625
],
"post-rotation": [
0.0,
0.0,
1.0
],
"origin": "corner"
},
"firstperson_righthand": {
"translation": [
0.0,
-0.125,
0.0
],
"rotation": [
-0.37686962,
-0.06645229,
0.9098437
],
"scale": [
0.15625,
0.15625,
0.15625
],
"post-rotation": [
0.0,
0.0,
1.0
],
"origin": "corner"
},
"firstperson_lefthand": {
"translation": [
0.0,
-0.125,
0.0
],
"rotation": [
-0.37686962,
-0.06645229,
0.9098437
],
"scale": [
0.15625,
0.15625,
0.15625
],
"post-rotation": [
0.0,
0.0,
1.0
],
"origin": "corner"
},
"head": {
"translation": [
0.0,
-0.125,
0.0
],
"rotation": [
-0.37686962,
-0.06645229,
0.9098437
],
"scale": [
0.15625,
0.15625,
0.15625
],
"post-rotation": [
0.0,
0.0,
1.0
],
"origin": "corner"
},
"gui": {
"translation": [
0.0,
-0.125,
0.0
],
"rotation": [
-0.37686962,
-0.06645229,
0.9098437
],
"scale": [
0.15625,
0.15625,
0.15625
],
"post-rotation": [
0.0,
0.0,
1.0
],
"origin": "corner"
},
"ground": {
"translation": [
0.0,
-0.125,
0.0
],
"rotation": [
-0.37686962,
-0.06645229,
0.9098437
],
"scale": [
0.15625,
0.15625,
0.15625
],
"post-rotation": [
0.0,
0.0,
1.0
],
"origin": "corner"
},
"fixed": {
"translation": [
0.0,
-0.125,
0.0
],
"rotation": [
-0.37686962,
-0.06645229,
0.9098437
],
"scale": [
0.15625,
0.15625,
0.15625
],
"post-rotation": [
0.0,
0.0,
1.0
],
"origin": "corner"
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dcd1e9a

Please sign in to comment.