This is an ongoing bug with 1.21.x, in my case 1.21.1. Errors are as thus upon server startup.
[11Aug2025 19:12:23.980] [Render thread/WARN] [net.minecraft.client.renderer.ShaderInstance/]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.
Environment
Minecraft 1.21.1
NeoForge 21.1.197
Please edit your report to change the Affected Version to the version shown on the Minecraft title screen