Отмена рендера ника игроков

Статус
В этой теме нельзя размещать новые ответы.
Сообщения
637
Лучшие ответы
4
Реакции
13
Версия Minecraft
1.7.10
Снова здарова, залетел на минутку буквально.
В общем в обработчике эвентов есть ну так скажем метод,

ЭвентХандлер:
@SubscribeEvent
public void renderNickEvent(RenderPlayerEvent e){
        if(e.entityPlayer != null){
            e.renderer.NAME_TAG_RANGE = 1F;
            e.renderer.NAME_TAG_RANGE_SNEAK = 0F;

        }
    }
Если что пробовал обьявить игрока в качестве EntityPlayerSP EntityPlayerSP player = Minecraft.getMinecraft().thePlayer; , но это ведь одно и тоже. В чем может быть проблема?
 
Сообщения
637
Лучшие ответы
4
Реакции
13
В том, что он просто не работает.
 
Сообщения
4,880
Лучшие ответы
144
Реакции
798
Подебажь, доходит ли выполнение до 3 и 4 строчки. Если да, то убедись ,что NAME_TAG_RANGE где-то используется. В смысле, присваивание этой переменной на что-то влияет. Если нет, то убедись, что обработчик события правильно зареган
 
Сообщения
637
Лучшие ответы
4
Реакции
13
Нет, дело не в этом, этот эвент находится в стадии Pre.
RenderPlayerEvent.Pre e
Но теперь крашит сервер, фиг знает почему.

крашлог:
[00:58:05] [main/INFO] [GradleStart]: Extra: []
[00:58:05] [main/INFO] [GradleStart]: Running with arguments: [--tweakClass, cpw.mods.fml.common.launcher.FMLServerTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[00:58:05] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
[00:58:05] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
[00:58:05] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[00:58:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker
[00:58:05] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading
[00:58:05] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_202, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_202
[00:58:05] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[00:58:05] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[00:58:05] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
[00:58:05] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[00:58:05] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[00:58:05] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[00:58:05] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[00:58:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[00:58:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[00:58:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[00:58:05] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[00:58:06] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[00:58:06] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[00:58:06] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[00:58:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[00:58:06] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[00:58:06] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[00:58:06] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
[00:58:08] [main/WARN] [FML]: =============================================================
[00:58:09] [main/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!
[00:58:09] [main/WARN] [FML]: Offendor: net/minecraft/server/gui/MinecraftServerGui$1.windowClosing(Ljava/awt/event/WindowEvent;)V
[00:58:09] [main/WARN] [FML]: Use FMLCommonHandler.exitJava instead
[00:58:09] [main/WARN] [FML]: =============================================================
[00:58:09] [Server thread/INFO]: Starting minecraft server version 1.7.10
[00:58:09] [Server thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[00:58:09] [Server thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized
[00:58:09] [Server thread/INFO] [FML]: Replaced 183 ore recipies
[00:58:09] [Server thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[00:58:09] [Server thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[00:58:09] [Server thread/INFO] [FML]: Searching C:\Minecraft\MCPS\forgeStalker\eclipse\mods for mods
[00:58:14] [Server thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[00:58:14] [Server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, lastway] at CLIENT
[00:58:14] [Server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, lastway] at SERVER
[00:58:14] [Server thread/INFO] [FML]: Processing ObjectHolder annotations
[00:58:14] [Server thread/INFO] [FML]: Found 341 ObjectHolder annotations
[00:58:14] [Server thread/INFO] [FML]: Identifying ItemStackHolder annotations
[00:58:14] [Server thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[00:58:15] [Server thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[00:58:15] [Server thread/INFO] [FML]: Applying holder lookups
[00:58:15] [Server thread/INFO] [FML]: Holder lookups applied
[00:58:15] [Server thread/INFO] [FML]: Injecting itemstacks
[00:58:15] [Server thread/INFO] [FML]: Itemstack injection complete
[00:58:15] [Server thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
[00:58:15] [Server thread/ERROR] [FML]:
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCH    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
    UCH    FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar)
    UCH    Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar)
    UCE    lastway{0.1.43.28} [NCG Last Way] (bin)
[00:58:15] [Server thread/ERROR] [FML]: The following problems were captured during this phase
[00:58:15] [Server thread/ERROR] [FML]: Caught exception from lastway
java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source) ~[?:1.8.0_202]
    at java.lang.Runtime.loadLibrary0(Unknown Source) ~[?:1.8.0_202]
    at java.lang.System.loadLibrary(Unknown Source) ~[?:1.8.0_202]
    at org.lwjgl.Sys$1.run(Sys.java:73) ~[lwjgl-2.9.1.jar:?]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_202]
    at org.lwjgl.Sys.doLoadLibrary(Sys.java:66) ~[lwjgl-2.9.1.jar:?]
    at org.lwjgl.Sys.loadLibrary(Sys.java:95) ~[lwjgl-2.9.1.jar:?]
    at org.lwjgl.Sys.<clinit>(Sys.java:112) ~[lwjgl-2.9.1.jar:?]
    at org.lwjgl.opengl.Display.<clinit>(Display.java:135) ~[lwjgl-2.9.1.jar:?]
    at ru.lastway.utils.MainUtils.init(MainUtils.java:24) ~[MainUtils.class:?]
    at ru.lastway.LastWay.preInit(LastWay.java:24) ~[LastWay.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_202]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_202]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_202]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_202]
    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532) ~[FMLModContainer.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_202]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_202]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_202]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_202]
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
    at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:?]
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_202]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_202]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_202]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_202]
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]
    at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556) [Loader.class:?]
    at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:88) [FMLServerHandler.class:?]
    at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:314) [FMLCommonHandler.class:?]
    at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:120) [DedicatedServer.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445) [MinecraftServer.class:?]
    at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]
[00:58:15] [Server thread/ERROR]: Encountered an unexpected exception
cpw.mods.fml.common.LoaderException: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path

    at cpw.mods.fml.common.LoadController.transition(LoadController.java:163) ~[LoadController.class:?]
    at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:559) ~[Loader.class:?]
    at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:88) ~[FMLServerHandler.class:?]
    at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:314) ~[FMLCommonHandler.class:?]
    at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:120) ~[DedicatedServer.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445) [MinecraftServer.class:?]
    at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]
Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source) ~[?:1.8.0_202]
    at java.lang.Runtime.loadLibrary0(Unknown Source) ~[?:1.8.0_202]
    at java.lang.System.loadLibrary(Unknown Source) ~[?:1.8.0_202]
    at org.lwjgl.Sys$1.run(Sys.java:73) ~[lwjgl-2.9.1.jar:?]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_202]
    at org.lwjgl.Sys.doLoadLibrary(Sys.java:66) ~[lwjgl-2.9.1.jar:?]
    at org.lwjgl.Sys.loadLibrary(Sys.java:95) ~[lwjgl-2.9.1.jar:?]
    at org.lwjgl.Sys.<clinit>(Sys.java:112) ~[lwjgl-2.9.1.jar:?]
    at org.lwjgl.opengl.Display.<clinit>(Display.java:135) ~[lwjgl-2.9.1.jar:?]
    at ru.lastway.utils.MainUtils.init(MainUtils.java:24) ~[MainUtils.class:?]
    at ru.lastway.LastWay.preInit(LastWay.java:24) ~[LastWay.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_202]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_202]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_202]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_202]
    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532) ~[FMLModContainer.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_202]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_202]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_202]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_202]
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
    at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:?]
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_202]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_202]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_202]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_202]
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) ~[LoadController.class:?]
    at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556) ~[Loader.class:?]
    ... 5 more
[00:58:15] [Server thread/ERROR]: This crash report has been saved to: C:\Minecraft\MCPS\forgeStalker\eclipse\.\crash-reports\crash-2019-11-25_00.58.15-server.txt
[00:58:15] [Server thread/WARN] [FML]: Can't revert to frozen GameData state without freezing first.
[00:58:15] [Server thread/INFO] [FML]: Applying holder lookups
[00:58:15] [Server thread/INFO] [FML]: Holder lookups applied
[00:58:15] [Server thread/INFO] [FML]: The state engine was in incorrect state ERRORED and forced into state SERVER_STOPPED. Errors may have been discarded.
[00:58:15] [Server thread/INFO] [FML]: The state engine was in incorrect state ERRORED and forced into state AVAILABLE. Errors may have been discarded.
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
 
Сообщения
637
Лучшие ответы
4
Реакции
13
Поставил @SideOnly(Side.Client) , но краш оно тоже не убрало.
 
Сообщения
2,897
Лучшие ответы
186
Реакции
532
Сообщения
4,880
Лучшие ответы
144
Реакции
798

tox1cozZ

aka Agravaine
Модератор
Сообщения
6,430
Лучшие ответы
368
Реакции
1,695
Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
У тебя среда слетела, переустанавливай
 
Статус
В этой теме нельзя размещать новые ответы.
Сверху