Everything posted by Draco18s
-
[1.7.10] Right Click Event..
There are a few concepts that aren't making it across the translation barrier. The first has to do with programming in general (not that I think that jmylifecolor doesn't know java or how to program, but rather that the terminology itself may not be translating correctly). The second has to deal with event handlers, which are a little arcane if you haven't used them before.
-
[1.7.10] Right Click Event..
someVariable.class ?
-
How do I slow down a velocity jump?
Please go into your airplane and flip the red lever.
-
[1.7.10]Dedicated server error
Well, some of us don't have time to read your mind. It's a lot of work.
-
How do I slow down a velocity jump?
...really?
-
[1.8.9] [Forge 1722] Custom ore not generating
0) use github 1) yoir json is malformed
-
[1.7.10]Dedicated server error
I so not need your code because I am psychic. Your widget is missing a thingamajig and it's vomiting all over the processor. (Hint: always post code, especially the class mentioned in the crash, ScreenCompressor)
-
custom block that prevents spawning of mobs in a certain perimeter
So if light is 0 to 15, and 1.0f corresponds to 15 and it bit-overflows, what happens is we double that?
-
[1.7.10] Cannot delete item from player.inventory
Are you doing it client side or server side?
-
[1.8] Why does my block have 2 tile entities?
In fact, returning null is a bad idea.
-
[Resolved | 1.8.9] How to check if an itemstack in a slot is a certain item.
What happens when the player does not have an item in that slot?
-
[1.8] Why does my block have 2 tile entities?
The log knows all. One on the client, one on the server. SSP does still have both.
-
custom block that prevents spawning of mobs in a certain perimeter
Ooh, you want it to LOOK like it is fully lit without actually emitting light. That's trickier, but involves rendering the block yourself.
-
How do I slow down a velocity jump?
Null error exceptions are ready to fix. He even told you what object is null.
-
[1.7.10] How do I draw 2 textures on the same face of a block
M-m-m-multipass rendering!
-
[1.8.9] Changes.
So where can I read about those types? I am GL noob in terms of conventions. Everything I know i learned from scratch (a lot actually). Look for some GL tutorials. If you hover over GL11.GL_QUADS you can do a jump-to-definition which will take you to the GL11 class and you can look at the other modes there (I can't find a list online). QUADS is more or less deprecated because it's inefficient, but no one in Minecraft modding cares (it's faster to draw two triangles than making the CPU calculate said triangles). The other options I can remember are... LINES (may not work, use instead...), LINE_STRIP, and TRIANGLE_STRIP.
-
[1.8.9] Re: Arrays of Blocks, Items, etc
Save the config to a static variable in your main class. Access it from anywhere.
-
[1.8.9] Changes.
I know that one of the parameters for WorldRenderer is the GL draw type. GL11.GL_QUADS, etc.
-
[1.8.9] Fluids don't render. Did the system change?
Lighter than air fluids are hilarious~ (I've got one, but its also finite and flammable. We've had so much fun with it.)
-
custom block that prevents spawning of mobs in a certain perimeter
Even SSP there are still multiple dimensions loaded (the game automagically generates and holds a portion of the Nether active if you have a Nether portal).
-
LayerRendering for Custom PlayerRenderer (With RenderPlayerAPI)
RenderClothes is not referenced here, this is useless or you haven't registered it properly. Show the entirety of CustomPlayerRenderer
-
[1.7.10] [SOLVED] Need GUI example
You only need one texture, just put all of the states in that texture. Check how the Beacon gui works.
-
[1.8] Multiple Enchantment Effects
Just stay away from coremods, life will be simpler. ASM is a dark abyss that looks back.
-
custom block that prevents spawning of mobs in a certain perimeter
My 32 bit hardware dates back to 2009. So yeah, it doesn't take long to look at every block in the chunk. It's not a good idea unless you have a good reason (I did, and benchmarked it for that reason, had to use Time.getNano() because it was so fast).
-
[1.8.9] Re: Arrays of Blocks, Items, etc
Huh. Never looked into it, I guess. Integer, which is 32 bits.
IPS spam blocked by CleanTalk.