mirror of
https://github.com/GTNewHorizons/Advanced-Botany.git
synced 2026-11-21 04:22:38 +00:00
no message
This commit is contained in:
1 parent
93f114dceb
commit
f435e13882
645 files changed
-59797
No files matched your search
@@ -1,41 +0,0 @@
|
||||
package ab.common.block.subtile;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.IIcon;
|
||||
import vazkii.botania.api.subtile.signature.SubTileSignature;
|
||||
import vazkii.botania.common.block.BlockSpecialFlower;
|
||||
|
||||
public class ABSubTileSignature extends SubTileSignature {
|
||||
|
||||
String name;
|
||||
IIcon icon;
|
||||
|
||||
public ABSubTileSignature(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void registerIcons(IIconRegister reg) {
|
||||
this.icon = reg.registerIcon("ab:flower_" + this.name);
|
||||
BlockSpecialFlower.icons.put(name, icon);
|
||||
}
|
||||
|
||||
public IIcon getIconForStack(ItemStack item) {
|
||||
return this.icon;
|
||||
}
|
||||
|
||||
public String getUnlocalizedNameForStack(ItemStack item) {
|
||||
return "ab.flower." + this.name;
|
||||
}
|
||||
|
||||
public String getUnlocalizedLoreTextForStack(ItemStack item) {
|
||||
return "tile.ab.flower." + this.name + ".lore";
|
||||
}
|
||||
|
||||
public void addTooltip(ItemStack stack, EntityPlayer player, List<String> tooltip) {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user