Posted September 12, 20178 yr Hello. I want to create registry for interface, because I need subsitution-capable iterable of the interfaces, which can be registered by other mods. How would I go with It? Also how genetic events work? Would subscribing with subclass of the event supertype class work? Edited September 12, 20178 yr by Abastro I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
September 12, 20178 yr What are you trying to do exactly? Also, no. The generics are rather rudimentary due to speed concerns. It must be the exact class. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
September 15, 20178 yr Author What I want is registry of providers, which provides styles and objects. They should be ordered, and some of them should be able to be selected/grouped/etc. with configuration & save file. Some of these have persistent name. Currently I'm going to implement it with a copy of forge registry - with the map replaced with either ordered map or list. Is there a better way? (I can't use simple list because it should be able to be loaded from the save file) I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
September 15, 20178 yr We talked about this on IRC, you don't want a registry, you want a list. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
September 16, 20178 yr Author How can I correctly load the list from file? Some of the entry could be missing. Edited September 16, 20178 yr by Abastro I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
September 17, 20178 yr Author Bump. Also I need substitution method and syncing. The providers which isn't present on the server should be dropped on client. Edited September 17, 20178 yr by Abastro I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
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.