Jump to content

MrKirby

Members
  • Posts

    5
  • Joined

  • Last visited

MrKirby's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I do not mean the basics of Java programming, I mean the classes like "World" and functions like "getEntitiesWithinAABB" to be explained. But as I understand, it is up to the modders to know where to look, which is fair as this is a free platform. Thanks for answering!
  2. Not to start a discussion but how would one find "World#getEntitiesWithinAABB", because I cannot find documentation that would point me in the direction of this. Only now I know it exists... You say it's outside of the scope of the Forge documentation but these classes and everything are made 'by' forge, right? Shouldn't functions and classes be explained somewhere? Once again, I don't want to start a discussion or anyhting. I am mostly a web developer (PHP, JS, jQuery, MySQL etc.) and I'm kinda used to sites that explain all functions and classes available.
  3. No, it's more something to learn modding, just doing random stuff and understanding what exactly I'm doing. I understand doing this all the time isn't a great Idea and for the whole world isn't either. So would you recommend if, let's say, I want to do it for all dirt items within 10 blocks, to make a loop and subtract the x, z from the item with the player and check that? How would I do this? I can't find anything about this in the documentation. Would that maybe be a good thing to add or am I just blind?
  4. Thanks for the fast reply. Let's say I want to convert all dirt blocks (items) to diamonds, how would I do that? It works with the event: "EntityEvent.CanUpdate" but this event is triggered when the items are within an unloaded chunck it looks like. (When flying away ~200 blocks, it works...) I've seen the documentation page, but, and no offense, it isn't very rich in docs... I cannot find anything about Classes and functions within them. The only way to find them is the unpacked version of Forge within eclipse where I can view all classes and their functions...
  5. I'm new to modding and been trying some stuff. I'd like to find all items on the ground. I've tried the "LivingEvent.LivingUpdateEvent" but that only works for Entities like Cows and Players etc. (Or it looks like). How would I 'cycle' through all items on the ground? Also, I have a list of all events with the list: forgeevents.html but I can't find other documentation about items or blocks, is there something I'm missing?
×
×
  • Create New...

Important Information

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