Revert using internal API
This commit is contained in:
@@ -28,7 +28,7 @@ public class AETrading
|
||||
* @Override
|
||||
* public void manipulateTradesForVillager( EntityVillager villager, MerchantRecipeList recipeList, Random random )
|
||||
* {
|
||||
* final IMaterials materials = Api.INSTANCE.definitions().materials();
|
||||
* final IMaterials materials = AEApi.instance().definitions().materials();
|
||||
* this.addMerchant( recipeList, materials.silicon(), 1, random, 2 );
|
||||
* this.addMerchant( recipeList, materials.certusQuartzCrystal(), 2, random, 4 );
|
||||
* this.addMerchant( recipeList, materials.certusQuartzDust(), 1, random, 3 );
|
||||
|
||||
@@ -44,12 +44,12 @@ import net.minecraftforge.event.TickEvent.WorldTickEvent;
|
||||
import net.minecraftforge.event.world.WorldEvent;
|
||||
import net.minecraftforge.eventbus.api.SubscribeEvent;
|
||||
|
||||
import appeng.api.AEApi;
|
||||
import appeng.api.networking.IGridNode;
|
||||
import appeng.api.parts.CableRenderMode;
|
||||
import appeng.api.util.AEColor;
|
||||
import appeng.core.AEConfig;
|
||||
import appeng.core.AELog;
|
||||
import appeng.core.Api;
|
||||
import appeng.core.AppEng;
|
||||
import appeng.core.sync.packets.PacketPaintedEntity;
|
||||
import appeng.crafting.CraftingJob;
|
||||
@@ -175,7 +175,7 @@ public class TickHandler
|
||||
if( ev.type == Type.CLIENT && ev.phase == Phase.START )
|
||||
{
|
||||
this.tickColors( this.cliPlayerColors );
|
||||
final CableRenderMode currentMode = Api.INSTANCE.partHelper().getCableRenderMode();
|
||||
final CableRenderMode currentMode = AEApi.instance().partHelper().getCableRenderMode();
|
||||
if( currentMode != this.crm )
|
||||
{
|
||||
this.crm = currentMode;
|
||||
|
||||
Reference in New Issue
Block a user