Jump to content

KakesRevenge

Members
  • Posts

    153
  • Joined

  • Last visited

Everything posted by KakesRevenge

  1. Hello, im trying to make command which will work in survival mode too command Class package fewmorethings.other.commands;import java.util.Iterator;import java.util.List;import fewmorethings.help.ChatHelper;import net.minecraft.command.CommandBase;import net.minecraft.command.ICommandSender;import net.minecraft.entity.passive.EntityPig;import net.minecraft.entity.player.EntityPlayer;import net.minecraft.init.Blocks;import net.minecraft.init.Items;import net.minecraft.item.Item;import net.minecraft.item.ItemStack;import net.minecraft.item.ItemSword;import net.minecraft.item.crafting.CraftingManager;import net.minecraft.item.crafting.IRecipe;import net.minecraft.potion.Potion;import net.minecraft.potion.PotionEffect;import net.minecraft.stats.AchievementList;import net.minecraft.util.ChatComponentTranslation;public class Achievements extends CommandBase {public String getCommandName() { return "achievements"; } public String getCommandUsage(ICommandSender CommandSender) { return "/achievements"; } public int getRequiredPermissionLevel() { return 0;} public void processCommand(ICommandSender CommandSender, String[] par2ArrayOfStr) { EntityPlayer player = getCommandSenderAsPlayer(CommandSender); player.triggerAchievement(AchievementList.diamonds); } } this isnt working thx for any help
  2. Hey, how to properly make an item/block ? this or this ? What is better ? Where is the difference ?
  3. 1. How ? 2. because the portal is big 3. How to use ForgeDirections ?
  4. Okey so i was testing a little bit and i have added onBlockAdded and onblockUpdate but my problem is when im breaking one of the obsidians on the side it will still be on heres the code :
  5. Hey, Im trying to make alfheim portalish multiblock and i have 2 blocks 1.obsidianlampoff 2.obsidianlampon and when the blocks are in place the obsidianlampoff will become obsidianlampon... Obsidian Lamp On Obsidian Lamp Off Im gonna check if there is air block later on and then make the acutal portal class but first i need to get basics to work System.out.println("Something REALLY Quite COOL"); isNOT printing out and the block isnt changing to lampon. Three images here : http://imgur.com/Arjh767,bf84Kaa,3ily79U#0 Any help appreciated thanks in advance.
  6. Heyo ! I have a quick question i want to apply redstone signal to obsidian and when there is redstone signal applied the obsidian will change to obsidian lamp or glimmering obsidian or something... How to do it ? Is here something like redstone signal applied event ? Thx in advance.
  7. the thing is i dont want to create another flint and steel
  8. Hey, I want to create container of an existing item (flint and steel). + I dont want to update on 1.8 Edit : I want to craft something with flint and steel and use up 1 durability of it. Any ideas ?
  9. Im registering it like so GameRegistry.registerItem(NetherGate, NetherGate.getUnlocalizedName()); i dont have anything like itm. in it.
  10. Hey, When im giving item from my mod it looks like this : Why there is the -- item. ?
  11. It doesnt exist, but what does exist is Item.getItemFromBlock. EDIT : Oh never mind its 1.7.12 i think
  12. oh i didnt recognize i did that ok thank you for help
  13. no idea why but this is not working wither.setPosition(x, y, z); this one either wither.posX = x; wither.posY = y; wither.posZ = z;
  14. Hi, Im trying to make some kind of ritual which will spawn wither ... this is my item class The word DEBUG will be actually printed out but the wither will not spawn
  15. ok but how to get the color of the sheep taht im interacting with ?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.