Autovw / AdvancedNetherite

A configurable, vanilla friendly, open-source mod that adds in more tiers of Netherite!
https://www.curseforge.com/minecraft/mc-mods/advanced-netherite
GNU General Public License v3.0
21 stars 14 forks source link

Crash when rendering piglins #31

Closed warkunver closed 1 year ago

warkunver commented 1 year ago

Describe the crash / error A clear and concise description of what the crash / error is.

To Reproduce Steps to reproduce the behavior:

  1. Go to Nether
  2. type "/summon minecraft:piglin"
  3. Game Crash

Expected behavior Not Crash by Rendering piglin.

Logs ---- Minecraft Crash Report ---- // Surprise! Haha. Well, this is awkward.

Time: 2023-06-14 16:28:23 Description: Ticking entity

java.lang.ClassCastException: class com.autovw.advancednetherite.common.item.AdvancedArmorItem cannot be cast to class com.autovw.advancednetherite.api.impl.IAdvancedHooks (com.autovw.advancednetherite.common.item.AdvancedArmorItem and com.autovw.advancednetherite.api.impl.IAdvancedHooks are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @4461c7e3) at net.minecraft.class_4838.handler$zzd000$advancednetherite$isWearingGold(class_4838.java:986) at net.minecraft.class_4838.method_24719(class_4838.java) at net.minecraft.class_4834.method_19101(class_4834.java:94) at net.minecraft.class_4148.method_19100(class_4148.java:45) at net.minecraft.class_4095.method_27073(class_4095.java:498) at net.minecraft.class_4095.method_19542(class_4095.java:491) at net.minecraft.class_4836.method_5958(class_4836.java:335) at net.minecraft.class_1308.method_6023(class_1308.java:788) at net.minecraft.class_1309.method_6007(class_1309.java:2673) at net.minecraft.class_1308.method_6007(class_1308.java:550) at net.minecraft.class_1588.method_6007(class_1588.java:44) at net.minecraft.class_1309.method_5773(class_1309.java:2419) at net.minecraft.class_1308.method_5773(class_1308.java:351) at net.minecraft.class_3218.method_18762(class_3218.java:739) at net.minecraft.class_1937.method_18472(class_1937.java:480) at net.minecraft.class_3218.method_31420(class_3218.java:385) at net.minecraft.class_5574.method_31791(class_5574.java:54) at net.minecraft.class_3218.method_18765(class_3218.java:353) at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:897) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:824) at net.minecraft.class_1132.method_3748(class_1132.java:105) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:671) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265) at java.base/java.lang.Thread.run(Thread.java:833)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head -- Thread: Server thread Stacktrace: at net.minecraft.class_4838.handler$zzd000$advancednetherite$isWearingGold(class_4838.java:986) at net.minecraft.class_4838.method_24719(class_4838.java) at net.minecraft.class_4834.method_19101(class_4834.java:94) at net.minecraft.class_4148.method_19100(class_4148.java:45) at net.minecraft.class_4095.method_27073(class_4095.java:498) at net.minecraft.class_4095.method_19542(class_4095.java:491) at net.minecraft.class_4836.method_5958(class_4836.java:335) at net.minecraft.class_1308.method_6023(class_1308.java:788) at net.minecraft.class_1309.method_6007(class_1309.java:2673) at net.minecraft.class_1308.method_6007(class_1308.java:550) at net.minecraft.class_1588.method_6007(class_1588.java:44) at net.minecraft.class_1309.method_5773(class_1309.java:2419) at net.minecraft.class_1308.method_5773(class_1308.java:351) at net.minecraft.class_3218.method_18762(class_3218.java:739) at net.minecraft.class_1937.method_18472(class_1937.java:480) at net.minecraft.class_3218.method_31420(class_3218.java:385) at net.minecraft.class_5574.method_31791(class_5574.java:54) at net.minecraft.class_3218.method_18765(class_3218.java:353)

-- Entity being ticked -- Details: Entity Type: minecraft:piglin (net.minecraft.class_4836) Entity ID: 30621 Entity Name: ピグリン Entity's Exact location: -39.54, 41.00, 102.61 Entity's Block location: World: (-40,41,102), Section: (at 8,9,6 in -3,2,6; chunk contains blocks -48,0,96 to -33,255,111), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) Entity's Momentum: 0.00, -0.08, 0.00 Entity's Passengers: [] Entity's Vehicle: null Stacktrace: at net.minecraft.class_1937.method_18472(class_1937.java:480) at net.minecraft.class_3218.method_31420(class_3218.java:385) at net.minecraft.class_5574.method_31791(class_5574.java:54) at net.minecraft.class_3218.method_18765(class_3218.java:353) at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:897) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:824) at net.minecraft.class_1132.method_3748(class_1132.java:105) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:671) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265) at java.base/java.lang.Thread.run(Thread.java:833)

-- Affected level -- Details: All players: 1 total; [class_3222['sakura12790'/19962, l='ServerLevel[Welcome, HellEarth!!]', x=-27.47, y=40.00, z=112.75]] Chunk stats: 2025 Level dimension: minecraft:the_nether Derived: true Level spawn location: World: (16,67,-96), Section: (at 0,3,0 in 1,4,-6; chunk contains blocks 16,0,-96 to 31,255,-81), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1) Level time: 5748949 game time, 5788237 day time Level name: Welcome, HellEarth!! Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false Level weather: Rain time: 9036 (now: false), thunder time: 77025 (now: false) Known server brands: fabric Removed feature flags: Level was modded: true Level storage version: 0x04ABD - Anvil Stacktrace: at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:897) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:824) at net.minecraft.class_1132.method_3748(class_1132.java:105) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:671) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265) at java.base/java.lang.Thread.run(Thread.java:833)

-- System Details -- Details: Minecraft Version: 1.20 Minecraft Version ID: 1.20 Operating System: Windows 11 (amd64) version 10.0 Java Version: 17.0.3, Microsoft Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft Memory: 2216115720 bytes (2113 MiB) / 4294967296 bytes (4096 MiB) up to 4294967296 bytes (4096 MiB) CPUs: 12 Processor Vendor: AuthenticAMD Processor Name: AMD Ryzen 5 5600X 6-Core Processor
Identifier: AuthenticAMD Family 25 Model 33 Stepping 2 Microarchitecture: Zen 3 Frequency (GHz): 3.69 Number of physical packages: 1 Number of physical CPUs: 6 Number of logical CPUs: 12 Graphics card #0 name: NVIDIA GeForce GTX 1650 Graphics card #0 vendor: NVIDIA (0x10de) Graphics card #0 VRAM (MB): 4095.00 Graphics card #0 deviceId: 0x1f82 Graphics card #0 versionInfo: DriverVersion=31.0.15.3598 Memory slot #0 capacity (MB): 8192.00 Memory slot #0 clockSpeed (GHz): 3.20 Memory slot #0 type: DDR4 Memory slot #1 capacity (MB): 8192.00 Memory slot #1 clockSpeed (GHz): 3.20 Memory slot #1 type: DDR4 Virtual memory max (MB): 19555.54 Virtual memory used (MB): 15568.89 Swap memory total (MB): 3241.42 Swap memory used (MB): 80.96 JVM Flags: 12 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xms4G -Xmx4G -XX:MaxNewSize=2G -XX:MetaspaceSize=2G -XX:MaxMetaspaceSize=2G -XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:ParallelGCThreads=4 -XX:ConcGCThreads=4 -XX:+DisableExplicitGC Fabric Mods: advancednetherite: Advanced Netherite 2.0.1-1.20 elementa: Elementa 590 essential: Essential 12840+deploy-staging+ge98314a1d essential-container: essential-container 1.0.0 essential-loader: essential-loader 1.2.0 fabric-api: Fabric API 0.83.0+1.20 fabric-api-base: Fabric API Base 0.4.29+b04edc7a27 fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.34+4d8536c927 fabric-biome-api-v1: Fabric Biome API (v1) 13.0.10+b3afc78b27 fabric-block-api-v1: Fabric Block API (v1) 1.0.9+e022e5d127 fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.39+b3afc78b27 fabric-client-tags-api-v1: Fabric Client Tags 1.0.20+b3afc78b27 fabric-command-api-v1: Fabric Command API (v1) 1.2.32+f71b366f27 fabric-command-api-v2: Fabric Command API (v2) 2.2.11+b3afc78b27 fabric-commands-v0: Fabric Commands (v0) 0.2.49+df3654b327 fabric-containers-v0: Fabric Containers (v0) 0.1.61+df3654b327 fabric-content-registries-v0: Fabric Content Registries (v0) 4.0.7+b3afc78b27 fabric-convention-tags-v1: Fabric Convention Tags 1.5.3+b3afc78b27 fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.18+aeb40ebe27 fabric-data-generation-api-v1: Fabric Data Generation API (v1) 12.1.10+b3afc78b27 fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.51+b3afc78b27 fabric-entity-events-v1: Fabric Entity Events (v1) 1.5.21+b3afc78b27 fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.6.0+b3afc78b27 fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.61+df3654b327 fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.38+b04edc7a27 fabric-item-api-v1: Fabric Item API (v1) 2.1.26+b3afc78b27 fabric-item-group-api-v1: Fabric Item Group API (v1) 4.0.7+b3afc78b27 fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.36+fb8d95da27 fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.34+df3654b327 fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.2.20+b3afc78b27 fabric-loot-api-v2: Fabric Loot API (v2) 1.1.37+b3afc78b27 fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.41+9e7660c627 fabric-message-api-v1: Fabric Message API (v1) 5.1.6+b3afc78b27 fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.47+b3afc78b27 fabric-models-v0: Fabric Models (v0) 0.3.35+b3afc78b27 fabric-networking-api-v1: Fabric Networking API (v1) 1.3.8+b3afc78b27 fabric-networking-v0: Fabric Networking (v0) 0.3.48+df3654b327 fabric-object-builder-api-v1: Fabric Object Builder API (v1) 11.0.6+b3afc78b27 fabric-particles-v1: Fabric Particles (v1) 1.0.28+b3afc78b27 fabric-recipe-api-v1: Fabric Recipe API (v1) 1.0.18+b3afc78b27 fabric-registry-sync-v0: Fabric Registry Sync (v0) 2.2.6+b3afc78b27 fabric-renderer-api-v1: Fabric Renderer API (v1) 3.0.1+b3afc78b27 fabric-renderer-indigo: Fabric Renderer - Indigo 1.3.1+b3afc78b27 fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.44+df3654b327 fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.33+b3afc78b27 fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.26+b3afc78b27 fabric-rendering-v0: Fabric Rendering (v0) 1.1.47+df3654b327 fabric-rendering-v1: Fabric Rendering (v1) 3.0.6+b3afc78b27 fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.3.4+b3afc78b27 fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.11.7+f7923f6d27 fabric-screen-api-v1: Fabric Screen API (v1) 2.0.6+b3afc78b27 fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.27+b3afc78b27 fabric-sound-api-v1: Fabric Sound API (v1) 1.0.12+b3afc78b27 fabric-transfer-api-v1: Fabric Transfer API (v1) 3.2.2+b3afc78b27 fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 4.2.0+b3afc78b27 fabric-language-kotlin: Fabric Language Kotlin 1.8.2+kotlin.1.7.10 fabricloader: Fabric Loader 0.14.21+local iris: Iris 1.6.4 io_github_douira_glsl-transformer: glsl-transformer 2.0.0-pre13 org_anarres_jcpp: jcpp 1.4.14 org_antlr_antlr4-runtime: antlr4-runtime 4.11.1 java: OpenJDK 64-Bit Server VM 17 minecraft: Minecraft 1.20 nochatreports: No Chat Reports 1.20-v2.2.0 org_jetbrains_annotations: annotations 13.0 org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.7.10 org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.7.10 org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.7.10 org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.7.10 org_jetbrains_kotlinx_atomicfu-jvm: atomicfu-jvm 0.18.2 org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.6.4 org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.6.4 org_jetbrains_kotlinx_kotlinx-datetime-jvm: kotlinx-datetime-jvm 0.4.0 org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm: kotlinx-serialization-cbor-jvm 1.3.3 org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.3.3 org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.3.3 sodium: Sodium 0.4.10+build.27 starlight: Starlight 1.1.2+fabric.dbc156f universalcraft: UniversalCraft 270 vigilance: Vigilance 284 Loaded Shaderpack: Sildur's+Vibrant+Shaders+v1.50+Lite.zip Profile: Custom (+10 options changed by user) NEC status: No NEC detected Server Running: true Player Count: 1 / 8; [class_3222['sakura12790'/19962, l='ServerLevel[Welcome, HellEarth!!]', x=-27.47, y=40.00, z=112.75]] Data Packs: vanilla, bundle, file/explore-the-world-e2290 (incompatible), file/X_Tower_PC (incompatible), fabric Enabled Feature Flags: minecraft:bundle, minecraft:vanilla World Generation: Experimental Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fabric'; Server brand changed to 'fabric' Launched Version: iris-fabric-loader-0.14.21-1.20

Technical Information (please complete the following information): ! Do not say 'latest', provide the actual version.

Autovw commented 1 year ago

You're using an outdated version. Issue has already been fixed in version 2.0.2.

warkunver commented 1 year ago

i'll check it out, thanks