Jump to content

Mastef_Chief

Members
  • Posts

    8
  • Joined

  • Last visited

Mastef_Chief's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. 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?
  2. for getCollisionBoundingBox do i return the samething i would return for getBoundingBox
  3. Like this: @Override public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos) { return new AxisAlignedBB(0.0D, 0.0D, 0.0D, 1.0D, 0.9D, 1.0D); }
  4. I tried doing this but it still isnt damaging the player https://pastebin.com/c2q9mW1i
  5. 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?
  6. So like this "!((BlockMinersPortal) ModBlocks.miners_portal).trySpawnPortal(worldIn, pos))"
  7. 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
  8. Anybody know a good tutorial on how to add a custom book to a mod.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.