SpoutDev/Spout — Issue #1060: Item's not rendering
Author: WalkerCrouse
Created: 2011-11-30 02:23:42+00:00
State: open

Spout: 558

As of 558 custom textures for items do not seem to be rendering

Code used:
package net.windwaker.guildcraft.blocks;

import net.windwaker.guildcraft.GuildCraft;

import org.bukkit.World;
import org.bukkit.block.BlockFace;
import org.bukkit.entity.Entity;
import org.bukkit.entity.LivingEntity;
import org.getspout.spoutapi.SpoutManager;
import org.getspout.spoutapi.material.MaterialData;
import org.getspout.spoutapi.material.block.GenericCubeCustomBlock;
import org.getspout.spoutapi.player.SpoutPlayer;
import org.getspout.spoutapi.sound.SoundEffect;

public class EmeraldBlockBlock extends GenericCubeCustomBlock{

public EmeraldBlockBlock(GuildCraft plugin) {
super(plugin, "Emerald Block", "http://dl.dropbox.com/u/27507830/GuildCraft/Images/Custom%20Blocks/emeraldblock.png", 16);

this.setStepSound(SoundEffect.STONE);
this.setHardness(SpoutManager.getMaterialManager().getHardness(MaterialData.diamondBlock));
}

public boolean canPlaceBlockAt(World arg0, int arg1, int arg2, int arg3) {
// TODO Auto-generated method stub
return false;
}

public boolean canPlaceBlockAt(World arg0, int arg1, int arg2, int arg3,
BlockFace arg4) {
// TODO Auto-generated method stub
return false;
}

public boolean isIndirectlyProdivingPowerTo(World arg0, int arg1, int arg2,
int arg3, BlockFace arg4) {
// TODO Auto-generated method stub
return false;
}

@Override
public boolean isProvidingPowerTo(World arg0, int arg1, int arg2, int arg3,
BlockFace arg4) {
// TODO Auto-generated method stub
return false;
}

@Override
public void onBlockClicked(World arg0, int arg1, int arg2, int arg3,
SpoutPlayer arg4) {
// TODO Auto-generated method stub

}

@Override
public void onBlockDestroyed(World arg0, int arg1, int arg2, int arg3) {
// TODO Auto-generated method stub

}

@Override
public boolean onBlockInteract(World arg0, int arg1, int arg2, int arg3,
SpoutPlayer arg4) {
// TODO Auto-generated method stub
return false;
}

@Override
public void onBlockPlace(World arg0, int arg1, int arg2, int arg3) {
// TODO Auto-generated method stub

}

@Override
public void onBlockPlace(World arg0, int arg1, int arg2, int arg3,
LivingEntity arg4) {
// TODO Auto-generated method stub

}

@Override
public void onEntityMoveAt(World arg0, int arg1, int arg2, int arg3,
Entity arg4) {
// TODO Auto-generated method stub

}

@Override
public void onNeighborBlockChange(World arg0, int arg1, int arg2, int arg3,
int arg4) {
// TODO Auto-generated method stub

}

@Override
public boolean isIndirectlyProvidingPowerTo(World arg0, int arg1, int arg2,
int arg3, BlockFace arg4) {
// TODO Auto-generated method stub
return false;
}

@Override
public void onBlockDestroyed(World arg0, int arg1, int arg2, int arg3,
LivingEntity arg4) {
// TODO Auto-generated method stub

}
}