public boolean handleRenderType(ItemStack stack, ItemRenderType type) {
switch (type) {
case INVENTORY:
String rendererTag = ItemLocomotive.getModel(stack);
LocomotiveModelRenderer renderer = renderType.getRenderer(rendererTag);
if (renderer == null || !renderer.renderItemIn3D())
return false;
case ENTITY:
case EQUIPPED:
case EQUIPPED_FIRST_PERSON:
return true;