Everything posted by Draco18s
-
[1.7.10] Making a tool have special effects on certain blocks
event.drops.clear() It's an array list, use it like one.
-
[SOLVED] Using item to place block, invisible block? [1.7/1.8]
Hooray for (not) reading the javadocs!
-
Modding/Coding Questions about Minecraft
The multiblock machine I made happens to be just nine, identical, single-block machines that do something different based on their position in the structure.
-
[1.8.9] Interacting with chest GUIs from the client side
Do you know how to program in any language?
-
[1.8.9] Rendering a circular texture in a sphere-like manner
The cross product thing I did once so I could turn every edge of a 3D model into a thick line (a quad) and wanted those quads to always face the camera. Was a bitch to figure out until I remembered the cross product trick (had to do it 3 times to get the necessary vectors).
-
{SOLVED}Help with ContainerItem
@Override public ItemStack getContainerItem(ItemStack itemStack) { return itemStack; }
-
[SOLVED] Using item to place block, invisible block? [1.7/1.8]
Also might help if you used the setBlock flag 3 like its supposed to be used: world.setBlock(x, y, z, MBlocks.CABLE, 1, 0); //flag 0: don't send to client, don't inform neighbors world.setBlock(x, y, z, MBlocks.CABLE, 1, 3); //flag 3: send to client, inform neighbors
-
LivingHurtEvent does not get triggered
If the mod is on a server that makes no fucking sense.
-
{SOLVED}Help with ContainerItem
Why are you cloning the input stack, setting its size to 1, and returning it? If its size wasn't already 1 you just destroyed (an unknown number of) items. If it was, there was no point in cloning and setting the size.
-
[1.8.9] Performance drop with isOpaqueCube
That return value won't do what you think it might. It won't let you toggle blocks back and forth between opaque and not opaque. It will toggle all blocks of that type.
-
LivingHurtEvent does not get triggered
Because you're still using Minecraft.getMinecraft().thePlayer
-
[1.8.9] Interacting with chest GUIs from the client side
http://download.cnet.com/Workspace-Macro-Pro-Automation-Edition/3000-2084_4-10307040.html
-
Retick a Chunk
How do you expect (non TE) blocks to function? What about a redstone system that extends across several chunks?
-
[1.8.9] [Solved] Trouble rendering translucent quad
Yeah. Once for each face. Up Down North South East West
-
[1.7.10] Calculations Server Side Only?
No. If the client thread "stops" or crashes, the whole thing comes down and you are returned to Eclipse.
-
setBlock method, placing blocks with metadata? [SOLVED]
I think he copy-pasted a bunch of shit and has no idea what it does, so he has no idea how to update it.
-
[1.8.9] Rendering a circular texture in a sphere-like manner
Math. It's called "math." When you math things you can locate vertices in space. Protip: any two non-parallel vectors can be cross-product-ed together to produce a third vector perpendicular to the first two.
-
[1.7.10] Calculations Server Side Only?
The server thread crashed but the client thread did not. That shuts down the SSP world and boots the client connection.
-
Block destroyed gives item help! [1.7.10 / 1.8] UNSOLVED
And change your sig, I can't read this thread because of that fucking image. Also, learn about the tag, then you don't need to ".." bullshit.
-
[1.7.10] Calculations Server Side Only?
Fatal Exception is a crash. Specifically you have a Null Pointer: java.lang.NullPointerException at com.halestormxv.inventory.InventoryKeyPouch.<init>(InventoryKeyPouch.java:34) ~[inventoryKeyPouch.class:?] On line 34 of your InventoryKeyPouch class, something is null.
-
[1.9] Entity Rendering
You shouldn't be using the Item Entity renderer to render items in a GUI anyway.
-
[1.7.10] teleport happening before chunk render
The falling, by the way, is just client side prediction: it sees only air in the chunk and applies gravity. The server thread (when it generates the chunk) should reset the player. I see this all the time with Mystcraft (I've fallen as far down as -60). I don't know what's going on here.
-
[SOLVED] Error com.google.common.collect.Multimap cannot be resolved
Pretty much everything (actually everything?) in the com.google.common package is part of the Guava library.
-
[1.9]ItemAxe Returns a crash.
Show your main class.
-
[1.7.10] teleport happening before chunk render
This is what I was asking: I wanted to check to see if the Y value was lower than the teleport's destination coordinates.
IPS spam blocked by CleanTalk.