I have done everything you said above but still no luck yet. This is my texture now, as you have sugested:
public static final ResourceLocation TEXTURE = new ResourceLocation(Reference.MOD_ID, "textures/entities/dankjess_explosiveblock.png");
If I change:
@Override
protected ResourceLocation getEntityTexture(EntityExplosive entity) {
//return TEXTURE; <------ THIS
return TextureMap.LOCATION_BLOCKS_TEXTURE; <----- WITH THIS
}
Then when I ignite my custom tnt, it takes the texture of a default tnt (as expected).
I have inspected the declaration behind that, inside TextureMap class, and it is this:
public static final ResourceLocation LOCATION_BLOCKS_TEXTURE = new ResourceLocation("textures/atlas/blocks.png");
But I have not found this location anywhere. I am trying to find "textures/atlas/blocks.png" so I can understand why this texture works and mine doesn't.
My texture is a 64x64 png. Above I will attach a picture of my assets. I don't understand what is wrong with it, maybe blockstates?
This is my blockstates for this block:
But I know the blockstate only affects the block before being ignited and "turned" into an entity.
I also get these errors, but I am not sure if they are related to my issue: