1.21 EntityConstructing event is no longer work
-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
By darko_maind · Posted
Log here https://mclo.gs/Yx5lgf0 -
By nicolaspcs · Posted
Hello I need your help urgently, I would appreciate it very much. I have a big problem. A few weeks ago I created this server in forge jar in version 1.20.1, I put mods and everything worked correctly, but from one day to another everything suddenly stopped working, specifically my problem is this: [LanServerPinger #1/WARN] [minecraft/LanServerPinger]: LanServerPinger: Network is unreachable: sendto. i can enter the server using localhost and everything works, but my friends can't connect. i looked for possible problems like: the firewall, antivirus, mods (i created a new server without mods and the same thing happens to me), configure my ip and dns to be static, check the server configuration of port 25565, restart my router, reinstall java and the problem still persists. what do i do? my main problema is "[LanServerPinger #1/WARN] [net.minecraft.client.server.LanServerPinger/]: LanServerPinger: Network is unreachable: sendto" I'm going to share the last server without mods that I've made: https://pastebin.com/rivhUQtL -
By ByterDance · Posted
At the time of forge 1.16.5, I used this code: RenderSystem.enableBlend(); RenderSystem.disableAlphaTest(); RenderSystem.defaultBlendFunc(); // render RenderSystem.disableBlend(); RenderSystem.enableAlphaTest(); But when switching to version 1.20.1, I ran into a problem: GL_ALPHA_TEST cap can no longer be enabled, and if you specify any color with alpha less than 1.0 in the shader, then the pixel color will still be with alpha 1.0 My current code: Shader: #version 330 core out vec4 fragColor; void main() { fragColor = vec4(1.0, 0.0, 0.0, 0.5); } @SubscribeEvent public static void registerShader(RegisterShadersEvent event) { try { event.registerShader(new ShaderInstance(event.getResourceProvider(), new ResourceLocation("untitled", "tst"), DefaultVertexFormat.POSITION), instance -> { shaderInstance = instance; }); } catch (IOException e) { e.printStackTrace(); } } @SubscribeEvent public void render2D(RenderGuiOverlayEvent.Post event) { RenderSystem.enableBlend(); RenderSystem.defaultBlendFunc(); RenderSystem.setShader(() -> shaderInstance); Tesselator tesselator = Tesselator.getInstance(); BufferBuilder bufferBuilder = tesselator.getBuilder(); bufferBuilder.begin(VertexFormat.Mode.QUADS, DefaultVertexFormat.POSITION); bufferBuilder.vertex(0, 0, 0).endVertex(); bufferBuilder.vertex(0, 50, 0).endVertex(); bufferBuilder.vertex(100, 50, 0).endVertex(); bufferBuilder.vertex(100, 0, 0).endVertex(); tesselator.end(); RenderSystem.disableBlend(); } If anything, the shader itself is working. I also tried rendering using POSITION_TEX vertex format, but nothing has changed. -
if i remove otbyg it works Is there any good world gen mods like otbyg?
-
No difference same error
-
-
Topics
-
Who's Online (See full list)
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.