-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
Conversation
… 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
… Fixed hotkey module not working on servers
…ed `glassesKeyPressed` event
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
wow you did such heavy work 👍 |
src/generated/resources/data/advancedperipherals/recipes/weak_automata_core.json
Outdated
Show resolved
Hide resolved
src/main/java/de/srendi/advancedperipherals/client/ClientUUIDCache.java
Outdated
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"}; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
...va/de/srendi/advancedperipherals/common/addons/computercraft/operations/SingleOperation.java
Outdated
Show resolved
Hide resolved
...a/de/srendi/advancedperipherals/common/addons/computercraft/owner/TileEntityFuelAbility.java
Outdated
Show resolved
Hide resolved
...vancedperipherals/common/addons/computercraft/peripheral/plugins/AutomataChargingPlugin.java
Outdated
Show resolved
Hide resolved
src/main/java/de/srendi/advancedperipherals/common/blocks/base/PeripheralBlockEntity.java
Outdated
Show resolved
Hide resolved
src/main/java/de/srendi/advancedperipherals/common/blocks/base/PeripheralBlockEntity.java
Outdated
Show resolved
Hide resolved
...n/java/de/srendi/advancedperipherals/common/blocks/blockentities/InventoryManagerEntity.java
Outdated
Show resolved
Hide resolved
Use null for the SidedInvWrapper's side
So the two things I need to look at are the recipes and maybe the integrations |
src/main/java/de/srendi/advancedperipherals/common/items/MemoryCardItem.java
Outdated
Show resolved
Hide resolved
src/main/java/de/srendi/advancedperipherals/common/items/MemoryCardItem.java
Outdated
Show resolved
Hide resolved
src/main/java/de/srendi/advancedperipherals/common/setup/BlockEntityTypes.java
Outdated
Show resolved
Hide resolved
src/main/java/de/srendi/advancedperipherals/common/util/fakeplayer/APFakePlayer.java
Outdated
Show resolved
Hide resolved
src/main/java/de/srendi/advancedperipherals/common/util/fakeplayer/APFakePlayer.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Kevin Z <[email protected]> Signed-off-by: Srendi <[email protected]>
…nce and remove deprecated function
@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. |
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: