Everything posted by SanaRinomi
-
[Solved][1.10.2] Need help with HarvestDropsEvent...
It only drops the default item and yes I did remove the things that you mentioned Updated code:
-
[Solved][1.10.2] Need help with HarvestDropsEvent...
I tried doing that and it didn't work so what I did was add " || true" to the if statements and it still didn't drop the item... And before you ask, I did move it to the load method.
-
[Solved][1.10.2] Need help with HarvestDropsEvent...
My problem is that my custom item never droppes... ;(
-
[Solved][1.10.2] Need help with HarvestDropsEvent...
I admit, I've never worked with events so it's probably something I'm overlooking but anyhow... I'm trying to get a vanilla block to drop not only it's own item drop but also to have a chance of dropping a custom one. Here's my Event code: And here's my main registry: Note: I've tried registering it in both load and postLoad. If I put it into preLoad the default item it's self only droppes randomly.
-
[1.8] Help creating Custom Commands
I'm more familiar with 1.8 and my goal is to create a special mod which is based around Hypixel, which supports 1.8. 1.9 and 1.10 is new territory for me. 10/10 IGN will never update again! EDIT: I felt like adding some humor to this thead... So I did.
-
[1.10] How can I make minecraft vanilla blocks drop custom items?
I've been reading though it, also looked at said Event class, but I still can't seem to get how I'm suposed to make a block drop a custom item.
-
[1.10] How can I make minecraft vanilla blocks drop custom items?
Thx! Been looking for a good tutorial on that.
-
[1.10] How can I make minecraft vanilla blocks drop custom items?
How can I control said event?
-
[1.10] How can I make minecraft vanilla blocks drop custom items?
I want to add custom drops to Diamond Ore and Obsidian.
-
[Solved][1.10.2] Axe ArrayIndexOutOfBoundsException crash
And may I ask what the two floats represent? Look at their names in your IDE. The current version of Neon Eclipse is being stupid and only tells me the type. Nothing else... EDIT: I retract my statement.
-
[Solved][1.10.2] Axe ArrayIndexOutOfBoundsException crash
And may I ask what the two floats represent?
-
[Solved][1.10.2] Axe ArrayIndexOutOfBoundsException crash
It's probably a stupid mistake that I can't seem to realize what it is, but when creating the axe for my mod the game crashes. Crash Report: ModItems class: AxeItem class:
-
[Solved][1.10.2] Block render error
Well, thanks for the help. <3
-
[Solved][1.10.2] Block render error
Updated code: Note: I put IBlock.setRegistryName(block.getUnlocalizedName().substring(5)); because the unlocalizedName (except the tile. part) is the same as the registry name.
-
[Solved][1.10.2] Block render error
Crash Report...
-
[Solved][1.10.2] Block render error
It's still crashes... just for different reasons... Of which I don't know of. Here's the crash report: And here's the ModBlocks class: EDIT: It will still crash the same way even if I change GameRegistry.register(IBlock.setRegistryName(block.getRegistryName())); to GameRegistry.register(IBlock.setRegistryName(block.getUnlocalizedName().substring(5)));
-
[Solved][1.10.2] Block render error
Ok, so will I have to register the the Block and the ItemBlock or just the ItemBlock? EDIT: Let me refrase that, how on earth do I fix this?
-
[Solved][1.10.2] Block render error
My proxy is the last piece of code read. Here: Main class: ServerProxy class: Client proxy:
-
[Solved][1.10.2] Block render error
I'm calling it from my client proxy.
-
[Solved][1.10.2] Block render error
After some constructive criticism from Draco18s (Sorry if I spelled it wrong) I changed my register for my blocks and items to the GameRegister.register(...) fuction. Now, upon registering the textures for the blocks my game crashes for some reason. Here's extra info if you need it. Crash Report: Block Texture Render class: ModBlocks class: BasicBlock class:
-
AL lib: (EE) alc_cleanup: 1 device not closed
Yes, but I wrote all my code aswell. Which doesn't help when making mods.
-
AL lib: (EE) alc_cleanup: 1 device not closed
Sorry! I'm used to using C# not Java!
-
AL lib: (EE) alc_cleanup: 1 device not closed
Dont use the deprecated version use the GameRegistry.register (item.setRegistryName (name) not unlocalized name I don't see the problem with the code I gave. I use it in my 1.10.2 mod and it works perfectly. The problem is that it will be removed in the next version of minecraft and you will need to change it anyway. Really!? I really need to get up-to-date with the next updates then!
-
[1.10.2] How to get World and make it compatible both server and client side?
Yeah! Thanks for the help! :D
-
AL lib: (EE) alc_cleanup: 1 device not closed
Dont use the deprecated version use the GameRegistry.register (item.setRegistryName (name) not unlocalized name I don't see the problem with the code I gave. I use it in my 1.10.2 mod and it works perfectly.
IPS spam blocked by CleanTalk.