Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to 1.20.4 Neoforge #584

Merged
merged 359 commits into from
Dec 27, 2024
Merged

Port to 1.20.4 Neoforge #584

merged 359 commits into from
Dec 27, 2024

Conversation

SirEndii
Copy link
Member

@SirEndii SirEndii commented Apr 15, 2024

The initial port to 1.20.4 neoforge. The pr still needs a lot of work, considering the rewrites of some systems from neoforge.

Things that I need to address:

  • Capability system
  • Registry
  • Networking
  • Peripheral system
  • Configuration
  • Mod Integrations

SirEndii and others added 30 commits December 21, 2023 01:51
… the handling of external fluid and item storage. This includes the capability to get the total, used, and available external storage for both fluid and item elements.
…tion we need out of the item tag. Add a `usedBytes` and `totalBytes` field to the drive's object
… mod. Also add Jade for better testing purposes.
Add Dimensional Storage mod integration
# Conflicts:
#	build.gradle
#	src/generated/resources/.cache/67cce32b1c3cbbcb1f646605f4914e3f196986c2
#	src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e
#	src/generated/resources/.cache/b8526e444ae7356037f3a813274f6835d1f3dd16
#	src/generated/resources/.cache/c622617f6fabf890a00b9275cd5f643584a8a2c8
#	src/generated/resources/.cache/f95c7003282837dabaa33e3ffceec4e6865b5218
#	src/generated/resources/data/advancedperipherals/loot_tables/blocks/gas_detector.json
#	src/generated/resources/data/minecraft/tags/blocks/needs_iron_tool.json
#	src/main/java/de/srendi/advancedperipherals/AdvancedPeripherals.java
#	src/main/java/de/srendi/advancedperipherals/common/data/BlockStatesAndModelsProvider.java
#	src/main/java/de/srendi/advancedperipherals/common/data/EnUsLanguageProvider.java
#	src/main/java/de/srendi/advancedperipherals/common/data/RecipesProvider.java
#	src/main/java/de/srendi/advancedperipherals/common/setup/BlockEntityTypes.java
#	src/main/java/de/srendi/advancedperipherals/common/setup/Blocks.java
#	src/main/java/de/srendi/advancedperipherals/common/setup/Items.java
#	src/main/java/de/srendi/advancedperipherals/network/APNetworking.java
# Conflicts:
#	build.gradle
#	gradle.properties
#	src/main/java/de/srendi/advancedperipherals/common/addons/minecolonies/MineColonies.java
#	src/main/java/de/srendi/advancedperipherals/common/util/LuaConverter.java
#	src/main/java/de/srendi/advancedperipherals/network/APNetworking.java
#	src/main/resources/data/curios/tags/items/glasses.json
This is currently not server side safe and does only work in single player
Add a `onUnequipped` function to the IModule interface
Switch to a slot based module system to better track module changes
# Conflicts:
#	build.gradle
#	src/main/java/de/srendi/advancedperipherals/common/addons/appliedenergistics/AppEngApi.java
#	src/main/java/de/srendi/advancedperipherals/common/addons/computercraft/peripheral/MeBridgePeripheral.java
#	src/main/java/de/srendi/advancedperipherals/common/blocks/blockentities/EnergyDetectorEntity.java
@zyxkad
Copy link
Collaborator

zyxkad commented Dec 23, 2024

wow you did such heavy work 👍
I may complete the review in the week

settings.gradle Show resolved Hide resolved

import java.util.Comparator;
import java.util.Optional;
import java.util.PriorityQueue;
import java.util.function.Function;
import java.util.function.Predicate;

public class IntegrationPeripheralProvider implements IPeripheralProvider {
public class IntegrationPeripheralProvider {

private static final String[] SUPPORTED_MODS = new String[]{"powah", "create", "mekanism", "botania"};
Copy link
Collaborator

Choose a reason for hiding this comment

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

Actually are we able to use explicit class path instead of string concat lazy load here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Propably. But the integrations are still broken, since I am not sure what the new alternative for peripheral providers are in CC. I also didn't try to fix this yet since we don't have any addon mod that supports 1.20.4

Well except for the two mekanism radiation functions

@SirEndii
Copy link
Member Author

So the two things I need to look at are the recipes and maybe the integrations

@SirEndii SirEndii requested a review from zyxkad December 24, 2024 15:58
@SirEndii
Copy link
Member Author

@zyxkad everything works now except for the integration stuff, which I don't really see critical because we don't have any integrations for 1.20.4 anyway.
If you agree and if you can't find anything else for a review, I would merge and publish this build

@SirEndii SirEndii requested a review from zyxkad December 26, 2024 21:17
.gitignore Show resolved Hide resolved
@SirEndii SirEndii merged commit a1dc890 into release/1.20.4 Dec 27, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

8 participants