Skip to content

Conversation

WalshyDev
Copy link
Member

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 WalshyDev requested review from a team as code owners October 1, 2024 00:23
Copy link
Contributor

github-actions bot commented Oct 1, 2024

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! 👀

Copy link
Contributor

github-actions bot commented Oct 1, 2024

Slimefun preview build

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

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!

@WalshyDev
Copy link
Member Author

This still needs major testing

@WalshyDev WalshyDev added 🎯 Needs testing This Issue needs to be tested by our team to see if it can be reproduced. 🤝 Compatibility This Pull Request introduces a compatibility feature. 🎮 Game Update This pull request adds compatibility with a new version of Minecraft. labels Oct 1, 2024
@WalshyDev WalshyDev force-pushed the walshy/mc-1.21 branch 4 times, most recently from 41f9139 to afaf3aa Compare October 1, 2024 01:03
Comment on lines 109 to 111
ItemStack item = new CustomItemStack(Material.BEACON, "&cItem Test");
String id = "IS_ITEM_TEST";
SlimefunItem sfItem = TestUtilities.mockSlimefunItem(plugin, id, item);
SlimefunItem sfItem = TestUtilities.mockSlimefunItem(plugin, id, new CustomItemStack(Material.BEACON, "&cItem Test"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the point of this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think its testing that SlimefunItem#register should change the underlying ItemStack in some way, thus sfItem#isItem should return false even if the twoItemStacks were the same when we started.

@Boomer-1
Copy link

Boomer-1 commented Oct 1, 2024

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

Copy link

sonarqubecloud bot commented Oct 1, 2024

@LauncherMeta
Copy link

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

@Outfit8TSB Outfit8TSB mentioned this pull request Nov 9, 2024
5 tasks
Copy link

sonarqubecloud bot commented Nov 9, 2024

@asmolfemboi

This comment was marked as off-topic.

@Boomer-1
Copy link

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.

@sruly09
Copy link

sruly09 commented Dec 15, 2024

yay the checklist is shrinking

@logicaleman314
Copy link

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?

@TheBusyBot TheBusyBot added the ⚡ Merge Conflicts This Pull Request has merged conflicts which need to be resolved! label Jan 11, 2025
Tiakin added a commit to Tiakin/DyedBackpacks that referenced this pull request Feb 4, 2025
Update Addon to Support this pull request : Slimefun/Slimefun4#4248

We will need to change the pom.xml at the end, when there will be an update for 1.21
Tiakin added a commit to Tiakin/MobCapturer that referenced this pull request Feb 4, 2025
Update Addon to Support this pull request : Slimefun/Slimefun4#4248

We will need to change the build.gradle.kts at the end, when there will be an update for 1.21
@Outfit8TSB
Copy link

i made a conflict resolution Branch.
Check #4292.

@DejVIIKBob
Copy link

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

@Rafasxa
Copy link

Rafasxa commented Mar 9, 2025

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.

@WalshyDev WalshyDev changed the base branch from master to experimental March 9, 2025 12:29
Copy link

sonarqubecloud bot commented Mar 9, 2025

@WalshyDev WalshyDev merged commit 3544459 into experimental Mar 9, 2025
15 checks passed
@WalshyDev WalshyDev deleted the walshy/mc-1.21 branch March 9, 2025 12:46
@DejVIIKBob
Copy link

Thanks for Experimental version for Minecraft 1.21

@LordDarce
Copy link

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

@ybw0014
Copy link
Contributor

ybw0014 commented Mar 22, 2025

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.

@LordDarce
Copy link

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

@Boomer-1
Copy link

stop wasting everyone's time with spreading lies. and stop commenting on here.

@Slimefun Slimefun locked as too heated and limited conversation to collaborators Mar 22, 2025
@TheBusyBiscuit
Copy link
Member

I've locked conversation on this pull requests as I have received a complaint report about the conversation here.
We appreciate comments on pull requests but they should be related to the proposed changes, not to just rant about things on here ( We have discord for that ;D ).

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 I understand the concern, feel free to voice it on discord but please don't post spam on our pull requests.
These threads are intended for technical discussions and code reviews. I have no idea what you are talking about in regards to whining devs but also note that this pull request was already merged two weeks ago... into an experimental branch which is available through our builds site.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🤝 Compatibility This Pull Request introduces a compatibility feature. 🎮 Game Update This pull request adds compatibility with a new version of Minecraft. ⚡ Merge Conflicts This Pull Request has merged conflicts which need to be resolved! 🎯 Needs testing This Issue needs to be tested by our team to see if it can be reproduced.
Projects
None yet
Development

Successfully merging this pull request may close these issues.