Everything posted by Draco18s
-
direct Event for Rendering in the World?
If the chunk isn't rendered, at all, then the whole damn chunk isn't visible, so it doesn't friggin' matter does it?
-
Custom Entity problems
Stop using registerGlobalEntityID
-
How to check for meta data in an itemstack. (Any Version)[SOLVED]
That's because Choonster isn't a dick like I am. Use your god damned IDE to examine the ItemStack class and figure out what method will do what you want.
-
[1.9] this.setHarvestLevel() but you can break the block whitout the tool
You can't, that's not how vanilla works. Vanilla assumes that any, and every block that can be broken can be broken by hand (given enough time). You would know this if you'd ever actually played the game. If you actually want to prevent the player from ever breaking a block that their tool can't harvest then you need to interrupt the action via the event system. Also, spelling. All of these are wrong: peckaxes breakeable mi im wanna sme
-
[1.8.9] Interacting with chest GUIs from the client side
Ok, good, you do know how to program. A lot of folks come through here going "I'mma make a mod! What's an object?" Anyway. Accomplishing what you want is certainly doable but it's going to be a bit round-about as you aren't going to want to actually mimic mouse clicks. You can just access inventories directly (with some restrictions: backpack inventories aren't directly readable).
-
[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.
IPS spam blocked by CleanTalk.