Skip to content

[1.21.1] Modification of certain functions to improve Cyclic development#11

Open
Fred-Redstone-2 wants to merge 5 commits into
Lothrazar:trunk/1.21.1from
Fred-Redstone-2:trunk/1.21.1
Open

[1.21.1] Modification of certain functions to improve Cyclic development#11
Fred-Redstone-2 wants to merge 5 commits into
Lothrazar:trunk/1.21.1from
Fred-Redstone-2:trunk/1.21.1

Conversation

@Fred-Redstone-2

Copy link
Copy Markdown

Additions:

  • New Consumer-based function for setItemStackNBTVal in TagDataUtil; now supports int, String and double values to be added to the tags

Modifications:

  • Default vertex format in FakeBlockRenderTypes, to prevent the game from crashing when calling these methods; the implementation does not take into account a texture or lighting map, so the vertex format should reflect it.
  • Use of LevelRenderer instead of manually adding vertexes to a Consumer; allows for a better anti-aliasing on the block outlines drawn

If you have any constructive comments, let me know! Thank you!

Removes the need to ask for a texture and lightmap for the RenderTypes, which were not configured in the code
…the outline of cubes

It creates more polished outlines
Fred-Redstone-2 added a commit to Fred-Redstone-2/Cyclic that referenced this pull request May 30, 2026
…ied FLib functions

See Lothrazar/FLib#11 to know the changes that were accounted for in FLib.
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.

1 participant