Fixed Facades Creative Tab.
Moved Facades Whitelist to Tag. Moved Facades TileEntity config over to an AE feature.
This commit is contained in:
@@ -18,6 +18,10 @@
|
||||
|
||||
package appeng.facade;
|
||||
|
||||
import appeng.api.parts.IBoxProvider;
|
||||
import appeng.api.parts.IFacadePart;
|
||||
import appeng.api.parts.IPartCollisionHelper;
|
||||
import appeng.api.util.AEPartLocation;
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.block.Blocks;
|
||||
import net.minecraft.entity.Entity;
|
||||
@@ -26,12 +30,6 @@ import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.Items;
|
||||
|
||||
import appeng.api.AEApi;
|
||||
import appeng.api.parts.IBoxProvider;
|
||||
import appeng.api.parts.IFacadePart;
|
||||
import appeng.api.parts.IPartCollisionHelper;
|
||||
import appeng.api.util.AEPartLocation;
|
||||
|
||||
public class FacadePart implements IFacadePart, IBoxProvider {
|
||||
|
||||
private final ItemStack facade;
|
||||
@@ -46,10 +44,6 @@ public class FacadePart implements IFacadePart, IBoxProvider {
|
||||
this.side = side;
|
||||
}
|
||||
|
||||
public static boolean isFacade(final ItemStack is) {
|
||||
return is.getItem() instanceof IFacadeItem;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack getItemStack() {
|
||||
return this.facade;
|
||||
@@ -85,15 +79,6 @@ public class FacadePart implements IFacadePart, IBoxProvider {
|
||||
return !(this.facade.getItem() instanceof IFacadeItem);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isTransparent() {
|
||||
if (AEApi.instance().partHelper().getCableRenderMode().transparentFacades) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false; // FIXME this.getBlockState().isOpaqueCube();
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack getTextureItem() {
|
||||
final Item maybeFacade = this.facade.getItem();
|
||||
|
||||
Reference in New Issue
Block a user