Catfish55
Members-
Posts
13 -
Joined
-
Last visited
Everything posted by Catfish55
-
How would I go about making a projectile ignore the moment when a mob turns red and goes invulnerable after being hit? This way my projectiles could hit them at a more rapid speed and still deal damage. edit: If there is a way to remove the period on my mobs, that would work too.
-
How would I go about doing the following: If X on client, do Z on server. So basically, check something on the client, and do it on the server if it is right. Afaik I can't use the world.isremote idea because as soon as I check client it won't be able to check server again within the if statement.
-
How do you adjust the priorities on the task list? Also, it worked, thanks!
-
Modified what you suggested a little bit and it work now, except when they go in water. I removed the this.landMovementFactor because it wasn't a variable that was recognized. Also, the problem with new AI is it seems to cause my mobs to randomly lose aggro on the player, and when I adjust the movement speed they don't face the way they are running.
-
So, the line: this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(value); doesn't seem to change anything unless the new AI is enabled. However, with new AI enabled, it really messes with some of the things I've added. Is there a good way to make it move faster otherwise I've tried doing all sorts of adjustments of movement speed in the onLivingUpdate tick.
-
Basic block inventory icon is not the "3D Image" but just a tile
Catfish55 replied to Catfish55's topic in Modder Support
The thing is, there is no custom render. Some of them work fine, some just don't. -
Is this for 1.7 (I'm asking about 1.7)? Cause I get errors galore (of unimportable things, such as IconRegister -- Did you mean IIConRegister?). edit: So I found a way to have more than 16 versions (infinite really) of the block in one file, as I just make it a new type of block.
-
Okay, thank you, but how do I change the texture of the block depending on the meta data, as well as use metadeta in a recipe? (I assume registering the block is the same as normal too)
-
I've tried looking around Vanilla code for how to do this, but all the func_x everywhere started to get annoying. How does one add metadata to a block? Edit: So I found a way to have more than 16 versions (infinite really) of the block in one file, as I just make it a new type of block.
-
Will try to fix this when I get home then. Would you happen to know why the buttons and whatnot don't show up? I just copied the Vanilla container.
-
Where exactly do I use this world.getEntityById?
-
Hi, I made my own GUI for a custom villager NPC I have. When I use the default GUI (same as Villager) the trader works perfectly. Whenever I put my own GUI in it's place, interacting crashes with this crash. In my Entity class, if I move the drawing of the GUI outside of the !isRemote (which is no longer like Villager code) and into an isRemote, then I get to see the GUI except when I close it I get this crash (I don't see any of the GUI besides the main background part, there are no buttons, things he is selling, etc): Normal crash w/out moving out of !isRemote I have the code for my trader and gui here: Trader Entity Interact: Container: GUI-Handler: Specific GUI: