Skip to content

Conversation

@OneAvargeCoder193
Copy link
Contributor

@OneAvargeCoder193 OneAvargeCoder193 commented May 22, 2025

Fixes #357

Stuff left to do

  • Make them more like branches
  • Make them rotate Fixed automatically by making them like branches
  • Let them be chiseled like stairs? This will be a future pr
  • Automatic migration between old and new logs

@OneAvargeCoder193
Copy link
Contributor Author

Not sure how to translate old worlds into new ones with this, unless there is some way to migrate rotation mode data

@Argmaster Argmaster mentioned this pull request May 23, 2025
@Argmaster
Copy link
Collaborator

Please don't remove log top, we don't have item migrations to correctly handle that.

@careeoki
Copy link
Contributor

Some thoughts:

The texture gets oriented wrong in some directions:
left is correct, right is incorrect
image

In a situation like this, I think it should just be the line texture instead of a ton of intersections/crosses. That way it would look like a big tree trunk. (new textures wouldn't make this any better)
image

I would like to have log inside textures (imagine minecraft's stripped logs) to avoid situations like this:
And we'd also need a texture for the log top without the outline of bark
image

@OneAvargeCoder193
Copy link
Contributor Author

OneAvargeCoder193 commented May 23, 2025

In a situation like this, I think it should just be the line texture instead of a ton of intersections/crosses. That way it would look like a big tree trunk. (new textures wouldn't make this any better) image

I'm not sure how I could implement it though. And anything i do would create numerous edge cases

@OneAvargeCoder193
Copy link
Contributor Author

Now we just need the new textures for all the logs and i can mark this pr as ready for review

@careeoki
Copy link
Contributor

@OneAvargeCoder193 It's doing a thing
image

@careeoki
Copy link
Contributor

*In some directions
image

@Argmaster Argmaster mentioned this pull request May 27, 2025
4 tasks
@Argmaster Argmaster self-requested a review May 27, 2025 22:43
@Argmaster
Copy link
Collaborator

Argmaster commented May 27, 2025

If you are lucky enough for #1503 to be merged before this you should be able to migrate old log items to new log types. This will also migration battle test, even with block merging since both top and log should be merged into one log item. Surely we will see all the bugs!

Anyway, I didn't participate in production of this code so I will review It tomorrow to catch any obvious errors.

@careeoki
Copy link
Contributor

@OneAvargeCoder193 made a PR on your fork

@OneAvargeCoder193 OneAvargeCoder193 marked this pull request as ready for review May 29, 2025 20:25
@OneAvargeCoder193
Copy link
Contributor Author

I fixed everything

Copy link
Member

@IntegratedQuantum IntegratedQuantum left a comment

Choose a reason for hiding this comment

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

Please don't forget to also change the biomes and the corresponding tree generator, such that they generate the new logs correctly in the forest.
This will make removing the old logs easier once item migrations are ready.

I will merge once you have acknowledged this.

@OneAvargeCoder193
Copy link
Contributor Author

Please don't forget to also change the biomes and the corresponding tree generator, such that they generate the new logs correctly in the forest. This will make removing the old logs easier once item migrations are ready.
So do i just change simpletreegenerator and all of the instances of it in assets?

@IntegratedQuantum
Copy link
Member

yes

@IntegratedQuantum
Copy link
Member

Also check if there are any other biomes that reference logs some how, there might be some other structures that use logs too.

@IntegratedQuantum IntegratedQuantum merged commit a59ac2b into PixelGuys:master Jun 1, 2025
1 check passed
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.

Use a rotation mode instead of having separate top and log blocks for wood and cacti.

4 participants