File tree Expand file tree Collapse file tree
src/main/kotlin/org/polyfrost/polyhitbox Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,9 +10,15 @@ import net.minecraft.world.entity.item.ItemEntity
1010import net.minecraft.world.entity.monster.Enemy
1111import net.minecraft.world.entity.player.Player
1212import net.minecraft.world.entity.projectile.Projectile
13+ // ? if >=1.21.11 {
1314import net.minecraft.world.entity.projectile.arrow.AbstractArrow
1415import net.minecraft.world.entity.projectile.hurtingprojectile.Fireball
1516import net.minecraft.world.entity.projectile.hurtingprojectile.WitherSkull
17+ // ?} else {
18+ /* import net.minecraft.world.entity.projectile.AbstractArrow
19+ import net.minecraft.world.entity.projectile.Fireball
20+ import net.minecraft.world.entity.projectile.WitherSkull
21+ */ // ?}
1622import java.util.concurrent.ConcurrentHashMap
1723
1824private const val HIGH = 0
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ object HitboxRenderer {
123123 // ? if >=1.21.11 {
124124 private fun quadsType () = net.minecraft.client.renderer.rendertype.RenderTypes .debugQuads()
125125 // ?} else {
126- /* private fun quadsType() = net.minecraft.client.renderer.rendertype. RenderType.debugQuads()
126+ /* private fun quadsType() = net.minecraft.client.renderer.RenderType.debugQuads()
127127 */ // ?}
128128
129129 private fun beginFrame (cull : Frustum ? ): Boolean {
You can’t perform that action at this time.
0 commit comments