So I'm trying to make a custom torch block which extends TorchBlock, and used similar json as to how mojang normally implemented torches and redstone torches.
However, while the model and texture work fine, Im stuck with these black squares in the model, leaving me clueless as to what I missed.
Any help would be appreciated.
public class ArcaneTorch extends TorchBlock {
public ArcaneTorch() {
super(TorchBlock.Properties.from(Blocks.TORCH));
}
@OnlyIn(Dist.CLIENT)
@Override
public void animateTick(BlockState stateIn, World worldIn, BlockPos pos, Random rand) {
double d0 = (double)pos.getX() + 0.5D;
double d1 = (double)pos.getY() + 0.7D;
double d2 = (double)pos.getZ() + 0.5D;
worldIn.addParticle(ParticleTypes.END_ROD, d0, d1, d2, 0.0D, 0.0D, 0.0D);
}
}
This is the Torch class in question.