简介
在空心矿山以及巫妖堡内的宝箱中有几率获得;
对某些生物使用后会将其转换成其他的生物;
若想查阅双向转换对照表,请查看下表。
附录(双向转换)
| 暮色生物 | 原版生物 |
|---|---|
牛头人 / 米诺陶(Minotaurs) | 僵尸猪人 EntityPigZombie |
野鹿(Deer) | 牛 EntityCow |
大角山羊(Bighorn Sheep) | 绵羊 EntitySheep |
野猪(Boar) | 猪 EntityPig |
渡鸦/乌鸦(Raven) | 蝙蝠 EntityBat |
恶狼(Hostile Wolf) | 狼 EntityWolf |
企鹅(Glacier Penguin) | 鸡 EntityChicken |
树篱蜘蛛(Hedge Spider) | 蜘蛛 EntitySpider |
集群蜘蛛(Swarm Spider) | 洞穴蜘蛛 EntityCaveSpider |
幽灵(Wraith) | 烈焰人(4.0.728 版本改为恼鬼) EntityBlaze |
红帽地精(Redcap Goblin) | 村民(4.0.728 版本移除) EntityVillager |
骷髅德鲁伊(Skeleton Druid) | 女巫 EntityWitch |
| 小兔子(Dwarf Rabbit) | 兔子 |
| 小鸟(Tiny Birds) | 鹦鹉 |
| 高塔幽灵(Carminite Ghastguard) | 恶魂(4.0.728 版本新增) |
| 高塔螟(Towerwood Borer) | 蠹虫(4.0.728 版本新增) |
| 迷宫史莱姆(Maze Slime) | 史莱姆(4.0.728 版本新增) |
参考资料
1.源代码的实体调用:
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.monster.EntityBlaze;
import net.minecraft.entity.monster.EntityCaveSpider;
import net.minecraft.entity.monster.EntityPigZombie;
import net.minecraft.entity.monster.EntitySpider;
import net.minecraft.entity.monster.EntityWitch;
import net.minecraft.entity.passive.EntityBat;
import net.minecraft.entity.passive.EntityChicken;
import net.minecraft.entity.passive.EntityCow;
import net.minecraft.entity.passive.EntityPig;
import net.minecraft.entity.passive.EntitySheep;
import net.minecraft.entity.passive.EntityVillager;
import net.minecraft.entity.passive.EntityWolf;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.util.Vec3;
import net.minecraft.world.World;
import twilightforest.TwilightForestMod;
import twilightforest.entity.EntityTFHedgeSpider;
import twilightforest.entity.EntityTFHostileWolf;
import twilightforest.entity.EntityTFMinotaur;
import twilightforest.entity.EntityTFRedcap;
import twilightforest.entity.EntityTFSkeletonDruid;
import twilightforest.entity.EntityTFSwarmSpider;
import twilightforest.entity.EntityTFWraith;
import twilightforest.entity.passive.EntityTFBighorn;
import twilightforest.entity.passive.EntityTFBoar;
import twilightforest.entity.passive.EntityTFDeer;
import twilightforest.entity.passive.EntityTFPenguin;
import twilightforest.entity.passive.EntityTFRaven;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
2.转换对照(较早版本没有小鸟和暮色兔子):
protected ItemTFTransformPowder()
{
super();
this.maxStackSize=64;
this.setCreativeTab(TFItems.creativeTab);
transformMap=new HashMap<Class<? extends EntityLivingBase>, Class<? extends EntityLivingBase>>();
addTwoWayTransformation(EntityTFMinotaur.class, EntityPigZombie.class);
addTwoWayTransformation(EntityTFDeer.class, EntityCow.class);
addTwoWayTransformation(EntityTFBighorn.class, EntitySheep.class);
addTwoWayTransformation(EntityTFBoar.class, EntityPig.class);
addTwoWayTransformation(EntityTFRaven.class, EntityBat.class);
addTwoWayTransformation(EntityTFHostileWolf.class, EntityWolf.class);
addTwoWayTransformation(EntityTFPenguin.class, EntityChicken.class);
addTwoWayTransformation(EntityTFHedgeSpider.class, EntitySpider.class);
addTwoWayTransformation(EntityTFSwarmSpider.class, EntityCaveSpider.class);
addTwoWayTransformation(EntityTFWraith.class, EntityBlaze.class);
addTwoWayTransformation(EntityTFRedcap.class, EntityVillager.class);
addTwoWayTransformation(EntityTFSkeletonDruid.class, EntityWitch.class);
}
你知道吗
被转换粉转换的生物会继承其原有生命值、手持的武器和身穿的盔甲,且生命值上限无法增加。
| 资料分类: | 工具 |
| 最大堆叠: | 64个 / 组 |


