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

Implemented campfires #596

Open
wants to merge 55 commits into
base: master
Choose a base branch
from
Open

Implemented campfires #596

wants to merge 55 commits into from

Conversation

abimek
Copy link
Contributor

@abimek abimek commented Jul 24, 2022

Campfires!

* Campfires engite when flaming entity moves accross
Implemented Splash Potions having there own interface
Campfires now throw out cooked food
Implemented Campfire Sounds

Known Bugs (Campfires bug out when you click them, something to do with the Activate method)
server/block/campfire.go Outdated Show resolved Hide resolved
Copy link
Contributor

@provsalt provsalt left a comment

Choose a reason for hiding this comment

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

Looks alright, needs periods and commas in some of your comments.

server/block/campfire.go Outdated Show resolved Hide resolved
@JustTalDevelops JustTalDevelops changed the title Feature/campfire Implemented campfires Jul 25, 2022
@JustTalDevelops JustTalDevelops added the feature New feature or request label Jul 25, 2022
* Disabled campfire vertical stacking
server/block/fire.go Outdated Show resolved Hide resolved
server/block/campfire.go Outdated Show resolved Hide resolved
server/block/campfire.go Outdated Show resolved Hide resolved
server/block/model/campfire.go Outdated Show resolved Hide resolved
server/block/campfire.go Outdated Show resolved Hide resolved
@abimek abimek changed the base branch from master to feature/tnt July 28, 2022 23:11
@JustTalDevelops
Copy link
Member

Make sure you fix the import cycle.

server/world/sound/block.go Outdated Show resolved Hide resolved
@DaPigGuy DaPigGuy requested a review from Sandertv August 10, 2022 20:56
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.

Looks fine mostly! I've added a couple comments and questions.

server/block/campfire.go Outdated Show resolved Hide resolved
server/block/campfire.go Show resolved Hide resolved
server/block/campfire.go Show resolved Hide resolved
server/block/campfire.go Outdated Show resolved Hide resolved
server/block/campfire.go Outdated Show resolved Hide resolved
server/block/campfire.go Show resolved Hide resolved
server/entity/splashable.go Outdated Show resolved Hide resolved
server/player/player.go Outdated Show resolved Hide resolved
@@ -141,6 +141,7 @@ func (h *InventoryTransactionHandler) handleUseItemTransaction(data *protocol.Us
s.c.BreakBlock(pos)
case protocol.UseItemActionClickBlock:
s.c.UseItemOnBlock(pos, cube.Face(data.BlockFace), vec32To64(data.ClickedPosition))
s.c.UseItem()
Copy link
Member

Choose a reason for hiding this comment

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

Are you sure this is a correct change? This sounds like a change that has quite some implications.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tal recommened I make that change. This was added in order to fix every raw food type that interacted with the campfire from instantly getting placed. The ideal behavior here is for each click to add a signular raw food type onto the campfire. I'm not really sure how to attain this behaviour.

Copy link
Member

Choose a reason for hiding this comment

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

@JustTalDevelops could you elaborate on this? I'm not entirely sure what the issue is here.

Copy link
Contributor

Choose a reason for hiding this comment

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

any news?

server/block/campfire.go Outdated Show resolved Hide resolved
server/block/campfire.go Show resolved Hide resolved
server/block/campfire.go Outdated Show resolved Hide resolved
server/entity/splashable.go Outdated Show resolved Hide resolved
@DaPigGuy DaPigGuy self-requested a review August 28, 2022 21:14
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.

None yet

9 participants