Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Nimbleguy

Forge Modder
  • Joined

  • Last visited

Everything posted by Nimbleguy

  1. How would I adjust the player's gamma temporarily?
  2. No, it does not say anything about the nullOre texture. Only some other untextured blocks and items.
  3. How would I keep a dimension at midnight and maybe make the dimension darker than usual? Currently I am trying to do DimensionManager.getProvider(VoidMod.NullVoidDimID).setWorldTime(13000); every tick, but that is not working.
  4. I tried SanAndreasP's method, now it gives the missing icon checkerboard texture. Code: TextureNullOre: BlockNullOre: VoidMod: TickListner:
  5. Still does the red, orange, yellow thing. I think it is the animation missing texture icon or something. My subscribevent is this: @SubscribeEvent public void texturePreStitch(TextureStitchEvent.Pre event){ event.map.setTextureEntry("nullOre", new TextureNullOre("nullvoid:nullOre")); } I know the class it is in is registered correctly because I am also using it for another thing. I use setBlockTextureName("nullOre"); in the BlockNullOre's constructor.
  6. Do you know what I would put as name? Also, do you mean do an @SubscribeEvent with a TextureStitchEvent.Pre as the arguments? Sorry, first time trying modding animations.
  7. Ok, for some reason updateAnimation is never called. I don't use breakpoints so... also the red, orange, yellow is a solid color that is switching to those colors. Earlier I posted an imgur link to the texture file.
  8. Ok, thank you. This issue is solved now .
  9. Ok, well I found that I forgot to register the item. Also, what things should be left in init?
  10. Thanks anyway. Does anyone else know what is wrong?
  11. Ok, I re-moved everything back to preInit, and my unrelated item stat requires an external api. It still has a negative id though.
  12. ? I did not move my items and blocks, except for my block for a fluid because it crashes when put before the fluid. VoidMod:
  13. My MCMeta file looks like this: I don;t want it to be animated, though, because of the wear helmet, different texture thing.
  14. I put my achievements, biome, and stuff for a fluid into init, it still gives it a negative id. My other armor piece that uses the same class, etc is fine, though.
  15. I changed that to Minecraft.getMinecraft().thePlayer, but it still does the red, orange, yellow thing.
  16. For some reason, my chest plate has a negative item id. I checked with F3-H, and it says #-001 It's unlocalized name is voidGear ArmorNull:
  17. Ok, now it is cycling through red, orange, and yellow. BlockNullOre: TextureNullOre:
  18. I don't want to use tile entity special renderers because tile entity. It is an ore and already lags a bit as it is. I chose the animation route, but how would I bind my TextureNullOre to my BlockNullOre?
  19. I am trying to make a block change texture when I wear a certain helmet, it worked in 1.6.4, but it broke in 1.7.2. BlockNullOre: RenderNullOre: Also, I know the RenderNullOre is being called on render because of the System.out.println()'s. Currently it does not even render a texture at all, it is just a transparent cube. Sorry if I need to put up any more code. EDIT: After placing liquid around it it stopped being transparent, but still did not change texture. EDIT 2: After editing the RenderNullOre a bit, the transparency stopped, but it still will not change texture. Also, I want the change to be client-side only for only the person who is wearing goggles. I also do not want it to be a tile entity, because it is an ore and will spawn a lot in certain places. I put the new code in the spoiler.

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.