03-12-2014, 09:19 AM
Hey,
Wouldn't it be possible for plugins to add recipe's etc ?
Simply like it does a command it registers the recipe and possible new blocks,
Now for when a case when the plugin has not been loaded, i do assume the plugins load before the world does,
So if the block is not registered turn it to air.
If i recall forge etc do it like that.
Though for more advanced blocks we might require additional windows, not just vanilla.
So perhaps even be able to register new windows, with options like what slots to remember, and what slots to simply drop on the ground when a window is closed.
The actual window handling for closing remember/drop could be done by the plugin self though.
But i am not sure if the window code, currently allows you to set how many slots it has etc.
But i could be wrong if it does, there is no code change needed for that :p.
Also on a last note, i don't think modded blocks/recipes should be added to the actual files.
Just registered on load of the plugin.
Wouldn't it be possible for plugins to add recipe's etc ?
Simply like it does a command it registers the recipe and possible new blocks,
Now for when a case when the plugin has not been loaded, i do assume the plugins load before the world does,
So if the block is not registered turn it to air.
If i recall forge etc do it like that.
Though for more advanced blocks we might require additional windows, not just vanilla.
So perhaps even be able to register new windows, with options like what slots to remember, and what slots to simply drop on the ground when a window is closed.
The actual window handling for closing remember/drop could be done by the plugin self though.
But i am not sure if the window code, currently allows you to set how many slots it has etc.
But i could be wrong if it does, there is no code change needed for that :p.
Also on a last note, i don't think modded blocks/recipes should be added to the actual files.
Just registered on load of the plugin.