From 3d044d2dde2e348dc5c9f6a7fe44e914ef501878 Mon Sep 17 00:00:00 2001 From: Aiden Neill Date: Wed, 25 Nov 2020 10:56:55 -0700 Subject: Added magma block contact damage (#5055) * Added magma block contact damage * Fireproof entities do not take damage from magma * Fire resistance prevents magma damage * No magma damage when hovering over magma block --- src/Defines.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Defines.h') diff --git a/src/Defines.h b/src/Defines.h index dc2835517..2f46e079c 100644 --- a/src/Defines.h +++ b/src/Defines.h @@ -278,6 +278,7 @@ enum eDamageType dtSuffocating, // Suffocating inside a block dtStarving, // Hunger dtCactusContact, // Contact with a cactus block + dtMagmaContact, // Contact with a magma block dtLavaContact, // Contact with a lava block dtPoisoning, // Having the poison effect dtWithering, // Having the wither effect @@ -306,6 +307,7 @@ enum eDamageType dtCactus = dtCactusContact, dtCactuses = dtCactusContact, dtCacti = dtCactusContact, + dtMagma = dtMagmaContact, dtLava = dtLavaContact, dtPoison = dtPoisoning, dtWither = dtWithering, -- cgit v1.2.3