KakesRevenge
Members-
Posts
153 -
Joined
-
Last visited
Everything posted by KakesRevenge
-
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
-
Ok thank you all:)
-
Hey, how to properly make an item/block ? this or this ? What is better ? Where is the difference ?
-
[1.7.10] onNeighborBlockChange not working
KakesRevenge replied to KakesRevenge's topic in Modder Support
1. How ? 2. because the portal is big 3. How to use ForgeDirections ? -
[1.7.10] onNeighborBlockChange not working
KakesRevenge replied to KakesRevenge's topic in Modder Support
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 : -
[1.7.10] onNeighborBlockChange not working
KakesRevenge replied to KakesRevenge's topic in Modder Support
Double check and yes they are -
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.
-
[1.7.10]onRedstoneSignalAppliedEvent ?
KakesRevenge replied to KakesRevenge's topic in Modder Support
ok thanks -
[1.7.10]onRedstoneSignalAppliedEvent ?
KakesRevenge replied to KakesRevenge's topic in Modder Support
So how to do it then ? -
[1.7.10]onRedstoneSignalAppliedEvent ?
KakesRevenge replied to KakesRevenge's topic in Modder Support
*bump* -
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.
-
[1.7.10] Container of an existing item
KakesRevenge replied to KakesRevenge's topic in Modder Support
the thing is i dont want to create another flint and steel -
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 ?
-
Weird item/tile annotation when giving item/block
KakesRevenge replied to KakesRevenge's topic in Modder Support
Im registering it like so GameRegistry.registerItem(NetherGate, NetherGate.getUnlocalizedName()); i dont have anything like itm. in it. -
Hey, When im giving item from my mod it looks like this : Why there is the -- item. ?
-
It doesnt exist, but what does exist is Item.getItemFromBlock. EDIT : Oh never mind its 1.7.12 i think
-
[1.7.10] Spawning entity with item - onItemUse
KakesRevenge replied to KakesRevenge's topic in Modder Support
oh i didnt recognize i did that ok thank you for help -
[1.7.10] Spawning entity with item - onItemUse
KakesRevenge replied to KakesRevenge's topic in Modder Support
this isnt working -
[1.7.10] Spawning entity with item - onItemUse
KakesRevenge replied to KakesRevenge's topic in Modder Support
what yaw and pitch means ? How to get them ? -
[1.7.10] Spawning entity with item - onItemUse
KakesRevenge replied to KakesRevenge's topic in Modder Support
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; -
[1.7.10] Spawning entity with item - onItemUse
KakesRevenge replied to KakesRevenge's topic in Modder Support
how to set cords ? -
[1.7.10] Spawning entity with item - onItemUse
KakesRevenge replied to KakesRevenge's topic in Modder Support
what ?? -
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
-
[1.7.10][SOLVED] How to find out color of sheep
KakesRevenge replied to KakesRevenge's topic in Modder Support
wow ok im ashamed of myself .. -
[1.7.10][SOLVED] How to find out color of sheep
KakesRevenge replied to KakesRevenge's topic in Modder Support
ok but how to get the color of the sheep taht im interacting with ?