
Nimbleguy
Forge Modder-
Posts
77 -
Joined
-
Last visited
Everything posted by Nimbleguy
-
How would I adjust the player's gamma temporarily?
-
[1.7.2][SOLVED!]Changing block texture when wearing helmet
Nimbleguy replied to Nimbleguy's topic in Modder Support
-
[1.7.2][SOLVED!]Changing block texture when wearing helmet
Nimbleguy replied to Nimbleguy's topic in Modder Support
No, it does not say anything about the nullOre texture. Only some other untextured blocks and items. -
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.
-
[1.7.2][SOLVED!]Changing block texture when wearing helmet
Nimbleguy replied to Nimbleguy's topic in Modder Support
I tried SanAndreasP's method, now it gives the missing icon checkerboard texture. Code: TextureNullOre: BlockNullOre: VoidMod: TickListner: -
[1.7.2][SOLVED!]Changing block texture when wearing helmet
Nimbleguy replied to Nimbleguy's topic in Modder Support
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. -
[1.7.2][SOLVED!]Changing block texture when wearing helmet
Nimbleguy replied to Nimbleguy's topic in Modder Support
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. -
[1.7.2][SOLVED!]Changing block texture when wearing helmet
Nimbleguy replied to Nimbleguy's topic in Modder Support
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. -
Ok, thank you. This issue is solved now .
-
Ok, well I found that I forgot to register the item. Also, what things should be left in init?
-
VoidMod:
-
[1.7.2][SOLVED!]Changing block texture when wearing helmet
Nimbleguy replied to Nimbleguy's topic in Modder Support
Thanks anyway. Does anyone else know what is wrong? -
Ok, I re-moved everything back to preInit, and my unrelated item stat requires an external api. It still has a negative id though.
-
? I did not move my items and blocks, except for my block for a fluid because it crashes when put before the fluid. VoidMod:
-
[1.7.2][SOLVED!]Changing block texture when wearing helmet
Nimbleguy replied to Nimbleguy's topic in Modder Support
My MCMeta file looks like this: I don;t want it to be animated, though, because of the wear helmet, different texture thing. -
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.
-
[1.7.2][SOLVED!]Changing block texture when wearing helmet
Nimbleguy replied to Nimbleguy's topic in Modder Support
-
VoidMod:
-
[1.7.2][SOLVED!]Changing block texture when wearing helmet
Nimbleguy replied to Nimbleguy's topic in Modder Support
I changed that to Minecraft.getMinecraft().thePlayer, but it still does the red, orange, yellow thing. -
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:
-
[1.7.2][SOLVED!]Changing block texture when wearing helmet
Nimbleguy replied to Nimbleguy's topic in Modder Support
Ok, now it is cycling through red, orange, and yellow. BlockNullOre: TextureNullOre: -
[1.7.2][SOLVED!]Changing block texture when wearing helmet
Nimbleguy replied to Nimbleguy's topic in Modder Support
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? -
[1.7.2][SOLVED!]Changing block texture when wearing helmet
Nimbleguy replied to Nimbleguy's topic in Modder Support
Bump? -
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.