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

Draft
wants to merge 313 commits into
base: release/1.20.4
Choose a base branch
from
Draft

Port to 1.20.4 Neoforge #584

wants to merge 313 commits into from

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 July 8, 2023 03:11
Fixed that the entity of the SmartGlassesAccess is always null due to ignoring armor items when checking if the glasses are in the player's inventory

Fixed that modules don't get loaded properly

Fixed wrong slot texture if the peripherals tab is active

Implement IPeripheralPlugin to the IModuleFunctions so we can easily add them to the glasses later
# Conflicts:
#	.github/ISSUE_TEMPLATE/bug_report.yml
#	build.gradle
#	gradle.properties
#	src/main/java/de/srendi/advancedperipherals/APCreativeTab.java
#	src/main/java/de/srendi/advancedperipherals/AdvancedPeripherals.java
#	src/main/java/de/srendi/advancedperipherals/common/addons/APAddons.java
#	src/main/java/de/srendi/advancedperipherals/common/addons/computercraft/owner/TurtlePeripheralOwner.java
#	src/main/java/de/srendi/advancedperipherals/common/addons/computercraft/peripheral/MeBridgePeripheral.java
#	src/main/java/de/srendi/advancedperipherals/common/addons/computercraft/turtles/TurtleChatBoxUpgrade.java
#	src/main/java/de/srendi/advancedperipherals/common/addons/create/FluidTankIntegration.java
#	src/main/java/de/srendi/advancedperipherals/common/addons/create/Integration.java
#	src/main/java/de/srendi/advancedperipherals/common/data/BlockLootTables.java
#	src/main/java/de/srendi/advancedperipherals/common/data/DataGenerators.java
#	src/main/java/de/srendi/advancedperipherals/common/data/EnUsLanguageProvider.java
#	src/main/java/de/srendi/advancedperipherals/common/data/PocketUpgradesProvider.java
#	src/main/java/de/srendi/advancedperipherals/common/data/PoiTypeProvider.java
#	src/main/java/de/srendi/advancedperipherals/common/data/RecipesProvider.java
#	src/main/java/de/srendi/advancedperipherals/common/data/TurtleUpgradesProvider.java
#	src/main/java/de/srendi/advancedperipherals/common/items/APBlockItem.java
#	src/main/java/de/srendi/advancedperipherals/common/items/APItem.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/CCRegistration.java
#	src/main/java/de/srendi/advancedperipherals/common/setup/Villagers.java
#	src/main/java/de/srendi/advancedperipherals/common/util/fakeplayer/FakePlayerProviderTurtle.java
#	src/main/java/de/srendi/advancedperipherals/common/util/inventory/ItemUtil.java
#	src/main/java/de/srendi/advancedperipherals/common/village/VillageStructures.java
# Conflicts:
#	src/main/java/de/srendi/advancedperipherals/AdvancedPeripherals.java
# Conflicts:
#	src/generated/resources/.cache/2db41954e490230d51b10affff25ee2ee27b8d5b
#	src/generated/resources/.cache/59eb3dbb5f86130e09b3c62d89b9525ee01cf52d
#	src/generated/resources/.cache/5a761efb7472ef97566e41e81451930a004134bf
#	src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e
#	src/generated/resources/.cache/ae219fa7c7d3297c14e454863eac3998a4eab78c
#	src/generated/resources/.cache/b8526e444ae7356037f3a813274f6835d1f3dd16
#	src/generated/resources/.cache/c622617f6fabf890a00b9275cd5f643584a8a2c8
#	src/generated/resources/.cache/f95c7003282837dabaa33e3ffceec4e6865b5218
#	src/generated/resources/assets/advancedperipherals/lang/en_us.json
#	src/main/java/de/srendi/advancedperipherals/common/blocks/blockentities/MeBridgeEntity.java
#	src/main/java/de/srendi/advancedperipherals/common/data/EnUsLanguageProvider.java
# Conflicts:
#	gradle.properties
…older variation was called too late which led to not functioning features
# Conflicts:
#	src/main/java/de/srendi/advancedperipherals/common/addons/computercraft/peripheral/MeBridgePeripheral.java
# Conflicts:
#	gradle.properties
# Conflicts:
#	build.gradle
#	gradle.properties
#	src/main/java/de/srendi/advancedperipherals/client/HudOverlayHandler.java
#	src/main/java/de/srendi/advancedperipherals/common/addons/APAddons.java
#	src/main/java/de/srendi/advancedperipherals/common/addons/computercraft/peripheral/PlayerDetectorPeripheral.java
#	src/main/java/de/srendi/advancedperipherals/common/addons/computercraft/peripheral/RsBridgePeripheral.java
#	src/main/java/de/srendi/advancedperipherals/common/addons/refinedstorage/RefinedStorage.java
#	src/main/java/de/srendi/advancedperipherals/common/argoggles/ARRenderAction.java
#	src/main/java/de/srendi/advancedperipherals/common/blocks/blockentities/ARControllerEntity.java
#	src/main/java/de/srendi/advancedperipherals/common/configuration/PeripheralsConfig.java
#	src/main/java/de/srendi/advancedperipherals/common/events/Events.java
#	src/main/java/de/srendi/advancedperipherals/common/items/ARGogglesItem.java
#	src/main/java/de/srendi/advancedperipherals/common/util/CoordUtil.java
#	src/main/java/de/srendi/advancedperipherals/network/messages/RequestHudCanvasMessage.java
# Conflicts:
#	build.gradle
# Conflicts:
#	src/main/java/de/srendi/advancedperipherals/common/addons/computercraft/peripheral/MeBridgePeripheral.java
#	src/main/java/de/srendi/advancedperipherals/network/MNetwork.java
We don't want to create a hell of arguments for functions but instead use a table with properties like our filters.

But note that this is not final, I am aware of the security risks with this system
…s is currently not a clean way, but I need to sync the project to another device...
…int to the fields of our class. We're now using an annotation based system to further improve security and implement optional range limits needed for some values.
SirEndii and others added 30 commits July 13, 2024 21:55
fix useOnBlock will returns PASS on some specific case
rename getEnergy -> getStoredEnergy
Signed-off-by: Srendi <info@denizdemiroglu.de>
Fix entity operation does not have enough reach range than expected
# Conflicts:
#	CHANGELOG.md
#	gradle.properties
#	src/main/java/de/srendi/advancedperipherals/common/addons/appliedenergistics/AppEngApi.java
#	src/main/java/de/srendi/advancedperipherals/common/addons/powah/FurnatorIntegration.java
#	src/main/java/de/srendi/advancedperipherals/common/addons/powah/ReactorIntegration.java
#	src/main/java/de/srendi/advancedperipherals/common/addons/refinedstorage/RefinedStorage.java
#	src/main/java/de/srendi/advancedperipherals/common/util/fakeplayer/APFakePlayer.java
#	src/main/java/de/srendi/advancedperipherals/common/village/VillagerTrades.java
use tick rather than epoch time
only clear owner when new empty card is swapped but not after load
# Conflicts:
#	build.gradle
#	gradle.properties
#	src/main/java/de/srendi/advancedperipherals/common/addons/computercraft/peripheral/plugins/AutomataChargingPlugin.java
#	src/main/java/de/srendi/advancedperipherals/common/addons/computercraft/peripheral/plugins/AutomataItemSuckPlugin.java
#	src/main/java/de/srendi/advancedperipherals/common/blocks/blockentities/InventoryManagerEntity.java
#	src/main/java/de/srendi/advancedperipherals/common/util/ChunkManager.java
…tand every change yet

This commit mainly exists because I need to switch machines and for a 1.20.1 merge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants