I get this error when i use gradlew genIntellijRuns, https://pastebin.com/cQjnQ7FE . Would anyone be able to point me in the right direction to fix this?
I am try to make a block that when a player is on top of it they get damaged. I have tried some events but none seem to work. Is there an event made to detect when player is on the block or is there any other way to do it?
So i have here i have attached my three files. The issue I am having is in my BlockMinersFire. There is a part when i am trying to call the method trySpawnPortal from BlockMinersPortal but it is saying it is undefined. What can i do to fix this? Also if you need more information just let me know.
When I hover over trySpawnPortal to fix it shows me this "The method trySpawnPortal(World, BlockPos) is undefined for the type Block"
BlockMinersPortal.java
BlockMinersFire.java
ModBlocks.java