Skip to content

Trunk/1.21.1#10

Open
zevatov wants to merge 3 commits into
Lothrazar:trunk/1.21from
zevatov:trunk/1.21
Open

Trunk/1.21.1#10
zevatov wants to merge 3 commits into
Lothrazar:trunk/1.21from
zevatov:trunk/1.21

Conversation

@zevatov
Copy link
Copy Markdown

@zevatov zevatov commented Apr 24, 2026

This PR updates the flib library to be compatible with NeoForge 1.21.1.

Warning

Disclaimer: This update was developed and compiled with the assistance of an AI agent. While the library successfully builds and runs alongside dependent mods (like Cyclic), it has not been thoroughly tested across all possible edge cases.

Notes for Maintainers:

  • Updated dependencies and mappings for the NeoForge 1.21.1 environment.
  • Important Note on FluidTagIngredient: In 1.21.1, the strict FluidStack.STREAM_CODEC throws a fatal EncoderException when syncing empty fluid stacks across the network. While dependent mods (like Cyclic) can bypass this using OPTIONAL_STREAM_CODEC in their recipes, it is highly recommended to update the codec inside flib's FluidTagIngredient to an optional variant in the future to prevent server kicks for other mods.

Tested on NeoForge 21.1.115+.

Comment thread .github/README.md
A Library/core mod built on the Minecraft & the Forge API [https://files.minecraftforge.net/](https://files.minecraftforge.net)

> [!WARNING]
> **Disclaimer:** This NeoForge 1.21.1 port was developed and compiled with the assistance of an AI agent. While the library successfully builds and runs alongside dependent mods, it has **not** been thoroughly tested across all possible edge cases. Proceed with caution.
Copy link
Copy Markdown
Owner

@Lothrazar Lothrazar May 15, 2026

Choose a reason for hiding this comment

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

This should not be in the readme. if you remove this and add it to the PR description instead then i can possibly merge this

RenderType.CompositeState.builder()
.setShaderState(RENDERTYPE_LINES_SHADER)
.setLineState(new LineStateShard(OptionalDouble.of(2.5D)))
.setLineState(new LineStateShard(java.util.OptionalDouble.of(2.5D)))
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

lol wow AI does the dumbest things eh. oh this is already imported let me add the package anyway lol

newVal = 0.9F - VANILLA;
}
else {
newVal = 1.0F + (1F / 16F) - VANILLA; //PATH BLOCKS etc are 1/16th downif MY feature turns this on, then do it
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Pro tip dont let the dumb robots automatically delete every single comment it finds

@@ -0,0 +1,7 @@
package com.lothrazar.library;
import net.minecraft.world.level.block.Block;
public class Dummy {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

wtf

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.

2 participants