
JavaMatrix
Members-
Posts
42 -
Joined
-
Last visited
Everything posted by JavaMatrix
-
[1.7.10] How to detect whether a player is looking at a block.
JavaMatrix replied to a topic in Modder Support
When I had to do problem 2, I looked at custom named entities. Here's my half-working result: https://bitbucket.org/JavaMatrix/snowtech/src/577af81dcbc980f306df52daa769e279fef212e4/SnowTech/java/com/defenestrationcoding/snowtech/renderers/RendererReceiver.java?at=master -
[Solved - new update] 1.7.10 -> 1.8 Tess changes.
JavaMatrix replied to Ernio's topic in Modder Support
Could you share your results for Googlers and other interested parties? (Like me ;P) -
Uncomment this line: //this.bindTexture(modelResourceLocation); Without binding the texture, it'll use whatever happens to be on the queue. Not a good thing.
-
[1.7.10] Vanilla Entity Render Modifications
JavaMatrix replied to Spartan322's topic in Modder Support
What do you need to do this for? There may be an easier solution than changing the rendering methods of vanilla entities. -
Doesn't sound very Forge. You may want to ask on a ruby forum, unless you are using Forge in the process somehow?
-
[1.7.10][SOLVED] getHeldItem() in the my custom mob
JavaMatrix replied to Rennancge's topic in Modder Support
You have no render code for held items. Look at RenderZombie for an example, perhaps? -
Hullo, I've been looking for a bit for a way to detect a Wither Skull explosion. Obviously, it's gonna be an event. The only way I can figure right now is to find them when then spawn in a EntityJoinWorldEvent, then track them with a tick handler - but that sounds like a huge nuisance. Is there a better way?
-
Use ev.entity.worldObj, assuming ev is the name of your event within your method.
-
[1.7.10][SOLVED] getHeldItem() in the my custom mob
JavaMatrix replied to Rennancge's topic in Modder Support
What is your current result? A screenshot could be helpful if you suspect that it is holding the item but it isn't rendering right. -
[1.7.10][SOLVED] getHeldItem() in the my custom mob
JavaMatrix replied to Rennancge's topic in Modder Support
Please, be more specific. -
[1.7.10] Custom Painting Rendering Half Block Off
JavaMatrix replied to gottsch's topic in Modder Support
In your item, try changing: EntityHanging entityhanging = this.createHangingEntity(p_77648_3_, p_77648_4_, p_77648_5_, p_77648_6_, i1); to EntityHanging entityhanging = this.createHangingEntity(p_77648_3_, p_77648_4_, p_77648_5_ + 0.5, p_77648_6_, i1); -
That's fine, just wondering about your reasoning. Do-it-from-scratch is fun - I might try that sometime.
-
Hullo, Pursuant of my previous question about messing with Desert Temples, I'm wondering if there's a simple way to iterate through every block in the chunk checking for Chests, instead of manually sorting through every coordinate. Thanks, JavaMatrix
-
Why make your own energy system when we have the Redstone Flux API?
-
I'll look into it, thanks.
-
Ok, I've trolled through so many events it hurts. Has anyone actually done something like this before? If so, how?
-
I don't think you remembered to register your world generator
-
See your init method? Make another one called preInit: @EventHandler public void init(FMLPreInitializationEvent event) This is where you should register items, not in init.
-
Items should be registered in FMLPreInitializationEvent, not in FMLInitializationEvent.
-
Looked around and didn't see a WorldGen event for Desert Temples. Am I missing it?
-
Hi, I was wondering if there was a way to change the chests in Desert Temples to Trapped Chests for my devious purposes. Thanks, JavaMatrix
-
Should be same as normal, but you'll need to put any mod dependencies in the mod folder of your decompiled forge.
-
A'ight, thankee.