Jump to content

_NIMJA

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by _NIMJA

  1. My modding workspace has just weird names like func_227860_a_() (which I think is the .push method you have) in the MatrixStack class. How did you get yours to have the right names? I did some digging and found that my mappings version in my build.gradle is 20190719-1.14.3, which I assume is an old version. What is the latest version for 1.15.2?
  2. When I ran it in debug mode, I stepped over every line one at a time, and the check worked. Then, when I ran it normally, it worked again. Not sure what's up with that.
  3. This is my first time using Forge Update Checker, and I can't get it to work. I've made sure I'm following the formatting guides, but nothing seems to change. Here is my update.json: https://github.com/matthrewp/_NIMJA_Update_JSONs/blob/master/BBV_UpdateJSON.json Here is my main class: Here is an excerpt from a class checking the update status: Here's a log from running the game: Does anyone know what I've done wrong?
  4. R, g, and b are set just above the GL11 stuff. float r = ConfigOptions.LineColor.R; float g = ConfigOptions.LineColor.G; float b = ConfigOptions.LineColor.B; GL11.glPushMatrix(); GL11.glTranslated(-doubleX, -doubleY, -doubleZ); And here is the config rgb stuff: @Name("Line Color") @Comment("The color of the border line.") public static ColorCat LineColor = new ColorCat(); public static class ColorCat{ @RangeInt(min = 0, max = 255) @Comment("RGB red value.") public int R = 0; @RangeInt(min = 0, max = 255) @Comment("RGB green value.") public int G = 0; @RangeInt(min = 0, max = 255) @Comment("RGB blue value.") public int B = 255; } The code is being ran here: @SubscribeEvent public static void renderBlocks(DrawBlockHighlightEvent event){ } Changing to GlStateManager and adding the Texture2D thing helped! However, the line is about 50% transparent.
  5. Here: GL11.glColor3ub((byte)r, (byte)g, (byte)b); r, g, and b are integers between 0 and 255.
  6. I'm trying to allow the user to set the color of the lines I'm rendering, but it behaves strangely. The color glitches between Black and the intended color, but mostly the lines are black. Here's the code I'm using to render the lines: Does anyone know how to make the lines stay the right color?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.