Search in sources :

Example 6 with EntitySlimeling

use of micdoodle8.mods.galacticraft.planets.mars.entities.EntitySlimeling in project Galacticraft by micdoodle8.

the class MFRSpawnHandlerSlimeling method onMobExactSpawn.

// Prevent dupe of slimeling inventory by exact copy spawns
// (similar to what MFR does for vanilla donkeys)
@Override
public void onMobExactSpawn(EntityLivingBase entity) {
    EntitySlimeling ent = (EntitySlimeling) entity;
    ent.slimelingInventory = new InventorySlimeling(ent);
}
Also used : InventorySlimeling(micdoodle8.mods.galacticraft.planets.mars.inventory.InventorySlimeling)

Aggregations

EntityCargoRocket (micdoodle8.mods.galacticraft.planets.mars.entities.EntityCargoRocket)2 EntitySlimeling (micdoodle8.mods.galacticraft.planets.mars.entities.EntitySlimeling)2 TileEntityLaunchController (micdoodle8.mods.galacticraft.planets.mars.tile.TileEntityLaunchController)2 Entity (net.minecraft.entity.Entity)2 TileEntity (net.minecraft.tileentity.TileEntity)2 BlockPos (net.minecraft.util.BlockPos)2 Vector3 (micdoodle8.mods.galacticraft.api.vector.Vector3)1 EventWakePlayer (micdoodle8.mods.galacticraft.core.event.EventWakePlayer)1 SlotSpecific (micdoodle8.mods.galacticraft.core.inventory.SlotSpecific)1 GuiCargoRocket (micdoodle8.mods.galacticraft.planets.mars.client.gui.GuiCargoRocket)1 GuiLaunchControllerAdvanced (micdoodle8.mods.galacticraft.planets.mars.client.gui.GuiLaunchControllerAdvanced)1 GuiSlimelingInventory (micdoodle8.mods.galacticraft.planets.mars.client.gui.GuiSlimelingInventory)1 ContainerSlimeling (micdoodle8.mods.galacticraft.planets.mars.inventory.ContainerSlimeling)1 InventorySlimeling (micdoodle8.mods.galacticraft.planets.mars.inventory.InventorySlimeling)1 PacketSimpleMars (micdoodle8.mods.galacticraft.planets.mars.network.PacketSimpleMars)1 TileEntityCryogenicChamber (micdoodle8.mods.galacticraft.planets.mars.tile.TileEntityCryogenicChamber)1 EntityPlayerSP (net.minecraft.client.entity.EntityPlayerSP)1 EntityPlayerMP (net.minecraft.entity.player.EntityPlayerMP)1 Slot (net.minecraft.inventory.Slot)1 ItemStack (net.minecraft.item.ItemStack)1