Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/12/19 in all areas

  1. Use Java 8 or 10 for 1.13.2 If you plan to use 1.12.2 alongside 1.13.2, get 8
    1 point
  2. This parameter does not exist in the onBlockActivated method.
    1 point
  3. Delete it, it's used for setting you want to apply to every Java process and usually when I see people mention using it they put in settings that shouldn't be global
    1 point
  4. Does the block place event have access to the tile entity? IIRC the tile is placed down afterwards.
    1 point
  5. 1. Do not use the instance of Minecraft to get the world, as this will only work on the client. The event contains the world that the block placing took place in, so get the world with event.getWorld() or something. 2. The tile entity isn’t created when the BlockPlace event triggers. If you are trying to get the tile entity of your own block when it is placed down, you might be looking for overriding Block#onBlockPlacedBy. P.S. I like your name.
    1 point
  6. It's very doable with a "full" (but fairly simple) mod. If there is an existing mod out there which can already do this using a config or scripts, I don't know about it. The way to do it is to subscribe to PlayerInteractEvent.RightClickBlock, then filter for your wanted block type(s) and have it create and drop the items in-world (or give them directly to the player). Can also destroy the block from there if you want. Btw, was this a mod request, or just a request for info so *you* can make the mod?
    1 point
  7. How can I find people that can code minecraft mods? ~looking for people to help me with making my RolePlay
    0 points
×
×
  • Create New...

Important Information

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