RebornCore icon indicating copy to clipboard operation
RebornCore copied to clipboard

[Feature Request]: The ability to add custom elements to a specific RebornCore BlockEntity

Open ghost opened this issue 4 years ago • 0 comments

I would like to be able to add custom elements to specific block entities based on RebornCore. So, for example, with my teleporter, I have it set to respond to a redstone signal. However, the user may want to change the setting.

As it appears the element map is private and static, it looks like if I was to override the private nature of the map anyway, it'd cause every RebornCore based machine to have the custom element I want to add. However, the custom element would only make sense for my teleporter. Having the ability to implement an interface that checks for custom elements in a block entity on top of the existing elements (or even in place of them) would be a nice feature to have. https://github.com/TechReborn/RebornCore/blob/4be803f24979416c5dd3e0dbe81237786328f010/src/main/java/reborncore/common/blockentity/RedstoneConfiguration.java#L233

2021-10-18_22 24 23

ghost avatar Oct 19 '21 03:10 ghost