From bf7795df22ca7892fae1238403feebb57c005562 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sat, 7 Dec 2024 13:26:03 +0100 Subject: WIP: Port to compilation on 1.21.4 --- src/main/kotlin/gui/entity/FakeWorld.kt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main/kotlin/gui/entity') diff --git a/src/main/kotlin/gui/entity/FakeWorld.kt b/src/main/kotlin/gui/entity/FakeWorld.kt index 7ec385c..ccf6b60 100644 --- a/src/main/kotlin/gui/entity/FakeWorld.kt +++ b/src/main/kotlin/gui/entity/FakeWorld.kt @@ -8,6 +8,7 @@ import net.minecraft.block.BlockState import net.minecraft.client.gui.screen.world.SelectWorldScreen import net.minecraft.component.type.MapIdComponent import net.minecraft.entity.Entity +import net.minecraft.entity.boss.dragon.EnderDragonPart import net.minecraft.entity.damage.DamageSource import net.minecraft.entity.player.PlayerEntity import net.minecraft.fluid.Fluid @@ -262,6 +263,10 @@ class FakeWorld( return null } + override fun getEnderDragonParts(): MutableCollection { + return mutableListOf() + } + override fun getTickManager(): TickManager { return TickManager() } -- cgit