Everything posted by Draco18s
-
[1.10/1.9.4] Block climb-able like a ladder
Note: For isLadder to work, two things must be true about your block: 1) Your block must be less than a full cube in the X-Z directions (player must be able to be inside the the standard block volume) 2) Your block must be solid
-
Forced to use Function/Field ID when calling vanilla code
I think he's trying to use Reflection and needs the SRG name. http://export.mcpbot.bspk.rs/
-
Update item in gui with inventory
Post the crash log.
-
[1.9.4] [SOLVED] Singular item class, change block placed upon registry
No, the question I'm asking is: Why do you have a HashMap at all?
-
Mod for 1.9.4 (Give the Item a Texture)
Do not use event.getSide() Use proxies.
-
[1.9.4] Velocity & Ammo Requirements
I think that method got removed in 1.9, but if you look at the bow you should be able to find the replacement code (its just a loop over the inventory looking for the right item).
-
How do you have a item take damage after used in a crafting table?
Did you set your item to override hasContainerItem and getContainerItem?
-
Using a group of items as potential ingredients in a recipe?
hasContainerItem and getContainerItem
-
[Solved] [1.9.4] Attack speed/damage
this.damageVsEntity(100) ?
-
[1.9.4][Solved!] Make custom shield take damage when blocking a attack
...You don't? You need to implement the method.
-
[1.7.10] importing mods to make addons
Signature
-
[SOLVED][1.9.4]Can't export a Java8 project
Its right there in the error: "lambda expression sare not supported in -source 1.6" You aren't compiling for Java 8, you're compiling for Java 6.
-
[1.9.4] Random items on right click
What part are you having trouble with? What have you tried?
-
[1.9.4]Player immune to damage from Wither
Look at the event class and figure it out.
-
[1.9.4]Player immune to damage from Wither
You're still trying to get an EntityPlayer from nowhere.
-
[1.9.4]Player immune to damage from Wither
Well, an ArmorTickEvent isn't likely to include a damage source is it? Also, you can't just add parameters to an event function and expect them to get filled in magically. Not to mention that your onArmorTick method has LivingAttackEvent as its event object.
-
[1.7.10] importing mods to make addons
Straight decompiling is insufficient. You need to deobfuscate. What you are seeing is SRG names and the development environment operates on MCP names.
-
[1.9.4] [SOLVED] Singular item class, change block placed upon registry
...What are you doing there? No really, I'm confused. Why are you doing that?
-
[1.9.4]Player immune to damage from Wither
if(event.souce == Damage.wither && event.entity is EntityPlayer && player.getEquipment == MyAntiWitherChest) { event.setCanceled(true); }
-
[1.9.4] [SOLVED] Singular item class, change block placed upon registry
*Facepalm* What if you do this in your preInit: myStoneItem = new ItemClass(Blocks.stone); myWoodItem = new ItemClass(Blocks.planks); What do you expect to happen?
-
[Solved] Potion effects on armor
player.addPotionEffect(new PotionEffect (Potion.getPotionById(16), 220, 0)); ? Seriously, how hard is it to add the parameters you removed back in? Except you'd replace the hardcoded ID with MobEffects as mentioned earlier.
-
[1.9.4] [SOLVED] Singular item class, change block placed upon registry
The static keyword is almost certainly not what you want.
-
super simple question with a super simple answer
Would also have been easy to name your thread with a title relating to your problem, rather than "This is simple."
-
BaseMetals API
Good job, you created an identifier. You might want to set it equal to something. http://stackoverflow.com/questions/2614072/java-define-terms-initialization-declaration-and-assignment
-
[1.9.4] Backface culling inside model
Correct. The faces you outlined are not being rendered at all: they are facing away from the camera and are being culled. Their back-faces (facing towards the camera) don't exist unless you explicitly tell them to.
IPS spam blocked by CleanTalk.