1616
1717@ SuppressWarnings ("UnstableApiUsage" )
1818public class ManaContainerItemStrategy
19- implements ContainerItemStrategy <ManaKey , ManaContainerItemStrategy .ManaItemContext > {
19+ implements ContainerItemStrategy <AEManaKey , ManaContainerItemStrategy .ManaItemContext > {
2020
2121 @ Override
2222 public @ Nullable GenericStack getContainedStack (ItemStack stack ) {
2323 var context = findManaItem (stack );
2424
2525 if (context != null ) {
26- return new GenericStack (ManaKey .KEY , context .getMana ());
26+ return new GenericStack (AEManaKey .KEY , context .getMana ());
2727 } else {
2828 return null ;
2929 }
@@ -40,7 +40,7 @@ public class ManaContainerItemStrategy
4040 }
4141
4242 @ Override
43- public long extract (ManaItemContext item , ManaKey what , long amount , Actionable mode ) {
43+ public long extract (ManaItemContext item , AEManaKey what , long amount , Actionable mode ) {
4444 if (!item .canExport ()) {
4545 return 0 ;
4646 }
@@ -55,7 +55,7 @@ public long extract(ManaItemContext item, ManaKey what, long amount, Actionable
5555 }
5656
5757 @ Override
58- public long insert (ManaItemContext item , ManaKey what , long amount , Actionable mode ) {
58+ public long insert (ManaItemContext item , AEManaKey what , long amount , Actionable mode ) {
5959 if (!item .canReceive ()) {
6060 return 0 ;
6161 }
@@ -70,13 +70,13 @@ public long insert(ManaItemContext item, ManaKey what, long amount, Actionable m
7070 }
7171
7272 @ Override
73- public void playFillSound (EntityPlayer player , ManaKey what ) {
73+ public void playFillSound (EntityPlayer player , AEManaKey what ) {
7474 player .world .playSound (null , player .posX , player .posY , player .posZ , ModSounds .manaPoolCraft ,
7575 SoundCategory .PLAYERS , 0.5F , 1.0F );
7676 }
7777
7878 @ Override
79- public void playEmptySound (EntityPlayer player , ManaKey what ) {
79+ public void playEmptySound (EntityPlayer player , AEManaKey what ) {
8080 player .world .playSound (null , player .posX , player .posY , player .posZ , ModSounds .blackLotus ,
8181 SoundCategory .PLAYERS , 0.5F , 1.0F );
8282 }
@@ -87,7 +87,7 @@ public void playEmptySound(EntityPlayer player, ManaKey what) {
8787 return null ;
8888 }
8989
90- return new GenericStack (ManaKey .KEY , item .getMana ());
90+ return new GenericStack (AEManaKey .KEY , item .getMana ());
9191 }
9292
9393 private static @ Nullable ManaItemContext findManaItem (ItemStack stack ) {
0 commit comments