Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/20/18 in all areas

  1. You need to use their API.
    1 point
  2. look at metamorph on github by mchorse
    1 point
  3. I think it should work. I've done giants and dinosaurs before. The vanilla giant zombie is 6 times regular zombie size and the main part of a vanilla dragon is 16 by 8. There might be a limit though. Maybe start small and increase it a bit at a time to see if there is an actual limit. I looked through the code a bit. The key bit of code is the EntityRenderer.getMouseOver() method. This is what decides if the player is clicking on an entity. One thing I noticed is that one thing it does it it narrows down the entities to check for using the World.getEntitiesWithinAABBExcludingEntity() method. I looked at that method and it actually has a comment that there is a MAX_ENTITY_RADIUS field that: * Used in the getEntitiesWithinAABB functions to expand the search area for entities. * Modders should change this variable to a higher value if it is less then the radius * of one of there entities. This field is a public static field so is accessible for you. So I think what you need to do is at some time during loading you need to set that field to the size of your entity. The default is 2. So it makes sense that you might need to change this in your case. Anyway, try that and see if it works.
    1 point
  4. There are tutorials out there. Just put some time into your problem before posting here. People (often the same people) have answered the same questions over and over and over again. If your issue looks like you thought it through and did some research, people will be more helpful (in general). https://shadowfacts.net/tutorials/forge-modding-112/ http://jabelarminecraft.blogspot.com/p/minecraft-modding-containers.html https://github.com/TheGreyGhost/MinecraftByExample
    0 points
×
×
  • Create New...

Important Information

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