Slimefun4 icon indicating copy to clipboard operation
Slimefun4 copied to clipboard

Update to 1.21

Open WalshyDev opened this issue 1 year ago โ€ข 11 comments

Description

Updates to 1.21 - big shout out to MockBukkit team and @Intybyte for the work on tests

Proposed changes

Updated Slimefun code to support 1.21

Related Issues (if applicable)

N/A

Checklist

  • [ ] I have fully tested the proposed changes and promise that they will not break everything into chaos.
  • [ ] I have also tested the proposed changes in combination with various popular addons and can confirm my changes do not break them.
  • [ ] I have made sure that the proposed changes do not break compatibility across the supported Minecraft versions (1.16.* - 1.20.*).
  • [ ] I followed the existing code standards and didn't mess up the formatting.
  • [ ] I did my best to add documentation to any public classes or methods I added.
  • [ ] I have added Nonnull and Nullable annotations to my methods to indicate their behaviour for null values
  • [ ] I added sufficient Unit Tests to cover my code.

WalshyDev avatar Oct 01 '24 00:10 WalshyDev

Pro Tip! You can help us label your Pull Requests by using the following branch naming convention next time you create a pull request. โค๏ธ

Branch naming convention Label
feature/** ๐ŸŽˆ Feature
fix/** โœจ Fix
chore/** ๐Ÿงน Chores
api/** ๐Ÿ”ง API
performance/** ๐Ÿ’ก Performance Optimization
compatibility/** ๐Ÿค Compatibility

If your changes do not fall into any of these categories, don't worry. You can just ignore this message in that case! ๐Ÿ‘€

github-actions[bot] avatar Oct 01 '24 00:10 github-actions[bot]

Slimefun preview build

A Slimefun preview build is available for testing! Commit: e7d9232e

https://preview-builds.walshy.dev/download/Slimefun/4248/e7d9232e

Note: This is not a supported build and is only here for the purposes of testing. Do not run this on a live server and do not report bugs anywhere but this PR!

github-actions[bot] avatar Oct 01 '24 00:10 github-actions[bot]

This still needs major testing

WalshyDev avatar Oct 01 '24 00:10 WalshyDev

testing produced multiple errors immediately which stopped any further testing. I've linked them from the contributors channel on discord. https://discord.com/channels/565557184348422174/565570276038017044/1290525215461216266

Boomer-1 avatar Oct 01 '24 04:10 Boomer-1

testing produced multiple errors immediately which stopped any further testing. I've linked them from the contributors channel on discord. https://discord.com/channels/565557184348422174/565570276038017044/1290525215461216266

Is there 1.21 build available? where? ty mate

LauncherMeta avatar Oct 22 '24 14:10 LauncherMeta

testing produced multiple errors immediately which stopped any further testing. I've linked them from the contributors channel on discord. https://discord.com/channels/565557184348422174/565570276038017044/1290525215461216266

Is there 1.21 build available? where? ty mate

no. this is the work being done to get 1.21 up and running.

Boomer-1 avatar Oct 22 '24 15:10 Boomer-1

when will 1.21 version come out?

sruly09 avatar Oct 22 '24 18:10 sruly09

slimefun-updated

Intybyte avatar Oct 22 '24 19:10 Intybyte

when all the changes that mojang and paper put in place are addressed and fixed. feel free to help

Boomer-1 avatar Oct 22 '24 19:10 Boomer-1

lets try to keep comments not related to the PR on Discord please

Boomer-1 avatar Oct 22 '24 19:10 Boomer-1

Github Issue PR4248-1

I Got an Unexpected Exception when i ran /sf cheat on my own plazma fork.

[07:32:38 WARN]: [Slimefun] Task #32778 for Slimefun v4.9-UNOFFICIAL generated an exception
java.lang.ClassCastException: Cannot cast io.github.thebusybiscuit.slimefun4.api.items.SlimefunItemStack to org.bukkit.craftbukkit.inventory.CraftItemStack
at java.base/java.lang.Class.cast(Class.java:4067) ~[?:?]
at org.bukkit.craftbukkit.inventory.CraftItemStack.getCraftStack(CraftItemStack.java:46) ~[sangsang-1.21.1.jar:1.21.1-DEV-7120601]
at org.bukkit.craftbukkit.inventory.CraftItemStack.asNMSCopy(CraftItemStack.java:97) ~[sangsang-1.21.1.jar:1.21.1-DEV-7120601]
at org.bukkit.craftbukkit.inventory.CraftInventory.setItem(CraftInventory.java:100) ~[sangsang-1.21.1.jar:1.21.1-DEV-7120601]
at Slimefun v4.9-UNOFFICIAL.jar/me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.ChestMenu.setup(ChestMenu.java:228) ~[Slimefun v4.9-UNOFFICIAL.jar:?]
at Slimefun v4.9-UNOFFICIAL.jar/me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.ChestMenu.open(ChestMenu.java:262) ~[Slimefun v4.9-UNOFFICIAL.jar:?]
at Slimefun v4.9-UNOFFICIAL.jar/io.github.thebusybiscuit.slimefun4.implementation.guide.SurvivalSlimefunGuide.openMainMenu(SurvivalSlimefunGuide.java:188) ~[Slimefun v4.9-UNOFFICIAL.jar:?]
at Slimefun v4.9-UNOFFICIAL.jar/io.github.thebusybiscuit.slimefun4.core.guide.SlimefunGuide.openMainMenu(SlimefunGuide.java:81) ~[Slimefun v4.9-UNOFFICIAL.jar:?]
at Slimefun v4.9-UNOFFICIAL.jar/io.github.thebusybiscuit.slimefun4.core.guide.SlimefunGuide.lambda$openMainMenuAsync$0(SlimefunGuide.java:74) ~[Slimefun v4.9-UNOFFICIAL.jar:?]
at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:86) ~[sangsang-1.21.1.jar:1.21.1-DEV-7120601]
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:475) ~[sangsang-1.21.1.jar:1.21.1-DEV-7120601]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1779) ~[sangsang-1.21.1.jar:1.21.1-DEV-7120601]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:517) ~[sangsang-1.21.1.jar:1.21.1-DEV-7120601]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1651) ~[sangsang-1.21.1.jar:1.21.1-DEV-7120601]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1348) ~[sangsang-1.21.1.jar:1.21.1-DEV-7120601]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:338) ~[sangsang-1.21.1.jar:1.21.1-DEV-7120601]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

it may happened at papermc side.

Outfit8TSB avatar Oct 27 '24 07:10 Outfit8TSB

Please stop posting anything here, we already know what we need to fix it just requires time and patience and lots of changes, also you will not recive support for your own fork of the plugin.

Intybyte avatar Oct 27 '24 09:10 Intybyte

Do we ever plan on updating this? Or are we just going to let minecraft continue to update and abandon this project

JustinDevB avatar Nov 04 '24 16:11 JustinDevB

@JustinDevB Please do not add noisy comments to this PR, thank you. Questions go on Discord only.

ybw0014 avatar Nov 04 '24 18:11 ybw0014

@JustinDevB Please do not add noisy comments to this PR, thank you. Questions go on Discord only.

All that happens there is people get warned or muted for asking about the progress. Seems to be a topic nobody is allowed to discuss anywhere.

JustinDevB avatar Nov 04 '24 19:11 JustinDevB

All that happens there is people get warned or muted for asking about the progress. Seems to be a topic nobody is allowed to discuss anywhere.

can confirm, i was banned for no reason (i don't even talk there)

Lamby777 avatar Nov 04 '24 20:11 Lamby777

Please stop posting anything here, we already know what we need to fix it just requires time and patience and lots of changes, also you will not recive support for your own fork of the plugin.

Look, it's not fork(and it's git clone) and it's resolved by #4253. Ok? I marked it as resolved for you.

Outfit8TSB avatar Nov 07 '24 09:11 Outfit8TSB

You're leaving an entire bubble out in the rain, you can keep talking about it, but slimefun will soon die for all the servers that once offered it!

asmolfemboi avatar Nov 21 '24 03:11 asmolfemboi

You're leaving an entire bubble out in the rain, you can keep talking about it, but slimefun will soon die for all the servers that once offered it!

please leave unproductive comments like these out of the PR discussion. since you clearly didn't look at what's going on and seen the progress, you aren't helping anyone.

Boomer-1 avatar Nov 21 '24 04:11 Boomer-1

yay the checklist is shrinking

sruly09 avatar Dec 15 '24 03:12 sruly09

Wondering what still needs to be done, Both this and the itemstack rewrite have been waiting to merge for almost a month now. Is there another issue that is being worked on?

logicaleman314 avatar Jan 03 '25 01:01 logicaleman314

i made a conflict resolution Branch. Check #4292.

Outfit8TSB avatar Feb 09 '25 09:02 Outfit8TSB

Hello Approximately when will it be out? Release date to 1.21.x

DejVIIK-Original avatar Mar 08 '25 06:03 DejVIIK-Original

Hello Approximately when will it be out? Release date to 1.21.x

It will probably take a long time; it seems like they have abandoned the Slimefun project.

Rafasxa avatar Mar 09 '25 00:03 Rafasxa

Thanks for Experimental version for Minecraft 1.21

DejVIIK-Original avatar Mar 09 '25 17:03 DejVIIK-Original

Shame this is abandonware now, used to be a solid plugin All the devs are interested in doing is whining at their fanbase in Discord

LordDarce avatar Mar 22 '25 15:03 LordDarce

Shame this is abandonware now, used to be a solid plugin All the devs are interested in doing is whining at their fanbase in Discord

@LordDarce Please don't spread misinformation. Slimefun is an open-source project maintained by community devs in their free time. Plus, this PR was merged 2 weeks ago, calling it "abandoned" makes no sense at all. For the second point, if you have proof of devs "whining" at the fanbase, share it. Otherwise, your statement is baseless and misleading.

ybw0014 avatar Mar 22 '25 15:03 ybw0014

Shame this is abandonware now, used to be a solid plugin All the devs are interested in doing is whining at their fanbase in Discord

@LordDarce Please don't spread misinformation. Slimefun is an open-source project maintained by community devs in their free time. Plus, this PR was merged 2 weeks ago, calling it "abandoned" makes no sense at all. For the second point, if you have proof of devs "whining" at the fanbase, share it. Otherwise, your statement is baseless and misleading.

I'm not documenting the Devs abysmal behavior for you, chief. You can do your own research if you're so upset

LordDarce avatar Mar 22 '25 18:03 LordDarce