Skip to content

Commit

Permalink
Add embellisment recipe for cobalt and enderslime
Browse files Browse the repository at this point in the history
Needed so addons can add similar armor using the tag. Mean there is a technically redundant embellishment, but its fine
  • Loading branch information
KnightMiner committed Jan 13, 2023
1 parent f6c3bdd commit d405ac3
Show file tree
Hide file tree
Showing 15 changed files with 50 additions and 2 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"tconstruct:extra",
"tconstruct:repair_kit",
"tconstruct:limb",
"tconstruct:grip"
"tconstruct:grip",
"tconstruct:plate"
],
"ignoreMaterialStats": false
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"type": "tconstruct:swappable_modifier",
"inputs": [
{
"tag": "forge:ingots/cobalt"
},
{
"tag": "forge:ingots/cobalt"
},
{
"tag": "forge:ingots/cobalt"
}
],
"tools": {
"tag": "tconstruct:modifiable/embellishment/metal"
},
"allow_crystal": false,
"result": {
"name": "tconstruct:embellishment",
"value": "tconstruct:cobalt"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"type": "tconstruct:swappable_modifier",
"inputs": [
{
"item": "tconstruct:ender_congealed_slime"
},
{
"item": "tconstruct:ender_slime"
},
{
"item": "tconstruct:ender_congealed_slime"
}
],
"tools": {
"tag": "tconstruct:modifiable/embellishment/slime"
},
"allow_crystal": false,
"result": {
"name": "tconstruct:embellishment",
"value": "tconstruct:enderslime"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1441,6 +1441,8 @@ private void addTextureRecipes(Consumer<FinishedRecipe> consumer) {
.setTools(TinkerTags.Items.EMBELLISHMENT_METAL)
.addInput(TinkerCommons.obsidianPane).addInput(TinkerCommons.obsidianPane).addInput(TinkerCommons.obsidianPane)
.save(consumer, wrap(TinkerModifiers.embellishment, folder, "_obsidian"));
// does nothing by default, but helpful for addons
plateTexture(consumer, MaterialIds.cobalt, false, folder);
// tier 4
plateTexture(consumer, MaterialIds.debris, "nuggets/netherite_scrap", false, folder);
plateTexture(consumer, MaterialIds.manyullyn, false, folder);
Expand Down Expand Up @@ -1470,6 +1472,7 @@ private void addTextureRecipes(Consumer<FinishedRecipe> consumer) {
slimeTexture(consumer, MaterialIds.skyslime, SlimeType.SKY, folder);
slimeTexture(consumer, MaterialIds.blood, SlimeType.BLOOD, folder);
slimeTexture(consumer, MaterialIds.ichor, SlimeType.ICHOR, folder);
slimeTexture(consumer, MaterialIds.enderslime, SlimeType.ENDER, folder);
SwappableModifierRecipeBuilder.modifier(TinkerModifiers.embellishment, MaterialIds.clay.toString())
.setTools(TinkerTags.Items.EMBELLISHMENT_SLIME)
.addInput(Blocks.CLAY).addInput(Items.CLAY_BALL).addInput(Blocks.CLAY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ protected void addAllMaterials() {
.fallbacks("slime_metal", "metal")
.colorMapper(brassPalette);
buildMaterial(MaterialIds.cobalt)
.meleeHarvest().ranged()
.meleeHarvest().ranged().statType(TinkerPartSpriteProvider.PLATE)
.fallbacks("metal")
.colorMapper(GreyToColorMapping.builderFromBlack().addARGB(63, 0xFF001944).addARGB(102, 0xFF00296D).addARGB(140, 0xFF0043A5).addARGB(178, 0xFF186ACE).addARGB(216, 0xFF338FEA).addARGB(255, 0xFF59A6EF).build());
IColorMapping obsidianPalette = GreyToColorMapping.builderFromBlack().addARGB(63, 0xFF000001).addARGB(102, 0xFF06030B).addARGB(140, 0xFF100C1C).addARGB(178, 0xFF271E3D).addARGB(216, 0xFF3B2754).addARGB(255, 0xFF503572).build();
Expand Down

0 comments on commit d405ac3

Please sign in to comment.