Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement smelting #508

Merged
merged 56 commits into from
Jul 17, 2022
Merged

Implement smelting #508

merged 56 commits into from
Jul 17, 2022

Conversation

JustTalDevelops
Copy link
Member

@JustTalDevelops JustTalDevelops commented May 17, 2022

This PR implements smelting. (closes #499)

The smelting data is directly included in the item types instead of being loaded such as crafting recipes to include experience data and to avoid import cycles with the block and recipe packages.

@JustTalDevelops JustTalDevelops marked this pull request as ready for review May 17, 2022 05:15
@JustTalDevelops
Copy link
Member Author

This is ready for review aside from the missing experience drops implementation.

@JustTalDevelops JustTalDevelops added the feature New feature or request label Jul 14, 2022
Copy link
Member

@Sandertv Sandertv left a comment

Choose a reason for hiding this comment

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

I've left some more comments. Should be mostly ready once those are resolved.

server/block/container.go Outdated Show resolved Hide resolved
server/block/furnace.go Show resolved Hide resolved
server/block/smelter.go Outdated Show resolved Hide resolved
server/block/smelter.go Outdated Show resolved Hide resolved
server/block/smelter.go Outdated Show resolved Hide resolved
server/block/smoker.go Show resolved Hide resolved
server/item/smelting_info.go Outdated Show resolved Hide resolved
server/block/furnace.go Outdated Show resolved Hide resolved
Copy link
Member

@DaPigGuy DaPigGuy left a comment

Choose a reason for hiding this comment

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

Smelter blocks are not dropping their item contents on break

Copy link
Member

@DaPigGuy DaPigGuy left a comment

Choose a reason for hiding this comment

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

Small visual issue; if a player views a smelting block UI while it is cooking, exits, and views again after smelting is completely finished, the cooking time arrow will not reflect that it is finished

Copy link
Member

@Sandertv Sandertv left a comment

Choose a reason for hiding this comment

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

This looks good to me, I think it's ready to go.

@Sandertv Sandertv merged commit 459112d into master Jul 17, 2022
@Sandertv Sandertv deleted the feature/smelting branch July 17, 2022 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement smelting
4 participants