caelunshun

Results 41 comments of caelunshun

It may be worthwhile to consider any changes to `crossbeam-queue`—I know that #277 and #338 raised questions on how to structure the API. If more specialized SPSC/MPSC/etc. queues are to...

The bundles would be optimized by special-casing them in the ECS so that `query_as` can efficiently yield only which entities satisfy the bundle. The data would be accessed lazily when...

@Miro-Andrin Wow, that's impressive, thanks for this! I'd be happy to include these generated files as part of the commands crate. Including the generator script in this repo seems like...

I updated the PR with a checklist of remaining work.

> Why does the UpdateHealth packet send the client info about food saturation if stuff like that is handled server-side, at least from my understanding? I believe is used on...

Seems reasonable to me. Superflat generation does seem like a good way to start, given its simplicity. I think generating a "bland" default world should be the next step—just simple...

> * Redstone data should be stored at block level not as entities: delay, redstone level and etc. (This is already the case; redstone data is stored in the generated...

It might be wise to use a different approach than the `match` for interactions—as the number of blocks supporting interactions increases, this function is going to get pretty unwieldy. Would...

You can use an [octree](https://en.wikipedia.org/wiki/Octree) to cache `Entity`s which are in a given region, then use the `Entity`s retrieved from the octree for random access. This isn't really something that...

I suggest that each status effect be its own component, e.g. a `Regeneration` component, a `Speed` component, etc. to better conform with the ECS architecture. Systems to apply the effects...