Moving Elevators

Moving Elevators

8M Downloads

[Crash] ...

SnakeTheLizard opened this issue ยท 1 comments

commented

Version Info

  • Minecraft, 1.21.0
  • Moving Elevators, 1.4.10-fabric-mc1.21

Are you using OptiFine?: No

Steps to Reproduce
Placed Elevator Controllers on each floor
Linked Remote Controller to the main controller
Placed Remote Controller inside elevator for primary control
Attempted Elevator control using the remote controller from inside the elevator
Game instantly crashes

Crash report (~/logs/latest.log)

---- Minecraft Crash Report ----
// There are four lights!
Time: 2025-02-28 14:25:50
Description: Rendering Block Entity
java.lang.NullPointerException: Cannot invoke "java.util.function.Supplier.get()" because "this.field_16316" is null
at knot//net.minecraft.class_1937.method_16107(class_1937.java:976)
at knot//net.minecraft.class_824.handler$dlm000$sodium-extra$onRender(class_824.java:3028)
at knot//net.minecraft.class_824.method_23079(class_824.java)
at knot//net.minecraft.class_824.method_23081(class_824.java:79)
at knot//net.minecraft.class_824.method_3554(class_824.java:104)
at knot//net.minecraft.class_824.method_3555(class_824.java:79)
at knot//com.supermartijn642.movingelevators.elevator.ElevatorGroupRenderer.renderGroupBlockEntities(ElevatorGroupRenderer.java:139)
at knot//com.supermartijn642.movingelevators.elevator.ElevatorGroupRenderer.renderBlockEntities(ElevatorGroupRenderer.java:86)
at knot//net.minecraft.class_761.handler$dce000$movingelevators$renderLevelBlockEntities(class_761.java:14689)
at knot//net.minecraft.class_761.method_22710(class_761.java:1085)
at knot//net.minecraft.class_757.method_3188(class_757.java:1087)
at knot//net.minecraft.class_757.method_3192(class_757.java:850)
at knot//net.minecraft.class_310.method_1523(class_310.java:1285)
at knot//net.minecraft.class_824.method_23081(class_824.java:79)
Reload number: 1
org_ini4j_ini4j: ini4j 0.5.4
paginatedadvancements: Paginated Advancements 2.5.1
polytone: Polytone 1.21-3.2.8
net_objecthunter_exp4j: exp4j 0.4.8
puzzle: Puzzle 2.0.1
midnightlib: MidnightLib 1.6.3
reeses-sodium-options: Reese's Sodium Options 1.8.3+mc1.21.4
rrls: Remove Reloading Screen 5.0.7+mc1.21-fabric
sodium: Sodium 0.6.9+mc1.21.1
fabric-resource-loader-v0: Fabric Resource Loader (v0) 1.3.1+5b5275af19
sodium-extra: Sodium Extra 0.6.0+mc1.21.1
supermartijn642configlib: SuperMartijn642's Config Lib 1.1.8
supermartijn642corelib: SuperMartijn642's Core Lib 1.1.18+a
worldedit: WorldEdit 7.3.8+6939-7d32b45
yet_another_config_lib_v3: YetAnotherConfigLib 3.5.0+1.21-fabric
com_twelvemonkeys_common_common-image: common-image 3.10.0
com_twelvemonkeys_common_common-io: common-io 3.10.0
com_twelvemonkeys_common_common-lang: common-lang 3.10.0
com_twelvemonkeys_imageio_imageio-core: imageio-core 3.10.0
com_twelvemonkeys_imageio_imageio-metadata: imageio-metadata 3.10.0
com_twelvemonkeys_imageio_imageio-webp: imageio-webp 3.10.0
org_quiltmc_parsers_gson: gson 0.2.1
org_quiltmc_parsers_json: json 0.2.1
yosbr: YOSBR 0.1.2
zoomify: Zoomify 2.14.2+1.21.1
com_akuleshov7_ktoml-core-jvm: ktoml-core-jvm 0.5.2
Loaded Shaderpack: ComplementaryUnbound_r5.4.zip
Profile: ULTRA (+10 options changed by user)
Launched Version: 1.21
Launcher name: theseus
Backend library: LWJGL version 3.3.3-snapshot
Backend API: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2 GL version 3.2.0 NVIDIA 566.36, NVIDIA Corporation
Window size: 854x480
GFLW Platform: win32
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages: id=1282, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_OPERATION error generated. is not a valid texture name.' x 25
Is Modded: Definitely; Client brand changed to 'fabric'; Server brand changed to 'fabric'
Universe: 400921fb54442d18

commented

Seems this was related to a mixin from Sodium Extra requesting a profiler from the level object when rendering blocks. Moving Elevators uses a dummy level which returned null for the profiler, hence leading to a crash.
I have fixed this now in version 1.4.11 of Moving Elevators.
Thank you for reporting the issue!