Jump to content

Recommended Posts

Posted

I know I can give multiple bounding boxes to a Block with addCollidingBlockToList(), how can I do the same for Entities?

 

I'm writing a ship mod, that the player builds in Blocks and then launches.  I was planning to convert each Block to an Entity at launch (like the Zeppelin mod), but having thousands of Entities moving around is a huge resource hog and limits the size of the ships.

 

So now I'm thinking a single Entity, with some data for each block: I render every "block" that is stored in the core Entity, but I also need a bounding box for  each, and my custom AABB class doesn't give the desired results - there must be a way to do this that I don't know about...

Posted

Minecraft allows for one collision box per entity, Things like the ender dragon are actually multiple entities.

As long as they are children entities, they shouldn't be to resource intensive.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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