Posted August 21, 20214 yr If I go into lava, the screen turns red, but if I go into custom fluid, the screen changes as if I went into water. (Custom fluid has water tag to act like water) Is there a way to render a different color (white) when I go into the custom fluid? +) Is there a way to act like water without having a water tag? (For example, when an entity goes into custom fluid, it slows down.) Edited August 21, 20214 yr by reasure
August 21, 20214 yr Author @SubscribeEvent public static void renderBlockOverlay(final RenderBlockOverlayEvent event) { if (event.getPlayer().level.getFluidState(event.getBlockPos()).is(ModTags.Fluids.RUBBER)) { ReasureCraft.LOGGER.info("render Event!"); // Render Overlay } } What should I do? Edited August 21, 20214 yr by reasure
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.