will0376
Токсичная личность
- 2,076
- 55
- 585
Добра. Пытаюсь добавить свою модель блоку и получаю
А где этот домен менять то??
Java:
[19:09:47] [Client thread/ERROR] [FML.TEXTURE_ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[19:09:47] [Client thread/ERROR] [FML.TEXTURE_ERRORS]: The following texture errors were found.
[19:09:47] [Client thread/ERROR] [FML.TEXTURE_ERRORS]: ==================================================
[19:09:47] [Client thread/ERROR] [FML.TEXTURE_ERRORS]: DOMAIN minecraft
[19:09:47] [Client thread/ERROR] [FML.TEXTURE_ERRORS]: --------------------------------------------------
[19:09:47] [Client thread/ERROR] [FML.TEXTURE_ERRORS]: domain minecraft is missing 2 textures
[19:09:47] [Client thread/ERROR] [FML.TEXTURE_ERRORS]: domain minecraft has 3 locations:
[19:09:47] [Client thread/ERROR] [FML.TEXTURE_ERRORS]: unknown resourcepack type net.minecraft.client.resources.DefaultResourcePack : Default
[19:09:47] [Client thread/ERROR] [FML.TEXTURE_ERRORS]: unknown resourcepack type net.minecraft.client.resources.LegacyV2Adapter : FMLFileResourcePack:Forge Mod Loader
[19:09:47] [Client thread/ERROR] [FML.TEXTURE_ERRORS]: unknown resourcepack type net.minecraft.client.resources.LegacyV2Adapter : FMLFileResourcePack:Minecraft Forge
[19:09:47] [Client thread/ERROR] [FML.TEXTURE_ERRORS]: -------------------------
[19:09:47] [Client thread/ERROR] [FML.TEXTURE_ERRORS]: The missing resources for domain minecraft are:
[19:09:47] [Client thread/ERROR] [FML.TEXTURE_ERRORS]: textures/wool.png
[19:09:47] [Client thread/ERROR] [FML.TEXTURE_ERRORS]: textures/glass.png
[19:09:47] [Client thread/ERROR] [FML.TEXTURE_ERRORS]: -------------------------
[19:09:47] [Client thread/ERROR] [FML.TEXTURE_ERRORS]: No other errors exist for domain minecraft
[19:09:47] [Client thread/ERROR] [FML.TEXTURE_ERRORS]: ==================================================
[19:09:47] [Client thread/ERROR] [FML.TEXTURE_ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Java:
public ExchangerBlock() {
super(Material.IRON);
this.setTranslationKey(Money.MOD_ID+":exchangerblock");
this.setRegistryName(Money.MOD_ID+":exchangerblock");// <- тест
this.setCreativeTab(CreativeTabs.MISC);
}
@SideOnly(Side.CLIENT)
public void initModel() {
ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(this), 0, new ModelResourceLocation(Money.MOD_ID+":exchangerblock", "inventory"));
System.out.println(getRegistryName());
// Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(this), 0, new ModelResourceLocation(Money.MOD_ID+":exchangerblock", "inventory"));
}