use of net.minecraft.client.renderer.model.ModelResourceLocation in project Overloaded by CJ-MC-Mods.
the class BlockItemManipulator method registerModel.
@Override
@OnlyIn(Dist.CLIENT)
public void registerModel() {
ModelResourceLocation location = new ModelResourceLocation(getRegistryName(), null);
// ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(this), 0, location);
ImageUtil.registerDynamicTexture(new ResourceLocation(MODID, "textures/block/item_manipulator.png"), OverloadedConfig.INSTANCE.textureResolutions.blockResolution);
}
use of net.minecraft.client.renderer.model.ModelResourceLocation in project Overloaded by CJ-MC-Mods.
the class BlockAlmostInfiniteBarrel method registerModel.
@OnlyIn(Dist.CLIENT)
@Override
public void registerModel() {
ModelResourceLocation location = new ModelResourceLocation(new ResourceLocation(MODID, "almost_infinite_barrel"), null);
// ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(this), 0,
// location);
ResizeableTextureGenerator.addToTextureQueue(new ResizeableTextureGenerator.ResizableTexture(new ResourceLocation(MODID, "textures/block/almost_infinite_barrel.png"), new ResourceLocation(MODID, "textures/dynamic/blocks/almost_infinite_barrel.png"), OverloadedConfig.INSTANCE.textureResolutions.blockResolution));
}
use of net.minecraft.client.renderer.model.ModelResourceLocation in project Overloaded by CJ-MC-Mods.
the class BlockAlmostInfiniteTank method registerModel.
@OnlyIn(Dist.CLIENT)
@Override
public void registerModel() {
ModelResourceLocation location = new ModelResourceLocation(new ResourceLocation(MODID, "almost_infinite_tank"), null);
// ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(this), 0, location);
ResizeableTextureGenerator.addToTextureQueue(new ResizeableTextureGenerator.ResizableTexture(new ResourceLocation(MODID, "textures/block/almost_infinite_tank.png"), new ResourceLocation(MODID, "textures/dynamic/blocks/almost_infinite_tank.png"), OverloadedConfig.INSTANCE.textureResolutions.blockResolution));
}
use of net.minecraft.client.renderer.model.ModelResourceLocation in project Overloaded by CJ-MC-Mods.
the class ItemMultiBoots method registerModel.
@OnlyIn(Dist.CLIENT)
@Override
public void registerModel() {
ModelResourceLocation location = new ModelResourceLocation(getRegistryName(), null);
// ModelLoader.setCustomModelResourceLocation(this, 0, location);
ImageUtil.registerDynamicTexture(new ResourceLocation(MODID, "textures/item/multi_boot.png"), OverloadedConfig.INSTANCE.textureResolutions.multiArmorResolution);
}
use of net.minecraft.client.renderer.model.ModelResourceLocation in project Overloaded by CJ-MC-Mods.
the class ItemMultiLeggings method registerModel.
@OnlyIn(Dist.CLIENT)
@Override
public void registerModel() {
ModelResourceLocation location = new ModelResourceLocation(getRegistryName(), null);
// ModelLoader.setCustomModelResourceLocation(this, 0, location);
ImageUtil.registerDynamicTexture(new ResourceLocation(MODID, "textures/item/multi_leg.png"), OverloadedConfig.INSTANCE.textureResolutions.multiArmorResolution);
ImageUtil.registerDynamicTexture(new ResourceLocation(MODID, "textures/item/multi_belt.png"), OverloadedConfig.INSTANCE.textureResolutions.multiArmorResolution);
}
Aggregations