mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 04:09:40 +00:00
Initial fixes, still a long ways to go
This commit is contained in:
1 parent
35d495260a
commit
8dcffe3d5c
195 files changed
+930
-5179
No files matched your search
+6
-3
@@ -1,10 +1,11 @@
|
||||
package test;
|
||||
|
||||
import mods.tinker.tconstruct.entity.*;
|
||||
import mods.tinker.tconstruct.entity.MiniGardy;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.item.EntityItem;
|
||||
import net.minecraft.entity.passive.EntityChicken;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
@@ -38,9 +39,11 @@ public class XinStick extends Item
|
||||
//clearInventoryExeptHotbar(player);
|
||||
MiniGardy entity = new MiniGardy(world);
|
||||
entity.setOwner(player);
|
||||
//entity.func_94058_c("Cutie");
|
||||
//entity.username = "NekoGloop";
|
||||
//entity.setCustomNameTag("Cutie");
|
||||
spawnEntity(player.posX, player.posY + 1, player.posZ, entity, world, player);
|
||||
EntityChicken chicken = new EntityChicken(world);
|
||||
spawnEntity(player.posX, player.posY + 1, player.posZ, chicken, world, player);
|
||||
entity.mountEntity(chicken);
|
||||
//healPlayer(player);
|
||||
//removeChunk(world, player.posX, player.posZ);
|
||||
return stack;
|
||||
|
||||
Reference in new issue
Block a user