/* This file is part of Project-Zed. Project-Zed is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Project-Zed is
* distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along
* with Project-Zed. If not, see <http://www.gnu.org/licenses/>
*/
package com.projectzed.mod.tileentity;
import com.hockeyhurd.hcorelib.api.util.StringUtils;
import com.projectzed.api.tileentity.AbstractTileEntityGeneric;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.text.ITextComponent;
import net.minecraft.util.text.TextComponentTranslation;
/**
* TileEntity class for wickedClearGlass.
*
* @author hockeyhurd
* @version Mar 26, 2015
*/
public class TileEntityWickedClearGlass extends AbstractTileEntityGeneric {
public TileEntityWickedClearGlass() {
setCustomName("wickedClearGlass");
}
@Override
public int getField(int id) {
return 0;
}
@Override
public void setField(int id, int value) {
}
@Override
public int getFieldCount() {
return 0;
}
@Override
public String getName() {
return customName;
}
@Override
public boolean hasCustomName() {
return StringUtils.nullCheckString(customName);
}
@Override
public ITextComponent getDisplayName() {
return new TextComponentTranslation(customName);
}
@Override
public int getSizeInventory() {
return 0;
}
@Override
public int getInventoryStackLimit() {
return 0;
}
@Override
protected void initContentsArray() {
}
@Override
protected void initSlotsArray() {
}
@Override
public void setCustomName(String name) {
this.customName = name;
}
@Override
public boolean isItemValidForSlot(int slot, ItemStack stack) {
return false;
}
@Override
public int[] getSlotsForFace(EnumFacing side) {
return null;
}
@Override
public boolean canInsertItem(int slot, ItemStack stack, EnumFacing side) {
return false;
}
@Override
public boolean canExtractItem(int slot, ItemStack stack, EnumFacing side) {
return false;
}
@Override
protected boolean canUpdate() {
return false;
}
}