Everything posted by Merthew
-
World events
Just wondering if there was any documentation to the events used in World world.playEvent(type,pos,data). type = 2005 is the bonemeal event and 2006 is the enderdragon fireball explode thing.
-
Problem With Creative Tab
Fixed it, just kind of removed the icon idea.. oh well. Thanks for you help and patience.
-
Problem With Creative Tab
So i need to register the tabs first right? How would one go about doing that?
-
Problem With Creative Tab
I want the gem_darkshard and the ingot_darkiron to be in the mainTab. In the code i have setCreativeTab(Main.mainTab) which is the same as the blockInit class. However, only the blocks are showing up in the creative tab.
-
Problem With Creative Tab
Basically my thought process at the moment. I still have no idea about the other one...
-
Problem With Creative Tab
I did not want the TabIcon items appearing in the creative tab, so i set the creative tab in the constructor to null. However, the gem_darkshard, and the ingot_darkiron have the creative tab set to mainTab.
-
Problem With Creative Tab
That was intentional, i don't want the tab icons appearing as actual items.
- Problem With Creative Tab
-
Inventory Item Rendering...
I may have messed up. none of the items render in the inventory, but the blocks are fine in the world. Please Help GitHub: https://github.com/Merthew/MerthewMod
- Problem With Creative Tab
-
Problem With Creative Tab
Hey, thanks. I am still new to modding so just trying to play around with the code. Good to know that i don't have to use the interface.
-
Problem With Creative Tab
The item gem_darkshard is not showing up in the mainTab. Please help. https://github.com/Merthew/MerthewMod
-
Just a Question about the lang file
Never mind, i fixed it.
-
Just a Question about the lang file
Neither of the names in the file are registering in game, please help https://github.com/Merthew/MerthewMod/tree/master
-
[1.12] CustomFireball no collision.
The custom fireball in the event handler, under util does not explode upon impact. I used the same code as in the fire talsmine and it worked there. please help. Code: https://github.com/Merthew/ModNameHere
-
[1.12] Test for air in mainhand
How would i check if a player has an empty hand? I am currently testing for if the Item in mainhand is air, but not being able to find what a compatible itemstack is for just 1 tile.air.
-
[1.12] Attack Cooldown?
Is there a way to add a cooldown to an item that can be used in hand? Such as a clock that changes the weather but needs to cooldown after each use.
- Send Chat message? 1.12
-
Send Chat message? 1.12
How would i send text to the chat?
-
Exicute Command?
How would i run a console command like tp or summon from code?
-
Change weather?
Are there any methods to change the weather? I have found the setRainStrength and setThunderStrength but they only reset the buildup to the rain. Thanks.
-
Item not rendering.
well, now i feel dumb... thanks.
-
Item not rendering.
The Clock Weather is not rendering. It's code is the exact same as my other custom items. Please help. Code: https://github.com/Merthew/ModNameHere
-
Check for player right click
For the sake of convenience, i put the spawnFireball method in the event handler class. How would i call that?
-
Check for player right click
Forgot to mention, 1.12.2
IPS spam blocked by CleanTalk.