Jump to content

Search the Community

Showing results for tags 'events'.

  • Search By Tags

    • events ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Found 14 results

  1. I think it would be useful to have a LightningStrikeEvent for when lightning strikes a block. In the event it would have data for the block struck, the lightning entity, and maybe the source of the lightning (either from weather, command, trident, etc.)
  2. So, there was this thing in ProjectE, where all items had it's emc value (equivalent cost or smth) and it's was computed from sum of it's ingredients (some items had pre-written emcs, so pretty much all of items' values could be calculated from its crafting recipe). I want to do something similar: s...
  3. Dear all, I am trying to port a mod which worked for 1.19.3 to 1.21.3, but I get an exception on startup: [19:21:15] [Render thread/ERROR]:Exception caught during firing event: 'boolean net.minecraft.world.entity.player.Player.m_6147_()' The problem seems to be a call to `player.o...
  4. I try to get some information about other players when joining a server. For example, I want to listen to the `AttackEntityEvent` to observe if one player hits another. However, this event works only if my own player hits other entities. Also, I want to read the information in the chat on a se...
  5. I am looking at these docs here (scroll down), and it says that there is an event called "WorldEvent.load" and I need to use it for my mod, but when I try to import it, IntelliJ Idea indicates that "net.minecraftforge.event.world" doesn't exist
  6. Hello! I recently approached modding and Java programming in general. But I'm very used to programming in Minecraft "code", so .json files and commands. In fact, for example, with Terrabalnder it was quite simple and intuitive to convert biome, surface rules and positioning files to run whit fo...
  7. I have a tool that harvests multiple crops at once, that either replants or harvests the crops depending on an enchant on the tool. The harvesting and loot dropping works fine, but when it comes to updating what block is rendering, only the clicked block is updated properly, while the others drop th...
  8. As per title, I can't see the Doc and can't get the work done.plz help me...
  9. sorry,i found the issues just some stupid reasons. but idont know how to delete the post
  10. Hello, I'm trying to launch the game with few mods but it does not let me because mojang authenticator... ? failed and i can't play. Someone may tell me what I could do to solve it please? thanks for your attention log: https://mclo.gs/ZYkKzCo
  11. Hello my fellow Modders this is the event code it's working fine with every mob and attack except witches it didn't trigger when witches attacked the player .. can you help me with this problem ... this is the code I'm new to coding in general @SubscribeEvent(priority = EventPriority...
  12. How to make an entity have a short animation when an event is triggered?
  13. Hello, Mr./Ms. My current requirement is to perform some behavior if the player's oxygen value decreases and some other behavior if the player's oxygen increases. I didn't find an event that `listened to the player's oxygen value` change, so I used `TickEvent.ClientTickEvent` to try to lis...
×
×
  • Create New...

Important Information

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