Skip to content

feat: Add crafting recipe for connected tank#23

Merged
turtton merged 1 commit intomainfrom
feat/4
Mar 12, 2026
Merged

feat: Add crafting recipe for connected tank#23
turtton merged 1 commit intomainfrom
feat/4

Conversation

@turtton
Copy link
Owner

@turtton turtton commented Mar 11, 2026

Summary

  • 板材(任意)とガラスの交互配置パターンで connected tank をクラフト可能に
  • DataGenerator に RecipeProvider を追加し、レシピ JSON を自動生成
PGP
GPG
PGP

P = #minecraft:planks (任意の板材)
G = minecraft:glass

Closes #4

板材とガラスの交互配置パターンでクラフト可能に。
板材はタグ指定のため全種類の木材に対応。

Closes #4
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a crafting recipe (planks + glass alternating) for the Connected Tank and integrates recipe generation into the existing Fabric datagen entrypoint so the recipe + unlock advancement JSON are generated automatically.

Changes:

  • Adds a shaped crafting recipe for connectedtank:connected_tank.
  • Adds the corresponding recipe-unlock advancement JSON.
  • Extends ConnectedTankDataGenerator with a RecipeProvider (Fabric datagen) to generate recipes.

Reviewed changes

Copilot reviewed 1 out of 3 changed files in this pull request and generated no comments.

File Description
src/main/generated/data/connectedtank/recipe/connected_tank.json New generated shaped crafting recipe for the Connected Tank.
src/main/generated/data/connectedtank/advancement/recipes/decorations/connected_tank.json New generated recipe advancement to unlock the recipe.
src/client/kotlin/net/turtton/connectedtank/ConnectedTankDataGenerator.kt Registers a RecipeProvider and defines the shaped recipe in datagen.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@turtton turtton merged commit 37f68a7 into main Mar 12, 2026
6 checks passed
@turtton turtton deleted the feat/4 branch March 12, 2026 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TankRecipe

2 participants