gigimoi
Members-
Posts
14 -
Joined
-
Last visited
Converted
-
Gender
Undisclosed
-
Personal Text
I am new!
gigimoi's Achievements
Tree Puncher (2/8)
0
Reputation
-
> WorldCore-universal-1.7.2-1.1.0.17.jar > I am using the latest version of forge for 1.6.4
-
Replace the ore dictionary with a general dictionary.
gigimoi replied to gigimoi's topic in Suggestions
Not just cosmetic, but also encouraging the use of it for non-ore things. It's not the best reason, but I think it's worthwhile. I don't have a suggestion for what it could be renamed to though. -
Replace the ore dictionary with a general dictionary.
gigimoi replied to gigimoi's topic in Suggestions
Is the ore dictionary deprecated then? -
It would be nice to access things other than ores from other mods, being able to access things like "armorHelmetBronze", or "wireIron". Technically, ore dictionary allows that, but the name doesn't encourage it.
-
Check if an ore has already been registered in oreDictionary
gigimoi replied to gigimoi's topic in Modder Support
Just tested it, works as expected. Thank you. -
GuiScreen with a button doesn't get the button texture?
gigimoi replied to gigimoi's topic in Modder Support
It did, thank you. What would it take to make a button taller than 20px? -
Code: http://hastebin.com/yawulosevi.java The button is drawn as this:
-
Cause damage without making entity temporarily invulnerable
gigimoi replied to gigimoi's topic in Modder Support
Resolved: protected void onImpact(MovingObjectPosition movingobjectposition) { if (movingobjectposition.entityHit != null && movingobjectposition.entityHit instanceof EntityLivingBase) { movingobjectposition.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), Damage); ((EntityLivingBase)movingobjectposition.entityHit).hurtResistantTime = 0; ((EntityLivingBase)movingobjectposition.entityHit).hurtTime = 1; } this.setDead(); } ((EntityLivingBase)movingobjectposition.entityHit).hurtResistantTime = 0; ((EntityLivingBase)movingobjectposition.entityHit).hurtTime = 1; -
Cause damage without making entity temporarily invulnerable
gigimoi posted a topic in Modder Support
Is there any way to cause damage to an entity without making it temporarily invulnerable? -
Not needed, your example works perfectly, thank you.
-
Right, but where would I throw that? Would I need to extend ItemStack and put it in the constructor?
-
That's rather convenient, int length = stack.getTagCompound().getInteger("Length"); However, yields a null pointer exception. I assume I would need to set the integer first, but where would I do that?
-
Is there any way to assign NBT data to items/itemstacks.