Forgery

Forgery

823k Downloads

[1.18] Using /kill while below Y=0 and Deja Void is enabled will cause infinite TP loop

LemmaEOF opened this issue ยท 0 comments

commented

Log
Fabrication 2.3.0_01
Fabric API 0.45.0+1.18
Minecraft 1.18.1

Explanation and Steps:

  • Minecraft 1.18 allows you to survive between Y=0 and Y=64 due to the expanded world height.
  • Using /kill on a living entity deals void damage.
  • Deja Void detects if a player is taking void damage while Y<0 and warps them back to safety.
  • Using /kill on a player while they are below Y=0 will cause them to infinitely warp to the place they were when /kill was used, until they are teleported away.

Proposed solutions:

  • Make Deja Void check for Y<-64 instead of Y<0.
  • Hook into Entity#tickInVoid (Intermediary method_5825) like previous 1.16 Fabrication versions