#ToastControl(Forge 1.20.1) ===>Porting to===> ToastControl(Fabric 1.20.2)

74 messages · Page 1 of 1 (latest)

loud sphinx
#

(you linked toast control and mentioned toast manager)

obsidian lily
#

whoops, typo

#

can i edit the request?

loud sphinx
obsidian lily
#

yes sorry, I meant toast control

#

toast manager actually doesn't have a source code..

#

ToastControl(Forge 1.20.1) ===>Porting to===> ToastControl(Fabric 1.20.2)

#

k fixed the title

loud sphinx
#

are you looking for something to be put on CF or modrinth, or just for personal use and github is fine?

obsidian lily
#

personal use and github is fine

#

you know it would be ideal to make it open source on github so that in the future I can change the version, because I can do it from fabric to fabric too, the problem is that I don't have sufficient knowledge from forge to fabric

loud sphinx
#

its a super simple mod, tbh

#

I apparently dont have my 1.16 version but there is very little to it

obsidian lily
#

unfortunately the guy who made the version for 1.19.4 hasn't released any kind of source code so I can do very little with .class files..

loud sphinx
#

its MIT, i can pull out the intermediary sources 😛

#

but even the forge mod is like 5 classes

#

(the fabric mod looks to literally just be a port)

obsidian lily
#

yea but i have no idea how to use dependecies XD

#

in the case from fabric 1.19.4 to fabric 1.20.2 I know how to change the version of gradle and fabric, I know little else

#

lmao

loud sphinx
#

its late but if nobody does this by tomorrow evening i'll pop it out really quick at that point

obsidian lily
#

sure thing

#

ty for ur help

#

really.

obsidian lily
#

no one is gonna do it probably mmhhh, youre the one that can save me e.e

cedar geyser
#

Sodium extras has toast enabling/disabling

obsidian lily
#

Thats the only thing i dont need

#

I need to change overlay and make it transparent

#

So i need that mod

cedar geyser
#

Ahh

obsidian lily
#

@loud sphinx yo anyway Im gonna go sleep todya so i cant stay so much, if u can do tha mod I will thank you for the rest of my life lmao, today unfortunately I'm not well so I felt sleepy, ty in advice, cya tomorrow

loud sphinx
#

so i looked at how the mod was working, toasts changed in 1.20.2 to use individual background images. does replacing the textures via a resource pack not work for you?

#

(i have already ported it, and added an opacity setting and a global background override in case its wanted, but just from your use-case it sounds like vanilla supports what you want)

#

\assets\minecraft\textures\gui\sprites\toast\recipe.png
for example is the recipe toast background
check out the toast directory in your minecraft jar. you should be able to apply transparency to the png files yourself (and edit them as desired) then pack them into a resource pack

obsidian lily
#

Perfect

#

Thats should be fine by me

#

The problem is, i dont need it for forge

loud sphinx
#

what do you mean?

#

who mentioned forge?

obsidian lily
#

K Im confused then xddddd, you did the porting from forge to fabric right?

loud sphinx
#

yes. but what functionality were you actually looking for that you cant get in vanilla via resource packs?

obsidian lily
#

Changing the offset

loud sphinx
#

ah ok, that works then

obsidian lily
#

Thats perfect

#

Cuz i have a custom instance where i have only a different place for toasts

#

Where i can find the mod btw?

loud sphinx
#

nowhere yet, just cleaning it up. I'll post it to github in a few

obsidian lily
#

Thats great

#

Tysm man.

obsidian lily
#

Tell me when u ready btw, no rush, Im not in hurry

loud sphinx
#

other than removing the included textures and swapping the translucent/transparent configs for an opacity setting, the rest is a straight port (including any weird logic...). so it should function the same as the original.

at the moment i am trying to make the texture replacement a little more robust. because textures are per-toast class now, and none of them share a field, there is a chance of replacing something that isnt a background. just trying to make that less likely

obsidian lily
#

Mh oke, the config file of the old one was oke

#

The texture thingy is kinda bad, sorry for that

loud sphinx
obsidian lily
#

Sure

#

Gimme a sec

#

cant click?

obsidian lily
#

page not found

#

404

#

if u want i download the code and i do .\gradlew build

cedar geyser
#

you need to be logged in to download the artifact

obsidian lily
#

oh i see

#

lemme signi in then

#

k got

#

lemme try

#

mh, it seems to not show up any toast

#

lemme try reloading mc

#

k lemme try the offset and we r gud

#

it works

#

tysm man