-
Posts
878 -
Joined
-
Last visited
Everything posted by Elix_x
-
[1.7.10] Own class can't be transformed with ASM?
Elix_x replied to Elix_x's topic in Modder Support
The problem with interfaces is obfuscation. And with MethodHandles API: method not found. But it think i figured out why i can't transform my class: it's loaded before transformers are initialized. Now that i managed to fix load order, i can transform my class. -
[1.7.10] Own class can't be transformed with ASM?
Elix_x replied to Elix_x's topic in Modder Support
Because i can't apply coremod to my workspace to see applied changes. Seriously, though. I apply changes to some vanilla fields' methods' descriptions (and handling all mod compatibility, hence why 1500 lines, although not all of them for it), and i have to access those fields and methods in alternat way. So i created a class that wraps all important changes to methods, providing all possible usage scenarios (so my head does not overheat trying to support every single possible usage scenario with ASM). But in order to invoke those changed methods without compiler errors, i have to add them in with ASM. Why not reflection? Well, i already tried relfection. But because method is called over 9000 times a tick, it was too slow. So i need direct invocation without compiler errors. -
Good day everybody. So i have my class AICChangesWrapper, that i have to patch at runtime, so it can access methods with modified descriptions. But, it does not get patched. It does not even show up in logs, if i log all classes that are given to transformer. No, it is not in transformer exclusions. If you want to look at logs and classes, here's gist (Class i want to transform is AICChangesWrapper. From transformer all other transformation methods for other classes were removed, as they take 1500 lines): https://gist.github.com/elix-x/891ddb6528dc87ba479b0a56a7473797 What should i do to be able to transform my class? Thanks for help! If you have any questions - just ask!
-
[SOLVED] Cannot install forge workspace after windows restore.
Elix_x replied to Elix_x's topic in Modder Support
Ok, that worked. But on top of deleting main gradle cache folder, i had to delete .gradle and replace gradle with one from downloaded mdk in each workspace. At least now forge is up to date everywhere. Thanks! -
[SOLVED] Cannot install forge workspace after windows restore.
Elix_x replied to Elix_x's topic in Modder Support
That's what i tought of at first (and i knew that would with high chance fix everything), but kept for use in worst case (because i have waay too many workspaces). Apearently i'll have to do this. Also, this is not first time i'm restoring windows. Before it didn't corrupt forge. Maybe it's because this time i restored it to point 2 months back. Anyways, i'll try. Thanks! -
[SOLVED] Cannot install forge workspace after windows restore.
Elix_x replied to Elix_x's topic in Modder Support
I didn't restore from point far in the past, so java didn't get uninstalled. I can still run minecraft from launcher, eclipse and other java programs. All i can't do is install forge mdk and run minecraft in eclipse (in previously installed workspace). -
Today i had to restore my windows (because reasons) and after restoring, i noticed that i cannot launch minecraft in dev environment. I tried reinstalling workspace, but i get this (with stacktrace and debug): 12:18:28.806 [DEBUG] [org.gradle.internal.nativeintegration.services.NativeServices] Native-platform posix files is not available. Continuing with fallback. 12:18:30.050 [iNFO] [org.gradle.BuildLogger] Starting Build 12:18:30.052 [DEBUG] [org.gradle.BuildLogger] Gradle user home: C:\Users\elix_x\.gradle 12:18:30.053 [DEBUG] [org.gradle.BuildLogger] Current dir: C:\my\mcmodding\mods\Creeper-Awareness\1.9 12:18:30.053 [DEBUG] [org.gradle.BuildLogger] Settings file: null 12:18:30.054 [DEBUG] [org.gradle.BuildLogger] Build file: null 12:18:30.078 [DEBUG] [org.gradle.initialization.buildsrc.BuildSourceBuilder] Starting to build the build sources. 12:18:30.079 [DEBUG] [org.gradle.initialization.buildsrc.BuildSourceBuilder] Gradle source dir does not exist. We leave. 12:18:30.084 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found env project properties: [] 12:18:30.084 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found system project properties: [] 12:18:30.188 [DEBUG] [org.gradle.initialization.ScriptEvaluatingSettingsProcessor] Timing: Processing settings took: 0.102 secs 12:18:30.191 [iNFO] [org.gradle.BuildLogger] Settings evaluated using settings file 'C:\master\settings.gradle'. 12:18:30.355 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Transitioning model element 'tasks' from state Known to Created 12:18:30.360 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Running model element 'tasks' creator rule action Project.<init>.tasks() 12:18:30.361 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Creating tasks using Project.<init>.tasks() 12:18:30.374 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Transitioning model element 'tasks' to state Created. 12:18:30.379 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] Looking for project properties from: C:\my\mcmodding\mods\Creeper-Awareness\1.9\gradle.properties 12:18:30.380 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] project property file does not exists. We continue! 12:18:30.381 [iNFO] [org.gradle.BuildLogger] Projects loaded. Root project using build file 'C:\my\mcmodding\mods\Creeper-Awareness\1.9\build.gradle'. 12:18:30.382 [iNFO] [org.gradle.BuildLogger] Included projects: [root project '1.9'] 12:18:30.562 [iNFO] [org.gradle.configuration.project.BuildScriptProcessor] Evaluating root project '1.9' using build file 'C:\my\mcmodding\mods\Creeper-Awareness\1.9\build.gradle'. 12:18:30.668 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Software Loopback Interface 1 12:18:30.670 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? true 12:18:30.672 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.672 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback address /127.0.0.1 12:18:30.673 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback address /0:0:0:0:0:0:0:1 12:18:30.673 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface Software Loopback Interface 1 12:18:30.673 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (SSTP) 12:18:30.676 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.678 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.678 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (SSTP) 12:18:30.679 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (L2TP) 12:18:30.681 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.683 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.684 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (L2TP) 12:18:30.684 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (PPTP) 12:18:30.687 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.688 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.689 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (PPTP) 12:18:30.689 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (PPPOE) 12:18:30.691 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.693 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.693 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (PPPOE) 12:18:30.693 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (IPv6) 12:18:30.695 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.697 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.698 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (IPv6) 12:18:30.698 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (Network Monitor) 12:18:30.700 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.702 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.702 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (Network Monitor) 12:18:30.702 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (IP) 12:18:30.704 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.706 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.706 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (IP) 12:18:30.707 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface RAS Async Adapter 12:18:30.708 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.711 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.712 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface RAS Async Adapter 12:18:30.713 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (IKEv2) 12:18:30.715 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.716 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.717 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (IKEv2) 12:18:30.717 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Realtek PCIe GBE Family Controller 12:18:30.719 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.721 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.721 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /fe80:0:0:0:250c:f609:9e1c:6890%eth3 12:18:30.721 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote multicast interface Realtek PCIe GBE Family Controller 12:18:30.721 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Atheros AR9287 Wireless Network Adapter 12:18:30.723 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.725 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.726 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /192.168.1.11 12:18:30.726 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /2a01:e35:8aed:1a80:5892:85cc:982e:cba1 12:18:30.727 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /2a01:e35:8aed:1a80:e8d7:841b:bd92:1377 12:18:30.727 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /fe80:0:0:0:5892:85cc:982e:cba1%wlan0 12:18:30.727 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote multicast interface Atheros AR9287 Wireless Network Adapter 12:18:30.727 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Teredo Tunneling Pseudo-Interface 12:18:30.730 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.732 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? false 12:18:30.732 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /fe80:0:0:0:0:100:7f:fffe%net4 12:18:30.733 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Microsoft Virtual WiFi Miniport Adapter 12:18:30.736 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.738 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.739 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /fe80:0:0:0:d07e:d5ee:b02b:c9da%wlan1 12:18:30.739 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote multicast interface Microsoft Virtual WiFi Miniport Adapter 12:18:30.739 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Microsoft ISATAP Adapter 12:18:30.741 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.743 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? false 12:18:30.743 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Microsoft ISATAP Adapter #2 12:18:30.746 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.748 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? false 12:18:30.748 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface HTC Remote NDIS based Device 12:18:30.750 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.757 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.757 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface HTC Remote NDIS based Device 12:18:30.757 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface USB Ethernet/RNDIS Gadget 12:18:30.759 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.761 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.761 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface USB Ethernet/RNDIS Gadget 12:18:30.761 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface USB Ethernet/RNDIS Gadget #2 12:18:30.764 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.766 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.766 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface USB Ethernet/RNDIS Gadget #2 12:18:30.767 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Microsoft ISATAP Adapter #3 12:18:30.768 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.770 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? false 12:18:30.770 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /fe80:0:0:0:0:5efe:c0a8:10b%net8 12:18:30.770 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Atheros AR9287 Wireless Network Adapter-Virtual WiFi Filter Driver-0000 12:18:30.772 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.774 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.774 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface Atheros AR9287 Wireless Network Adapter-Virtual WiFi Filter Driver-0000 12:18:30.774 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Atheros AR9287 Wireless Network Adapter-QoS Packet Scheduler-0000 12:18:30.776 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.778 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.778 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface Atheros AR9287 Wireless Network Adapter-QoS Packet Scheduler-0000 12:18:30.778 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Realtek PCIe GBE Family Controller-QoS Packet Scheduler-0000 12:18:30.780 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.781 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.782 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface Realtek PCIe GBE Family Controller-QoS Packet Scheduler-0000 12:18:30.782 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Realtek PCIe GBE Family Controller-WFP LightWeight Filter-0000 12:18:30.783 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.785 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.785 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface Realtek PCIe GBE Family Controller-WFP LightWeight Filter-0000 12:18:30.786 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (Network Monitor)-QoS Packet Scheduler-0000 12:18:30.787 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.792 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.793 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (Network Monitor)-QoS Packet Scheduler-0000 12:18:30.793 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (IP)-QoS Packet Scheduler-0000 12:18:30.795 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.798 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.798 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (IP)-QoS Packet Scheduler-0000 12:18:30.798 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (IPv6)-QoS Packet Scheduler-0000 12:18:30.800 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.801 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.802 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (IPv6)-QoS Packet Scheduler-0000 12:18:30.802 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Atheros AR9287 Wireless Network Adapter-Native WiFi Filter Driver-0000 12:18:30.803 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.805 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.805 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface Atheros AR9287 Wireless Network Adapter-Native WiFi Filter Driver-0000 12:18:30.805 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Atheros AR9287 Wireless Network Adapter-WFP LightWeight Filter-0000 12:18:30.807 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.809 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.809 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface Atheros AR9287 Wireless Network Adapter-WFP LightWeight Filter-0000 12:18:30.809 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Microsoft Virtual WiFi Miniport Adapter-Native WiFi Filter Driver-0000 12:18:30.821 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.823 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.823 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface Microsoft Virtual WiFi Miniport Adapter-Native WiFi Filter Driver-0000 12:18:30.823 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Microsoft Virtual WiFi Miniport Adapter-QoS Packet Scheduler-0000 12:18:30.825 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.827 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.827 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface Microsoft Virtual WiFi Miniport Adapter-QoS Packet Scheduler-0000 12:18:30.827 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Microsoft Virtual WiFi Miniport Adapter-WFP LightWeight Filter-0000 12:18:30.829 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.830 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 12:18:30.830 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface Microsoft Virtual WiFi Miniport Adapter-WFP LightWeight Filter-0000 12:18:30.830 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Microsoft ISATAP Adapter #4 12:18:30.832 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.834 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? false 12:18:30.834 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Microsoft ISATAP Adapter #5 12:18:30.836 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 12:18:30.838 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? false 12:18:30.847 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on cp_proj class cache for build file 'C:\my\mcmodding\mods\Creeper-Awareness\1.9\build.gradle' (C:\Users\elix_x\.gradle\caches\2.7\scripts\build_8r48z4xie69gilgaivm6stj7j\cp_proj). 12:18:30.848 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired. 12:18:30.850 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cp_proj class cache for build file 'C:\my\mcmodding\mods\Creeper-Awareness\1.9\build.gradle' (C:\Users\elix_x\.gradle\caches\2.7\scripts\build_8r48z4xie69gilgaivm6stj7j\cp_proj). 12:18:30.852 [DEBUG] [org.gradle.configuration.project.BuildScriptProcessor] Timing: Running the build script took 0.289 secs 12:18:30.871 [ERROR] [org.gradle.BuildExceptionReporter] 12:18:30.884 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception. 12:18:30.884 [ERROR] [org.gradle.BuildExceptionReporter] 12:18:30.885 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong: 12:18:30.885 [ERROR] [org.gradle.BuildExceptionReporter] A problem occurred configuring root project '1.9'. 12:18:30.885 [ERROR] [org.gradle.BuildExceptionReporter] > Could not open cp_proj class cache for build file 'C:\my\mcmodding\mods\Creeper-Awareness\1.9\build.gradle' (C:\Users\elix_x\.gradle\caches\2.7\scripts\build_8r48z4xie69gilgaivm6stj7j\cp_proj). 12:18:30.885 [ERROR] [org.gradle.BuildExceptionReporter] > java.io.FileNotFoundException: C:\Users\elix_x\.gradle\caches\2.7\scripts\build_8r48z4xie69gilgaivm6stj7j\cp_proj\cache.properties (The system cannot find the file specified) 12:18:30.886 [ERROR] [org.gradle.BuildExceptionReporter] 12:18:30.886 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is: 12:18:30.887 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project '1.9'. 12:18:30.887 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:79) 12:18:30.887 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:57) 12:18:30.888 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:491) 12:18:30.888 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:89) 12:18:30.888 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:42) 12:18:30.888 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35) 12:18:30.888 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:126) 12:18:30.888 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Factories$1.create(Factories.java:22) 12:18:30.889 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90) 12:18:30.889 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52) 12:18:30.889 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:123) 12:18:30.889 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:33) 12:18:30.889 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:100) 12:18:30.889 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:94) 12:18:30.889 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90) 12:18:30.890 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62) 12:18:30.890 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:94) 12:18:30.890 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83) 12:18:30.890 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94) 12:18:30.890 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28) 12:18:30.890 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35) 12:18:30.891 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43) 12:18:30.891 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28) 12:18:30.891 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:77) 12:18:30.891 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:47) 12:18:30.891 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51) 12:18:30.891 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28) 12:18:30.892 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43) 12:18:30.892 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170) 12:18:30.892 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237) 12:18:30.892 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210) 12:18:30.892 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35) 12:18:30.892 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24) 12:18:30.893 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206) 12:18:30.893 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169) 12:18:30.893 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33) 12:18:30.893 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22) 12:18:30.893 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.doAction(Main.java:33) 12:18:30.893 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45) 12:18:30.893 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54) 12:18:30.894 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35) 12:18:30.894 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.GradleMain.main(GradleMain.java:23) 12:18:30.894 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30) 12:18:30.894 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127) 12:18:30.894 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61) 12:18:30.894 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.cache.CacheOpenException: Could not open cp_proj class cache for build file 'C:\my\mcmodding\mods\Creeper-Awareness\1.9\build.gradle' (C:\Users\elix_x\.gradle\caches\2.7\scripts\build_8r48z4xie69gilgaivm6stj7j\cp_proj). 12:18:30.894 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultPersistentDirectoryStore.open(DefaultPersistentDirectoryStore.java:48) 12:18:30.895 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultPersistentDirectoryStore.open(DefaultPersistentDirectoryStore.java:28) 12:18:30.895 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheFactory.doOpen(DefaultCacheFactory.java:80) 12:18:30.895 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheFactory.open(DefaultCacheFactory.java:50) 12:18:30.895 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheRepository$PersistentCacheBuilder.doOpen(DefaultCacheRepository.java:138) 12:18:30.895 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheRepository$AbstractCacheBuilder.open(DefaultCacheRepository.java:121) 12:18:30.895 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.groovy.scripts.internal.FileCacheBackedScriptClassCompiler.compile(FileCacheBackedScriptClassCompiler.java:63) 12:18:30.896 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.groovy.scripts.internal.ShortCircuitEmptyScriptCompiler.compile(ShortCircuitEmptyScriptCompiler.java:60) 12:18:30.896 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.groovy.scripts.internal.CachingScriptClassCompiler.compile(CachingScriptClassCompiler.java:41) 12:18:30.896 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.groovy.scripts.DefaultScriptCompilerFactory$ScriptCompilerImpl.compile(DefaultScriptCompilerFactory.java:50) 12:18:30.896 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:122) 12:18:30.896 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:38) 12:18:30.896 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:25) 12:18:30.897 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34) 12:18:30.897 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:55) 12:18:30.897 [ERROR] [org.gradle.BuildExceptionReporter] ... 43 more 12:18:30.897 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.api.UncheckedIOException: java.io.FileNotFoundException: C:\Users\elix_x\.gradle\caches\2.7\scripts\build_8r48z4xie69gilgaivm6stj7j\cp_proj\cache.properties (The system cannot find the file specified) 12:18:30.897 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.util.GUtil.loadProperties(GUtil.java:183) 12:18:30.897 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultPersistentDirectoryCache$Initializer.requiresInitialization(DefaultPersistentDirectoryCache.java:76) 12:18:30.897 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheAccess.open(DefaultCacheAccess.java:88) 12:18:30.898 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultPersistentDirectoryStore.open(DefaultPersistentDirectoryStore.java:46) 12:18:30.898 [ERROR] [org.gradle.BuildExceptionReporter] ... 57 more 12:18:30.898 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.io.FileNotFoundException: C:\Users\elix_x\.gradle\caches\2.7\scripts\build_8r48z4xie69gilgaivm6stj7j\cp_proj\cache.properties (The system cannot find the file specified) 12:18:30.898 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.util.GUtil.loadProperties(GUtil.java:176) 12:18:30.898 [ERROR] [org.gradle.BuildExceptionReporter] ... 60 more 12:18:30.898 [ERROR] [org.gradle.BuildExceptionReporter] 12:18:30.899 [LIFECYCLE] [org.gradle.BuildResultLogger] 12:18:30.899 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED 12:18:30.899 [LIFECYCLE] [org.gradle.BuildResultLogger] 12:18:30.899 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 2.513 secs 12:18:30.901 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache Plugin Resolution Cache (C:\Users\elix_x\.gradle\caches\2.7\plugin-resolution) was closed 0 times. What should i do to reinstall forge? Any help is appreciated. Thanks for help! If you have any questions - just ask!
-
How much do you know java? What you have already tried with forge modding? What mc version are you in?
-
[1.9] [SOLVED] Getting MinecraftSever without access to worlObj
Elix_x replied to Elix_x's topic in Modder Support
Thanks! -
Hello everybody. More specifically, in 1.7.10 and 1.8, we could use MinecraftServer.getServer().worldServerForDimension(dimId) to retrieve world for dimension id. What should we use now? I suspect DimensionManager.getWorld , but before all methods in DimensionManager , except registration methods were marked with internal use only. Is it safe to use them now? Thanks for help! If you have any questions - just ask!
-
[1.8.9]Changing the biome in a given location
Elix_x replied to DrasticDemise's topic in Modder Support
What you said is mostly correct. Get biome array from chunk, set biome at location to what you want and than set chunk's biome array to it. If i remember correctly, to transform x and z to index in array, you have to do x << 4 | z, where x and z are internal chunk coordinates (global coordinates bitwise anded with 15). -
As already said, in 1.7.10 and 1.8.9, maximum is 4000. In 1.9, it is 16,384 (but forge is not there yet). You can bypass this limit only by writing your own particles system (or ASMing the limit, but it is not a good idea). If you're going to write it, 2 things that will help is WorldRenderLastEvent and weather 2 mod, which uses custom particles system.
-
[No Version] 1.9, side specific dependencies, stencils and item rendering
Elix_x replied to Elix_x's topic in Modder Support
And what about changes to models in 1.9? -
[No Version] 1.9, side specific dependencies, stencils and item rendering
Elix_x replied to Elix_x's topic in Modder Support
So if it is opt-in, than what i/users have to put/do to enable stencils? But sadly, not all. I'm not saying that i hate it, i'm just saying that it's very good and very optimized in 99.999%. Some things are not possible without invoking GL calls, for example: drawing block even if it is not visible (disable depth) and intergrating one 3d world into another visible through flat surface (which is my case). Also, what about 1.9? And spectral glow effect (i haven't decompiled 1.9 yet, but it seems that it is using stencils)? -
Thanks. Wow. This is not looking easy. But i'll try.
-
If file is packed with jar, you are going to have to use ClassLoader.getResourceAsStream .
-
[No Version] 1.9, side specific dependencies, stencils and item rendering
Elix_x replied to Elix_x's topic in Modder Support
By looking at spectral glow effect in 1.9, my gl knowledge tells me that it uses stencils. Although, i haven't looked at source code yet. -
Show your code. https://gist.github.com/elix-x/8a0f8ac9f61fea0830a6 Show your code. MultiModel.Baked (what you told me to use) requires VertexFormat . Should i use MultiModel.bake instead? Where should i take all the arguments?
-
You can return an IPerspectiveAwareModel from your ISmartItemModel. In there you can combine the baked multi model with Matrix4f depending on where it is rendered. I already did that, and it crashed. You don't. But then, how do i offset each item by +0.1 from previous item? You can probably make it work somehow, but that is over my head. Ok. I'll look into it when i'll fix everything else.
-
Not sure what you mean here. What kind of view? Perspective (gui, first person, third person...). When baking the models you have to supply an IModelState. A possibility here is a TRSRTransformation which allows you to apply any transformation matrix you would like to the model before it's baked. Ok. But how can i offset VertexFormat , i don't see methods there. Neither do I. Sorry. I heard somewhere, that it requires gl calls and core mods. Sigh.
-
Moving everything to pre init fixed everything. Now i have to deal with 3 things: -Change item rendering based on view. I think that i should wrap MultiModel in IFlexibleBakedModel . -Offset each rendered item by 0.1, so they look stacked. -Glint effect. I have no clues for that one. EDIT: Wrappping MultiModel in IFlexibleBakedModel worked (gist updated), but now it crashes when i throw it in world: [17:34:58] [Client thread/FATAL]: Reported exception thrown! net.minecraft.util.ReportedException: Rendering entity in world at net.minecraft.client.renderer.entity.RenderManager.doRenderEntity(RenderManager.java:428) ~[RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntityStatic(RenderManager.java:337) ~[RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntitySimple(RenderManager.java:304) ~[RenderManager.class:?] at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:672) ~[RenderGlobal.class:?] at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1369) ~[EntityRenderer.class:?] at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1283) ~[EntityRenderer.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1111) ~[EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1107) ~[Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:380) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] Caused by: java.lang.NullPointerException at net.minecraft.client.renderer.entity.RenderEntityItem.func_177077_a(RenderEntityItem.java:45) ~[RenderEntityItem.class:?] at net.minecraft.client.renderer.entity.RenderEntityItem.doRender(RenderEntityItem.java:115) ~[RenderEntityItem.class:?] at net.minecraft.client.renderer.entity.RenderEntityItem.doRender(RenderEntityItem.java:16) ~[RenderEntityItem.class:?] at net.minecraft.client.renderer.entity.RenderManager.doRenderEntity(RenderManager.java:380) ~[RenderManager.class:?] ... 21 more [17:34:58] [server thread/INFO] [FML]: Applying holder lookups [17:34:58] [server thread/INFO] [FML]: Holder lookups applied [17:34:58] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: ---- Minecraft Crash Report ---- // Don't be sad. I'll do better next time, I promise! Time: 06.03.16 17:34 Description: Rendering entity in world java.lang.NullPointerException: Rendering entity in world at net.minecraft.client.renderer.entity.RenderEntityItem.func_177077_a(RenderEntityItem.java:45) at net.minecraft.client.renderer.entity.RenderEntityItem.doRender(RenderEntityItem.java:115) at net.minecraft.client.renderer.entity.RenderEntityItem.doRender(RenderEntityItem.java:16) at net.minecraft.client.renderer.entity.RenderManager.doRenderEntity(RenderManager.java:380) at net.minecraft.client.renderer.entity.RenderManager.renderEntityStatic(RenderManager.java:337) at net.minecraft.client.renderer.entity.RenderManager.renderEntitySimple(RenderManager.java:304) at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:672) at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1369) at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1283) at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1111) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1107) at net.minecraft.client.Minecraft.run(Minecraft.java:380) at net.minecraft.client.main.Main.main(Main.java:116) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:26) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraft.client.renderer.entity.RenderEntityItem.func_177077_a(RenderEntityItem.java:45) at net.minecraft.client.renderer.entity.RenderEntityItem.doRender(RenderEntityItem.java:115) at net.minecraft.client.renderer.entity.RenderEntityItem.doRender(RenderEntityItem.java:16) -- Entity being rendered -- Details: Entity Type: Item (net.minecraft.entity.item.EntityItem) Entity ID: 5750 Entity Name: item.item.armorset Entity's Exact location: -1114,76, 68,16, -173,51 Entity's Block location: -1115,00,68,00,-174,00 - World: (-1115,68,-174), Chunk: (at 5,4,2 in -70,-11; contains blocks -1120,0,-176 to -1105,255,-161), Region: (-3,-1; contains chunks -96,-32 to -65,-1, blocks -1536,0,-512 to -1025,255,-1) Entity's Momentum: -0,25, -0,15, -0,01 Entity's Rider: ~~ERROR~~ NullPointerException: null Entity's Vehicle: ~~ERROR~~ NullPointerException: null -- Renderer details -- Details: Assigned renderer: net.minecraft.client.renderer.entity.RenderEntityItem@4d54b03f Location: -0,08,1,28,-0,01 - World: (-1,1,-1), Chunk: (at 15,0,15 in -1,-1; contains blocks -16,0,-16 to -1,255,-1), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1) Rotation: 11.25 Delta: 0.21573651 Stacktrace: at net.minecraft.client.renderer.entity.RenderManager.doRenderEntity(RenderManager.java:380) at net.minecraft.client.renderer.entity.RenderManager.renderEntityStatic(RenderManager.java:337) at net.minecraft.client.renderer.entity.RenderManager.renderEntitySimple(RenderManager.java:304) at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:672) at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1369) at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1283) -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityPlayerSP['Player573'/212, l='MpServer', x=-1114,48, y=67,00, z=-173,49]] Chunk stats: MultiplayerChunkCache: 603, 603 Level seed: 0 Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: Level spawn location: -1082,00,64,00,-193,00 - World: (-1082,64,-193), Chunk: (at 6,4,15 in -68,-13; contains blocks -1088,0,-208 to -1073,255,-193), Region: (-3,-1; contains chunks -96,-32 to -65,-1, blocks -1536,0,-512 to -1025,255,-1) Level time: 137725 game time, 8137 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false Forced entities: 91 total; [EntityBat['Bat'/128, l='MpServer', x=-1084,25, y=27,10, z=-147,81], EntityZombie['Zombie'/129, l='MpServer', x=-1082,31, y=28,00, z=-149,31], EntitySkeleton['Skeleton'/130, l='MpServer', x=-1077,97, y=28,00, z=-151,50], EntityBat['Bat'/131, l='MpServer', x=-1069,20, y=29,70, z=-156,73], EntitySquid['Squid'/132, l='MpServer', x=-1083,50, y=59,06, z=-156,41], EntitySkeleton['Skeleton'/133, l='MpServer', x=-1080,47, y=25,00, z=-129,13], EntitySquid['Squid'/134, l='MpServer', x=-1088,19, y=55,63, z=-140,13], EntitySquid['Squid'/135, l='MpServer', x=-1082,56, y=58,44, z=-146,28], EntityZombie['Zombie'/136, l='MpServer', x=-1087,53, y=26,00, z=-126,94], EntitySquid['Squid'/137, l='MpServer', x=-1081,13, y=38,81, z=-124,59], EntitySquid['Squid'/138, l='MpServer', x=-1085,72, y=49,16, z=-124,91], EntitySquid['Squid'/139, l='MpServer', x=-1084,16, y=50,50, z=-123,59], EntitySkeleton['Skeleton'/13, l='MpServer', x=-1189,97, y=24,00, z=-199,50], EntityBat['Bat'/144, l='MpServer', x=-1068,00, y=26,10, z=-155,69], EntityBat['Bat'/145, l='MpServer', x=-1070,25, y=27,10, z=-159,13], EntityBat['Bat'/146, l='MpServer', x=-1069,75, y=31,10, z=-157,41], EntityBat['Bat'/147, l='MpServer', x=-1069,53, y=26,10, z=-159,06], EntityBat['Bat'/148, l='MpServer', x=-1070,03, y=32,00, z=-155,27], EntityZombie['Zombie'/20, l='MpServer', x=-1186,63, y=19,00, z=-140,09], EntityZombie['Zombie'/149, l='MpServer', x=-1070,97, y=32,00, z=-152,88], EntitySquid['Squid'/150, l='MpServer', x=-1063,84, y=59,59, z=-132,09], EntityCreeper['Creeper'/22, l='MpServer', x=-1193,94, y=27,00, z=-126,56], EntitySquid['Squid'/151, l='MpServer', x=-1062,16, y=59,63, z=-122,28], EntityCreeper['Creeper'/23, l='MpServer', x=-1190,47, y=17,00, z=-111,06], EntitySquid['Squid'/152, l='MpServer', x=-1061,38, y=58,78, z=-111,91], EntityEnderman['Enderman'/27, l='MpServer', x=-1177,38, y=20,00, z=-229,97], EntitySkeleton['Skeleton'/28, l='MpServer', x=-1175,44, y=21,00, z=-226,84], EntitySquid['Squid'/29, l='MpServer', x=-1165,59, y=52,25, z=-225,75], EntityCreeper['Creeper'/30, l='MpServer', x=-1176,22, y=18,00, z=-96,22], EntityBat['Bat'/31, l='MpServer', x=-1169,31, y=24,10, z=-95,63], EntitySquid['Squid'/37, l='MpServer', x=-1157,97, y=55,50, z=-214,28], EntitySquid['Squid'/38, l='MpServer', x=-1161,25, y=53,53, z=-214,38], EntitySquid['Squid'/39, l='MpServer', x=-1154,47, y=49,53, z=-223,88], EntitySquid['Squid'/40, l='MpServer', x=-1166,16, y=50,66, z=-177,38], EntityZombie['Zombie'/41, l='MpServer', x=-1161,94, y=14,00, z=-136,53], EntitySquid['Squid'/42, l='MpServer', x=-1165,75, y=48,50, z=-136,94], EntitySkeleton['Skeleton'/43, l='MpServer', x=-1155,09, y=24,00, z=-119,47], EntitySquid['Squid'/52, l='MpServer', x=-1157,00, y=59,09, z=-226,97], EntitySquid['Squid'/53, l='MpServer', x=-1143,53, y=55,44, z=-191,31], EntitySquid['Squid'/54, l='MpServer', x=-1150,63, y=53,91, z=-153,13], EntitySquid['Squid'/55, l='MpServer', x=-1138,49, y=50,47, z=-171,14], EntitySquid['Squid'/56, l='MpServer', x=-1140,63, y=49,66, z=-148,06], EntitySquid['Squid'/57, l='MpServer', x=-1145,31, y=40,03, z=-114,28], EntityZombie['Zombie'/58, l='MpServer', x=-1141,94, y=28,00, z=-115,50], EntitySquid['Squid'/66, l='MpServer', x=-1121,78, y=54,19, z=-233,09], EntitySquid['Squid'/67, l='MpServer', x=-1115,50, y=43,25, z=-205,63], EntitySquid['Squid'/68, l='MpServer', x=-1125,84, y=43,29, z=-160,00], EntitySquid['Squid'/69, l='MpServer', x=-1133,78, y=44,72, z=-144,13], EntitySquid['Squid'/70, l='MpServer', x=-1119,25, y=40,03, z=-149,91], EntitySquid['Squid'/71, l='MpServer', x=-1119,19, y=51,77, z=-148,12], EntitySquid['Squid'/72, l='MpServer', x=-1123,44, y=46,56, z=-110,94], EntitySquid['Squid'/73, l='MpServer', x=-1134,72, y=48,53, z=-133,38], EntitySquid['Squid'/74, l='MpServer', x=-1126,16, y=45,28, z=-123,06], EntitySquid['Squid'/75, l='MpServer', x=-1123,91, y=50,84, z=-126,81], EntitySquid['Squid'/77, l='MpServer', x=-1129,28, y=51,34, z=-110,38], EntitySquid['Squid'/78, l='MpServer', x=-1124,56, y=60,72, z=-115,22], EntityPlayerSP['Player573'/212, l='MpServer', x=-1114,48, y=67,00, z=-173,49], EntitySquid['Squid'/86, l='MpServer', x=-1112,41, y=50,66, z=-213,78], EntitySquid['Squid'/87, l='MpServer', x=-1123,81, y=51,81, z=-210,59], EntitySquid['Squid'/88, l='MpServer', x=-1110,91, y=47,16, z=-130,47], EntityCreeper['Creeper'/89, l='MpServer', x=-1106,72, y=11,19, z=-116,72], EntityZombie['Zombie'/90, l='MpServer', x=-1106,72, y=11,00, z=-115,88], EntitySquid['Squid'/91, l='MpServer', x=-1116,09, y=51,97, z=-111,47], EntitySkeleton['Skeleton'/95, l='MpServer', x=-1092,75, y=22,00, z=-248,19], EntityCreeper['Creeper'/96, l='MpServer', x=-1096,56, y=22,00, z=-226,06], EntityCreeper['Creeper'/97, l='MpServer', x=-1102,03, y=22,00, z=-215,63], EntityBat['Bat'/98, l='MpServer', x=-1100,49, y=22,10, z=-215,82], EntityZombie['Zombie'/99, l='MpServer', x=-1091,28, y=18,40, z=-207,31], EntitySpider['Spider'/100, l='MpServer', x=-1085,72, y=27,09, z=-184,06], EntityCreeper['Creeper'/101, l='MpServer', x=-1099,59, y=31,00, z=-170,94], EntitySquid['Squid'/102, l='MpServer', x=-1086,47, y=40,56, z=-146,19], EntitySkeleton['Skeleton'/103, l='MpServer', x=-1088,44, y=27,00, z=-138,03], EntityZombie['Zombie'/104, l='MpServer', x=-1088,50, y=26,00, z=-136,09], EntitySquid['Squid'/105, l='MpServer', x=-1097,88, y=61,19, z=-134,69], EntitySquid['Squid'/106, l='MpServer', x=-1088,25, y=50,38, z=-136,50], EntitySkeleton['Skeleton'/107, l='MpServer', x=-1102,22, y=16,00, z=-122,41], EntitySquid['Squid'/108, l='MpServer', x=-1099,91, y=42,56, z=-119,50], EntitySquid['Squid'/109, l='MpServer', x=-1092,50, y=48,59, z=-117,69], EntityZombie['Zombie'/111, l='MpServer', x=-1105,00, y=11,01, z=-116,14], EntityEnderman['Enderman'/112, l='MpServer', x=-1096,50, y=24,00, z=-104,72], EntitySquid['Squid'/118, l='MpServer', x=-1078,84, y=48,81, z=-230,47], EntityItem['item.item.armorset'/5750, l='MpServer', x=-1114,76, y=68,16, z=-173,51], EntitySquid['Squid'/119, l='MpServer', x=-1081,34, y=61,03, z=-206,50], EntityBat['Bat'/120, l='MpServer', x=-1082,75, y=19,10, z=-204,75], EntityWitch['Witch'/121, l='MpServer', x=-1071,13, y=42,00, z=-205,50], EntityZombie['Zombie'/122, l='MpServer', x=-1074,97, y=42,00, z=-193,56], EntityWitch['Witch'/123, l='MpServer', x=-1079,34, y=43,00, z=-195,13], EntitySquid['Squid'/124, l='MpServer', x=-1077,31, y=61,53, z=-205,50], EntitySkeleton['Skeleton'/125, l='MpServer', x=-1087,97, y=26,00, z=-177,16], EntityCreeper['Creeper'/126, l='MpServer', x=-1079,97, y=26,00, z=-149,34], EntityBat['Bat'/127, l='MpServer', x=-1078,50, y=28,10, z=-156,25]] Retry entities: 0 total; [] Server brand: fml,forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:383) at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2645) at net.minecraft.client.Minecraft.run(Minecraft.java:401) at net.minecraft.client.main.Main.main(Main.java:116) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:26) -- System Details -- Details: Minecraft Version: 1.8.9 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.8.0_73, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 393484120 bytes (375 MB) / 889716736 bytes (848 MB) up to 1717043200 bytes (1637 MB) JVM Flags: 0 total; IntCache: cache: 3, tcache: 0, allocated: 13, tallocated: 95 FML: MCP 9.19 Powered by Forge 11.15.1.1744 7 mods loaded, 7 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJAAAA mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1744.jar) UCHIJAAAA Forge{11.15.1.1744} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1744.jar) UCHIJAAAA Baubles{1.1.3.0} [baubles] (Baubles-1.8.9-1.1.3.0-deobf.jar) UCHIJAAAA excore{1.4} [EXCore] (bin) UCHIJAAAA armorsets{2.0} [Armor Sets] (bin) UCHIJAAAA examplemod{1.0} [examplemod] (bin) Loaded coremods (and transformers): GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.4.13084 Compatibility Profile Context 14.301.1001.0' Renderer: 'AMD Radeon HD 8570D' Launched Version: 1.8.9 LWJGL: 2.9.4 OpenGL: AMD Radeon HD 8570D GL version 4.4.13084 Compatibility Profile Context 14.301.1001.0, ATI Technologies Inc. GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Shaders are available because OpenGL 2.1 is supported. VBOs are available because OpenGL 1.5 is supported. Using VBOs: No Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: Current Language: English (US) Profiler Position: N/A (disabled) CPU: 4x AMD A8-6600K APU with Radeon(tm) HD Graphics [17:34:58] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: #@!@# Game crashed! Crash report saved to: #@!@# C:\my\mcmodding\mods\Armor-Sets\1.8.9\run\.\crash-reports\crash-2016-03-06_17.34.58-client.txt AL lib: (EE) alc_cleanup: 1 device not closed I thought i don't have to fill methods in IPerspectiveAwareModel either.
-
As i said, if i remove getModel (and keep setCustomModelResourceLocation ) none of my ISmartItemModel methods is called.
-
No no NO NO NO! Class changes should be last thing you try and only if it is the only one left, because they can make a lot of things incompatible and broken.
-
If i keep getModel in my item class, getItemCameraTransforms is called and crashes the game, handleItemState is not being called. If i remove getModel from my item class, neither of methods is getting called. I'll repost my code on gist: https://gist.github.com/elix-x/8a0f8ac9f61fea0830a6 ( ItemItemsSetRenderer is what i used in 1.7.10).
-
Take a look at Journey Map. Although, it is not open source, you can always decompile the jar with programs like jd gui.