Skip to content

Commit

Permalink
update AE2 to use new API caps
Browse files Browse the repository at this point in the history
  • Loading branch information
rlnt committed Mar 28, 2024
1 parent 64a9b6b commit 98ac86d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ neoVersion = 20.4.196
parchmentVersion = 2024.02.25

# Mod Dependencies
aeVersion = 17.12.0-beta
aeVersion = 17.12.1-beta
jeiVersion = 17.3.0.49
reiVersion = 14.0.688
emiVersion = 1.1.2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.almostreliable.merequester;

import appeng.api.AECapabilities;
import appeng.api.parts.PartModels;
import appeng.block.AEBaseBlockItem;
import appeng.blockentity.AEBaseBlockEntity;
import appeng.capabilities.AppEngCapabilities;
import appeng.core.definitions.BlockDefinition;
import appeng.core.definitions.ItemDefinition;
import appeng.items.parts.PartItem;
Expand Down Expand Up @@ -82,7 +82,7 @@ static void registerContents(RegisterEvent event) {
}

static void registerCapabilities(RegisterCapabilitiesEvent event) {
event.registerBlockEntity(AppEngCapabilities.IN_WORLD_GRID_NODE_HOST, REQUESTER_ENTITY, (requester, ctx) -> requester);
event.registerBlockEntity(AECapabilities.IN_WORLD_GRID_NODE_HOST, REQUESTER_ENTITY, (requester, ctx) -> requester);
}

public static final class Tab {
Expand Down

0 comments on commit 98ac86d

Please sign in to comment.