Не работает текстура преедмета

Сообщения
683
Лучшие ответы
3
Реакции
21
Версия Minecraft
1.12.2
Создал предметы и прицепил текстуры, но текстура не подгружается типа из-за сторон(имеется в виду разности размера сторон)
Размер текстуры: 182x340
 
Краш-лог
[16:45:02] [main/INFO] [GradleStart]: Extra: []
[16:45:02] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Admin/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[16:45:02] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:45:02] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:45:02] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[16:45:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[16:45:02] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2768 for Minecraft 1.12.2 loading
[16:45:02] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_201, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre1.8.0_201
[16:45:02] [main/ERROR] [FML]: Apache Maven library folder was not in the format expected. Using default libraries directory.
[16:45:02] [main/ERROR] [FML]: Full: C:\Users\Admin\.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar
[16:45:02] [main/ERROR] [FML]: Trimmed: c:/users/admin/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/
[16:45:02] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[16:45:02] [main/INFO] [FML]: Detected deobfuscated environment, loading log configs for colored console logs.
2019-05-21 16:45:04,531 main WARN Disabling terminal, you're running in an unsupported environment.
[16:45:04] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin), we are in deobf and it's a forge core plugin
[16:45:04] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin
[16:45:04] [main/INFO] [FML]: Searching C:\Lumber Tycoon\run\.\mods for mods
[16:45:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[16:45:04] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[16:45:04] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[16:45:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:45:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[16:45:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[16:45:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:45:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:45:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[16:45:06] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[16:45:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[16:45:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[16:45:07] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[16:45:07] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[16:45:07] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[16:45:07] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[16:45:08] [main/INFO] [minecraft/Minecraft]: Setting user: Player591
[16:45:14] [main/WARN] [minecraft/GameSettings]: Skipping bad option: lastServer:
[16:45:14] [main/INFO] [minecraft/Minecraft]: LWJGL Version: 2.9.4
[16:45:16] [main/INFO] [FML]: -- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_201, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 877664304 bytes (837 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Loaded coremods (and transformers):
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 391.35' Renderer: 'GeForce GT 610/PCIe/SSE2'
[16:45:16] [main/INFO] [FML]: MinecraftForge v14.23.5.2768 Initialized
[16:45:16] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[16:45:17] [main/INFO] [FML]: Replaced 1036 ore ingredients
[16:45:17] [main/INFO] [FML]: Searching C:\Lumber Tycoon\run\.\mods for mods
[16:45:19] [main/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[16:45:20] [Thread-3/INFO] [FML]: Using alternative sync timing : 200 frames of Display.update took 1289724576 nanos
[16:45:20] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, lt] at CLIENT
[16:45:20] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, lt] at SERVER
[16:45:23] [main/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Lumber Tucoon
[16:45:23] [main/INFO] [FML]: Processing ObjectHolder annotations
[16:45:23] [main/INFO] [FML]: Found 1168 ObjectHolder annotations
[16:45:23] [main/INFO] [FML]: Identifying ItemStackHolder annotations
[16:45:23] [main/INFO] [FML]: Found 0 ItemStackHolder annotations
[16:45:24] [main/INFO] [FML]: Configured a dormant chunk cache size of 0
[16:45:24] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[16:45:24] [main/INFO] [FML]: Applying holder lookups
[16:45:24] [main/INFO] [FML]: Holder lookups applied
[16:45:24] [main/INFO] [FML]: Applying holder lookups
[16:45:24] [main/INFO] [FML]: Holder lookups applied
[16:45:24] [main/INFO] [FML]: Applying holder lookups
[16:45:24] [main/INFO] [FML]: Holder lookups applied
[16:45:24] [main/INFO] [FML]: Applying holder lookups
[16:45:24] [main/INFO] [FML]: Holder lookups applied
[16:45:24] [main/INFO] [FML]: Injecting itemstacks
[16:45:24] [main/INFO] [FML]: Itemstack injection complete
[16:45:24] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: UP_TO_DATE Target: null
[16:45:30] [Sound Library Loader/INFO] [minecraft/SoundManager]: Starting up SoundSystem...
[16:45:30] [Thread-5/INFO] [minecraft/SoundManager]: Initializing LWJGL OpenAL
[16:45:30] [Thread-5/INFO] [minecraft/SoundManager]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
AL lib: (EE) DoReset: Failed to initialize audio client: 0x8889000a
[16:45:33] [Thread-5/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: org.lwjgl.openal.OpenALException: Invalid Device
[16:45:33] [Thread-5/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at org.lwjgl.openal.Util.checkALCError(Util.java:55)
[16:45:33] [Thread-5/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at org.lwjgl.openal.ALC10.alcCreateContext(ALC10.java:251)
[16:45:33] [Thread-5/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at org.lwjgl.openal.AL.init(AL.java:173)
[16:45:33] [Thread-5/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at org.lwjgl.openal.AL.create(AL.java:143)
[16:45:33] [Thread-5/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at org.lwjgl.openal.AL.create(AL.java:102)
[16:45:33] [Thread-5/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at org.lwjgl.openal.AL.create(AL.java:206)
[16:45:33] [Thread-5/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at paulscode.sound.libraries.LibraryLWJGLOpenAL.init(LibraryLWJGLOpenAL.java:164)
[16:45:33] [Thread-5/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576)
[16:45:33] [Thread-5/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572)
[16:45:33] [Thread-5/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at paulscode.sound.CommandThread.run(CommandThread.java:121)
Exception in thread "Thread-5" [16:45:36] [main/INFO] [FML]: Max texture size: 16384
[16:45:37] [main/INFO] [minecraft/TextureMap]: Created: 512x512 textures-atlas
[16:45:40] [main/INFO] [FML]: Applying holder lookups
[16:45:40] [main/INFO] [FML]: Holder lookups applied
[16:45:40] [main/INFO] [FML]: Injecting itemstacks
[16:45:40] [main/INFO] [FML]: Itemstack injection complete
[16:45:41] [main/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods
[16:45:41] [main/WARN] [minecraft/GameSettings]: Skipping bad option: lastServer:
[16:45:42] [main/INFO] [mojang/NarratorWindows]: Narrator library for x64 successfully loaded
[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]: The following texture errors were found.
[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]: ==================================================
[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]: DOMAIN lt
[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]: --------------------------------------------------
[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]: domain lt is missing 1 texture
[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]: domain lt has 1 location:
[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]: mod lt resources at C:\Lumber Tycoon\bin
[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]: -------------------------
[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]: The missing resources for domain lt are:
[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]: textures/items/plain_axe.png
[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]: -------------------------
[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]: The following other errors were reported for domain lt:
[16:45:43] [main/ERROR] [FML.TEXTURE_ERRORS]: -------------------------
[16:45:43] [main/ERROR] [FML.TEXTURE_ERRORS]: Problem: broken aspect ratio and not an animation
[16:45:43] [main/ERROR] [FML.TEXTURE_ERRORS]: textures/items/basic_axe.png
[16:45:43] [main/ERROR] [FML.TEXTURE_ERRORS]: textures/items/hardened_axe.png
[16:45:43] [main/ERROR] [FML.TEXTURE_ERRORS]: textures/items/steel_axe.png
[16:45:43] [main/ERROR] [FML.TEXTURE_ERRORS]: ==================================================
[16:45:43] [main/ERROR] [FML.TEXTURE_ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[16:45:45] [Realms Notification Availability checker #1/INFO] [mojang/RealmsClient]: Could not authorize you against Realms server: Invalid session id
[16:46:13] [Sound Library Loader/WARN] [minecraft/SoundManager]: ERROR MESSAGE:
[16:46:13] [Sound Library Loader/INFO] [minecraft/SoundManager]: SoundSystem did not load after 30 seconds.
[16:46:13] [Sound Library Loader/INFO] [minecraft/SoundManager]: Starting up SoundSystem...
Сообщения
1,030
Лучшие ответы
35
Реакции
400
Ну так сделай текстуру в разрешении 340x340. Или пиши свой ItemRenderer (если он есть на 1.12.2)
 
Сообщения
683
Лучшие ответы
3
Реакции
21
Окей,они теперь с текстурой, но такие маленькие ,как их увеличить?
 
Сообщения
683
Лучшие ответы
3
Реакции
21
Мне так надо,глупый вопрос
 
Сообщения
149
Лучшие ответы
2
Реакции
6
Код:
[CODE="java"][16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]: The following texture errors were found.

[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]: ==================================================

[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]:   DOMAIN lt

[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]: --------------------------------------------------

[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]:   domain lt is missing 1 texture

[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]:     domain lt has 1 location:

[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]:       mod lt resources at C:\Lumber Tycoon\bin

[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]: -------------------------

[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]:     The missing resources for domain lt are:

[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]:       textures/items/plain_axe.png

[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]: -------------------------

[16:45:42] [main/ERROR] [FML.TEXTURE_ERRORS]:     The following other errors were reported for domain lt:

[16:45:43] [main/ERROR] [FML.TEXTURE_ERRORS]: -------------------------

[16:45:43] [main/ERROR] [FML.TEXTURE_ERRORS]:     Problem: broken aspect ratio and not an animation

[16:45:43] [main/ERROR] [FML.TEXTURE_ERRORS]:       textures/items/basic_axe.png

[16:45:43] [main/ERROR] [FML.TEXTURE_ERRORS]:       textures/items/hardened_axe.png

[16:45:43] [main/ERROR] [FML.TEXTURE_ERRORS]:       textures/items/steel_axe.png

[16:45:43] [main/ERROR] [FML.TEXTURE_ERRORS]: ==================================================

[16:45:43] [main/ERROR] [FML.TEXTURE_ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[/CODE]
 
Сообщения
690
Лучшие ответы
29
Реакции
93
1. Проверь путь к текстуре;
2. Размер текстуры должен быть 1:1 и кратного разрешения (256x256, 128x128, 64x64, 2x2 (XD) и т.д.)
 

tox1cozZ

aka Agravaine
Модератор
Сообщения
6,957
Лучшие ответы
426
Реакции
2,036
Текстура должна быть размера степени двойки, как сказали выше.
 
Сообщения
683
Лучшие ответы
3
Реакции
21
Повторюсь, как сделать размер предмета больше,что писать в модель?
 
Сообщения
1,030
Лучшие ответы
35
Реакции
400

tox1cozZ

aka Agravaine
Модератор
Сообщения
6,957
Лучшие ответы
426
Реакции
2,036
Обязательно. Иначе ты просто сломаешь мипмапу.
 
Сообщения
1,030
Лучшие ответы
35
Реакции
400
Обязательно. Иначе ты просто сломаешь мипмапу.
Я спокойно юзаю текстуры разного разрешения с сохранением 1:1 соотношения сторон. И ничего у меня не ломается. Что такое вообще мипмапа?
 
Сообщения
690
Лучшие ответы
29
Реакции
93
Я спокойно юзаю текстуры разного разрешения с сохранением 1:1 соотношения сторон. И ничего у меня не ломается.
Скорее всего у тебя тогда свой рендерер.
Что такое вообще мипмапа?
Этот вопрос не постижим мне.
 
Сообщения
1,030
Лучшие ответы
35
Реакции
400

tox1cozZ

aka Agravaine
Модератор
Сообщения
6,957
Лучшие ответы
426
Реакции
2,036
Почитай про мипмаппинг. Это когда чем дальше блок от игрока, тем меньшего разрешения для него биндится текстура, соответственно вырастает производительность.
И там идут размеры вот как раз по степени двойки: 16х, 8х, 4х, 2х.
Возможно он подхватывает ближайшую степень и дальше идёт спокойно, хз. Но это плохой тон.
Тем более, если ты юзаешь это не для блоков, которые содержатся в атласе, то драйвер все равно выделяет памяти под размер степени двойки. У тебя текстура 200х160, а он все равно выделит места для 256х256.
 
Сверху