From 01288eff62d58d87dae41276ca219d6381e13a34 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 13 Dec 2019 15:46:01 +0100 Subject: [PATCH] Enderman no longer pickup dirt-with-grass directly --- mods/ENTITIES/mobs_mc_gameconfig/init.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mods/ENTITIES/mobs_mc_gameconfig/init.lua b/mods/ENTITIES/mobs_mc_gameconfig/init.lua index da0966e413..374edabcec 100644 --- a/mods/ENTITIES/mobs_mc_gameconfig/init.lua +++ b/mods/ENTITIES/mobs_mc_gameconfig/init.lua @@ -175,6 +175,13 @@ mobs_mc.override.enderman_takable = { -- Generic handling, useful for entensions "group:enderman_takable", } +mobs_mc.override.enderman_replace_on_take = { + -- Turn covered dirt blocks to normal dirt. + -- This is a workaround because the dirt with grass texture fails when held by the enderman + -- (because of the node coloring). + -- FIXME: Remove these lines as soon we support rendering dirt with grass + ["mcl_core:dirt_with_grass"] = "mcl_core:dirt", +} mobs_mc.override.misc = { totem_fail_nodes = { "mcl_core:void", "mcl_core:realm_barrier" }, }