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.
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.
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.
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
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
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.
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.