Spectrum

Spectrum

2M Downloads

[Feature] Ender Flask

eehunter opened this issue ยท 13 comments

commented

Idea: An ender variant of the Ink Flask. When first crafted it does nothing. Right-click with it on a block of pigment to set its color. Once color is set, it becomes linked to the player who set its color. All Ender Flasks of the same color linked to the same player will now hold the same amount of ink at a given time, effectively becoming the same flask.

This is a feature that I wish to implement as either a pull request or an addon mod, depending on whether or not you think it would be too powerful as part of the base mod. The intent is so that I can provide a way to automate the Crystallerium in a modpack I'm making.

commented

This is one of several ideas I've had for additional features for Spectrum, but some of them I don't think necessarily fit as well with the base mod. As such, I have decided to make an addon called Spectral Utilities which implements this and some of my other ideas. So far, the Ender Flasks are craftable and work. I have not yet made the lang files for them or added guidebook entries. Also there is almost certainly a bug related to loading an existing save, but I have yet to actually test what impact it might have. This should be relatively easy to fix, however.
Screenshot from 2024-02-17 15-02-48

commented

I plan to implement the Moonstone Grow Lamp from my other feature suggestion, as well as some new Crystallerium recipes and additional Create integration (upgraded versions of the Mechanical Drill and Mechanical Saw that can break cloaked blocks).

commented

Oh wow, dope! Looking goood.
I haven't found the mod on Modrinth/Curseforge or your github yet. @ me when I can try it out, I would love to take a look at it.

commented

Actually, it occurs to me that I don't have an icon for this mod. Is it okay if I use a modified version of the Spectrum icon for the project? I know that the lGPL2 license sorta allows it already, but I figured I'd ask to make sure.

Edit: This is the icon I whipped up:
icon
Edit 2: I actually think it would work better if the Ender Flask was in the middle, sorta like the icon for Spectrum Jetpacks. Is there somewhere I can find the background for the Spectrum logo without the Pigment Pedestal?

commented

I'm gonna upload the code to github right now, and I'll create a Curseforge project that should become visible in the next couple days.

Edit: Github upload is complete, now I'm going to upload to Curseforge.

commented

You can find all the images and stuff I made in the images folder: https://github.com/DaFuqs/Spectrum/tree/1.20.1-main/images/icons_banners (Gimp files)

commented

Absolutely, go ahead

commented

Thanks!

commented

I'm making a few small changes and then uploading a jar to Curseforge. I'll probably upload to Modrinth too, later.

Edit: Those changes being adding a guidebook entry for the Ender Flask and making it so that unlocking the recipe for each type of Ender Flask requires having obtained the respective pigment.

commented

Curseforge upload is complete, awaiting moderator approval.

commented

I keep running into weird things when looking at Spectrum's code inside my dev environment for Spectral Utilities. I wonder to myself why it was written that way, and then realize a moment later that it wasn't; I'm just looking at a decompiled jar instead of the original source code.

For example, from FusionShrineBlock.class:
protected void appendProperties(StateManager.Builder<Block, BlockState> builder) { builder.add(new Property[]{LIGHT_LEVEL}); }

commented

This is now implemented in Spectral Utilities!

commented

The next big update will add a way to transfer ink to the crystallarieum using networking, a bit like Pastel Network nodes, so it should be really easy to get it automated.
I still kinda like the idea, so I'm leaving this open to think about it ๐Ÿ‘Œ