Return to Skins, Textures & Mods



Help! How do you make an entity sink once button is pressed?

There are official sections for each but here's a forum for further discussion

Post - 3/1/2012, 3/1/2012

Help! How do you make an entity sink once button is pressed?
I really need help for this as i have tried a multitude of things.
zombiekillah
http://www.zombiekillah.co.uk
Owner of [The Mod Request]
Image
User avatar
Level 34
Artisan Modder
Posts: 63
Joined: 2/20/12

Post - 3/1/2012, 3/1/2012

What?
Image

Pokemon Eggs:
Spoiler
Image
Image
Image
Image
Image
User avatar
Level 22
Expert Pokemon
Says: Unless it's a farm!
Minecraft: pokemonboy100
mc_server: Nope.
Posts: 4622
Joined: 9/24/11
Location: In The Dark Bowser Universe

Post - 3/1/2012, 3/1/2012

pokemonboy100 wrote:What?

Basically. In Java:
Once a button is pressed. in this case 'z'
The Entity or boat is to sink underwater.
zombiekillah
http://www.zombiekillah.co.uk
Owner of [The Mod Request]
Image
User avatar
Level 34
Artisan Modder
Posts: 63
Joined: 2/20/12

Post - 3/1/2012, 3/1/2012

zombiekillah wrote:
pokemonboy100 wrote:What?

Basically. In Java:
Once a button is pressed. in this case 'z'
The Entity or boat is to sink underwater.

I know nothing about java, but could you just make so that when you pressed "z" the vehicle you were in lost the ability to float, and when you pressed, let's say "X" it regained that ability? Like I said before, I know nothing about java, so this may not help at all.
User avatar
Level 11
Journeyman Architect
Posts: 67
Joined: 2/2/12

Post - 3/6/2012, 3/6/2012

Also, if I did help, could you tell me?
User avatar
Level 11
Journeyman Architect
Posts: 67
Joined: 2/2/12

Post - 3/6/2012, 3/6/2012

Hmmm.. I dunno if that's possible, but I believe it should be. That being said, I would have no idea how to do so. Hopefully, now that this was bumped, some one who knows will come around.
User avatar
Site Moderator
Level 16
Journeyman Toast
Says: If it moves, I'll hug it (if it doesn't move, I'll hug it until it moves).
Minecraft: NightfuryXz
Posts: 2592
Joined: 11/26/11
Location: Space

Post - 4/8/2012, 4/8/2012

Don't worry, i have sorted it! I put the wrong name in the constructer. Causing the mod to search for
public void entitySink

and not

public void EntySink

It seems caps locks really does matter!
zombiekillah
http://www.zombiekillah.co.uk
Owner of [The Mod Request]
Image
User avatar
Level 34
Artisan Modder
Posts: 63
Joined: 2/20/12


Return to Skins, Textures & Mods

Who is online

Users browsing this forum: No registered users and 0 guests