mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 13:09:53 +00:00
Ender creeper melting (#264)
This commit is contained in:
1 parent
c47a891471
commit
7e9b5ee853
3 files changed
+5
-1
No files matched your search
@@ -8,5 +8,6 @@ public class LoadedMods {
|
||||
public static final boolean baubles = Loader.isModLoaded("Baubles");
|
||||
public static final boolean baublesExpanded = Loader.isModLoaded("Baubles|Expanded");
|
||||
public static final boolean tiCTooltips = Loader.isModLoaded("TiCTooltips");
|
||||
public static final boolean specialMobs = Loader.isModLoaded("SpecialMobs");
|
||||
|
||||
}
|
||||
@@ -45,11 +45,13 @@ import mantle.blocks.iface.IMasterLogic;
|
||||
import mantle.blocks.iface.IServantLogic;
|
||||
import mantle.world.CoordTuple;
|
||||
import tconstruct.TConstruct;
|
||||
import tconstruct.compat.LoadedMods;
|
||||
import tconstruct.library.crafting.Smeltery;
|
||||
import tconstruct.smeltery.SmelteryDamageSource;
|
||||
import tconstruct.smeltery.TinkerSmeltery;
|
||||
import tconstruct.smeltery.inventory.SmelteryContainer;
|
||||
import tconstruct.util.config.PHConstruct;
|
||||
import toast.specialMobs.entity.creeper.EntityEnderCreeper;
|
||||
|
||||
/*
|
||||
* Simple class for storing items in the block
|
||||
@@ -342,7 +344,7 @@ public class SmelteryLogic extends InventoryLogic implements IActiveLogic, IFaci
|
||||
if (o instanceof EntityVillager villager && PHConstruct.meltableVillagers) {
|
||||
fluid = TinkerSmeltery.moltenEmeraldFluid;
|
||||
amount = villager.isChild() ? 5 : 40;
|
||||
} else if (o instanceof EntityEnderman) {
|
||||
} else if (o instanceof EntityEnderman || (LoadedMods.specialMobs && o instanceof EntityEnderCreeper)) {
|
||||
fluid = TinkerSmeltery.moltenEnderFluid;
|
||||
amount = 125;
|
||||
} else if (o instanceof EntityIronGolem) {
|
||||
|
||||
Reference in new issue
Block a user