Simple Hollow Logs has been archived. Simple Hollow Logs will not receive any further updates unless the author decides to unarchive the project.
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter versions...

Updated to 1.20.3:

  • Hollow logs now use block codecs. This should hopefully mean improved future-proofing, which is always nice to hear about :)

Added ModMenu fabric.mod.json integration

Redesigned the mod icon to fit it more in line with the general vision I have for my mods

This release doesn't obviously change anything about how these blocks behave, but the code has been drastically improved in almost every way.

  • The blocks now copy the behaviours of the vanilla (non-hollow) counterparts, reducing the amount of custom logic. This will make it easier to add hollow counterparts to logs from other mods or vanilla updates in the future. Consequently, hollow logs now share the mining speed of their non-hollow counterparts instead of being insta-mineable.
  • The collision, outline and raycast geometry logic has been totally rewritten which is now far simpler and faster to run. Instead of, for each possible orientation of the block, stitching 4 sides together from a list of possible 6, it calculates the dimensions of the hole in each orientation and subtracts them from the fullCube() shape.
  • The biomes the hollow log decorations can place in are now hardcoded. This sounds like a bad thing, but it totally removes the need for a built-in datapack and should now be compatible with datapacks that modify biome .json files.
  • Improved general code readability, by renaming certain methods and classes, adding comments and indents, and separating if expressions from their returns.

Enjoy! :D

NOTE FROM THE FUTURE

Due to my own negligence, this release actually supports 1.20.2+, not 1.20.1. I don't have the ability to edit older versions of my mods. Apologies for the inconvenience; this won't happen again!

Initial release.


Project members

axialeaa

Owner

Details

Licensed LGPL-3.0-only
Published a year ago
Updated a year ago