Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getIcon code here:
- @SideOnly(Side.CLIENT)
- public Icon getIcon(int side, int metadata){
- if(side == 0){
- return iconBottom;
- }else if(side == 1){
- return blockIcon;
- }else{
- return blockIcon;
- }
- }
- texture "declaration" here:
- @SideOnly(Side.CLIENT)
- public void registerIcons(IconRegister iconRegister){
- this.blockIcon = iconRegister.registerIcon(morefoodmod.modid + ":" + "blender_side");
- this.iconFront = iconRegister.registerIcon(morefoodmod.modid + ":" + (this.isActive ? "blender_front_active" : "blender_front_inactive"));
- this.iconBottom = iconRegister.registerIcon(morefoodmod.modid + ":" + "blender_bottom");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement