Glowstone icon indicating copy to clipboard operation
Glowstone copied to clipboard

Item functions

Open mastercoms opened this issue 8 years ago • 5 comments

This PR will remove the item and block hierarchy, which has many problems with conflicting item and block behaviors and creates a bad system for modding support, which we may want to pursue in the future.

It uses functions to provide default item and block functionality, and provides a simple system mods and plugins can use to extend this functionality and add their own items/blocks with unique functionality in the future.

mastercoms avatar Nov 22 '17 17:11 mastercoms

I'll review this tonight or tomorrow.

Pr0methean avatar Jan 29 '18 04:01 Pr0methean

This looks to me a little too much like Aspect-Oriented Programming. How much use are stack traces going to be under this new regime?

Pr0methean avatar Feb 01 '18 03:02 Pr0methean

Do you think this could be better implemented in Java 9's Flow API?

Also, I feel like it would make more sense to migrate to 1.13 first before doing such a massive change to our item/block type system.

mastercoms avatar Feb 01 '18 14:02 mastercoms

Closed because we're waiting for 1.13 and this branch will probably be rewritten by then

mastercoms avatar Jun 08 '18 00:06 mastercoms

Reopening this branch since it has become relevant again.

mastercoms avatar Aug 06 '20 16:08 mastercoms