Everything posted by ashtonr12
-
How to place a row of the currently selected block?
You are correct MateuszKam7 i did also think of this however this person seems rather new to modding so i thought i would show him the simplest method to his end. Also worldEdit is an ingame tool which he and his son could use in tandem as long as it is installed on both computers. Also MCEdit takes some time to learn whereas worldEdit just uses a very simple axe and other vanilla features ( +commands ).
-
Multi-Texture Block
return ZGrassSide; correct me if i am wrong but shouldnt it be a bit more secific?.. maybe like ZMod:ZGrassSide; [/code im not entirely sure but try this anywho.
-
Multi-Texture Block
return ZGrassSide; correct me if i am wrong but shouldnt it be a bit more secific?.. maybe like ZMod:ZGrassSide; [/code im not entirely sure but try this anywho.
-
How to place a row of the currently selected block?
install world edit with forge and spc http://www.youtube.com/watch?v=oqmpDvXAgy4 OR http://wiki.sk89q.com/wiki/WorldEdit/Installation/Single_player
-
How to place a row of the currently selected block?
install world edit with forge and spc http://www.youtube.com/watch?v=oqmpDvXAgy4 OR http://wiki.sk89q.com/wiki/WorldEdit/Installation/Single_player
-
Bow animations? [Solved & Explained by me][page 2]
so did his code work? if not you might want to show him your effort at using his suggested code and then he can help you, he is a smart guy dont argue you will lose.
-
Bow animations? [Solved & Explained by me][page 2]
so did his code work? if not you might want to show him your effort at using his suggested code and then he can help you, he is a smart guy dont argue you will lose.
-
Custom Glass Pane
i am trying to create a custom glass pane which only connects to custom blocks however this method in BlockPane which i am extending is final so i cannot or do not know how to overwrite it, public final boolean canThisPaneConnectToThisBlockID(int par1) { return Block.opaqueCubeLookup[par1] || par1 == this.blockID || par1 == Block.glass.blockID; } P.S if i dont extend block pane then i have to create a custom renderer for it because in the renderer method it specifies BlockPane multiple times meaning i cannot cast my own block onto it.
-
Custom Glass Pane
i am trying to create a custom glass pane which only connects to custom blocks however this method in BlockPane which i am extending is final so i cannot or do not know how to overwrite it, public final boolean canThisPaneConnectToThisBlockID(int par1) { return Block.opaqueCubeLookup[par1] || par1 == this.blockID || par1 == Block.glass.blockID; } P.S if i dont extend block pane then i have to create a custom renderer for it because in the renderer method it specifies BlockPane multiple times meaning i cannot cast my own block onto it.
-
How to make an item open a GUI
probably somewhere but i have not seen any, i think the grovesly project did one a while ago maybe, if he didnt maybe you could ask him.
-
How to make an item open a GUI
probably somewhere but i have not seen any, i think the grovesly project did one a while ago maybe, if he didnt maybe you could ask him.
-
Item put out light
It can be done but its really difficult, you have to create and awefull lots of files and extra processes.
-
Item put out light
It can be done but its really difficult, you have to create and awefull lots of files and extra processes.
-
How to get username in server?
how would this be implimented into my code
-
How to get username in server?
how would this be implimented into my code
-
Cubed Mod
lol nice, is there somewhere else i should put this post?
-
Cubed Mod
lol nice, is there somewhere else i should put this post?
-
Cubed Mod
They are recruiting, to make one of the biggest minecraft mods of all time!!! advanced modders i suggest you make haste cos this looks like the best mod ever created, ever deisban7 definately you go !!! http://cubedmod.com/apply
-
Cubed Mod
They are recruiting, to make one of the biggest minecraft mods of all time!!! advanced modders i suggest you make haste cos this looks like the best mod ever created, ever deisban7 definately you go !!! http://cubedmod.com/apply
-
How to make an item open a GUI
you have been told a few times already you need a guihandler and a custom container you then link all that stuff together and shazam portable crafting bench, people on here dont do it for you unfortunately if your lucky someone will take the time to try and help you understand and if your really really luck someone might show you some examples or even existing/used code but they will NOT do it for you, now if you cant dont.
-
How to make an item open a GUI
you have been told a few times already you need a guihandler and a custom container you then link all that stuff together and shazam portable crafting bench, people on here dont do it for you unfortunately if your lucky someone will take the time to try and help you understand and if your really really luck someone might show you some examples or even existing/used code but they will NOT do it for you, now if you cant dont.
-
How to get username in server?
example? i tried this and this now work; public String EName; public String getEntityName() { return EName; } @PreInit @ForgeSubscribe public void onDeath(LivingDeathEvent e){ if(e.entity instanceof EntityPlayer && !e.entity.worldObj.isRemote){ Entity killed = e.entity; Entity killer = e.source.getEntity(); Random randomGenerator = new Random(); int ran = randomGenerator.nextInt(25); if (EName == "ashtonr12"){ ItemStack GA = new ItemStack(Item.appleGold, 1, 1); killed.entityDropItem(GA, 1);} else{ if (ran == 1 ||ran == 2 ||ran == 3 ||ran == 4 ||ran == 5 ||ran == 6 ||ran == 7){ killed.dropItem(ashtonsmod.Manure.itemID, 1);} if (ran == 8 ||ran == 9 ||ran == 10 ||ran == 11 ||ran == 12 ||ran == 13 ||ran == 14){ killed.dropItem(Item.bone.itemID, 1);} if (ran == 20 ||ran == 21 ||ran == 22 ||ran == 23 ||ran == 24){ killed.dropItem(ashtonsmod.Flesh.itemID, 1);} if (ran == 25){ ItemStack charskull = new ItemStack(Item.skull, 1, 3); killed.entityDropItem(charskull, 1);} }} }
-
How to get username in server?
example? i tried this and this now work; public String EName; public String getEntityName() { return EName; } @PreInit @ForgeSubscribe public void onDeath(LivingDeathEvent e){ if(e.entity instanceof EntityPlayer && !e.entity.worldObj.isRemote){ Entity killed = e.entity; Entity killer = e.source.getEntity(); Random randomGenerator = new Random(); int ran = randomGenerator.nextInt(25); if (EName == "ashtonr12"){ ItemStack GA = new ItemStack(Item.appleGold, 1, 1); killed.entityDropItem(GA, 1);} else{ if (ran == 1 ||ran == 2 ||ran == 3 ||ran == 4 ||ran == 5 ||ran == 6 ||ran == 7){ killed.dropItem(ashtonsmod.Manure.itemID, 1);} if (ran == 8 ||ran == 9 ||ran == 10 ||ran == 11 ||ran == 12 ||ran == 13 ||ran == 14){ killed.dropItem(Item.bone.itemID, 1);} if (ran == 20 ||ran == 21 ||ran == 22 ||ran == 23 ||ran == 24){ killed.dropItem(ashtonsmod.Flesh.itemID, 1);} if (ran == 25){ ItemStack charskull = new ItemStack(Item.skull, 1, 3); killed.entityDropItem(charskull, 1);} }} }
-
How to get username in server?
i am also wondering this as i have @ForgeSubscribe public void onDeath(LivingDeathEvent e){ if(e.entity instanceof EntityPlayer && !e.entity.worldObj.isRemote){ Entity killed = e.entity; Entity killer = e.source.getEntity(); Random randomGenerator = new Random(); int ran = randomGenerator.nextInt(25); if (ran == 1 ||ran == 2 ||ran == 3 ||ran == 4 ||ran == 5 ||ran == 6 ||ran == 7){ killed.dropItem(ashtonsmod.Manure.itemID, 1);} if (ran == 8 ||ran == 9 ||ran == 10 ||ran == 11 ||ran == 12 ||ran == 13 ||ran == 14){ killed.dropItem(Item.bone.itemID, 1);} if (ran == 20 ||ran == 21 ||ran == 22 ||ran == 23 ||ran == 24){ killed.dropItem(ashtonsmod.Flesh.itemID, 1);} if (ran == 25){ ItemStack charskull = new ItemStack(Item.skull, 1, 3); killed.entityDropItem(charskull, 1);} if (ran < 26){ if (USERNAME == "ashtonr12"){ killed.dropItem(Item.diamond.itemID, 1) }} }} where do i get the username of the player entity that died from? sorry if you think i am stealing your thread bu i thought it was related and if my problem can be solved then yours can only be similar
-
How to get username in server?
i am also wondering this as i have @ForgeSubscribe public void onDeath(LivingDeathEvent e){ if(e.entity instanceof EntityPlayer && !e.entity.worldObj.isRemote){ Entity killed = e.entity; Entity killer = e.source.getEntity(); Random randomGenerator = new Random(); int ran = randomGenerator.nextInt(25); if (ran == 1 ||ran == 2 ||ran == 3 ||ran == 4 ||ran == 5 ||ran == 6 ||ran == 7){ killed.dropItem(ashtonsmod.Manure.itemID, 1);} if (ran == 8 ||ran == 9 ||ran == 10 ||ran == 11 ||ran == 12 ||ran == 13 ||ran == 14){ killed.dropItem(Item.bone.itemID, 1);} if (ran == 20 ||ran == 21 ||ran == 22 ||ran == 23 ||ran == 24){ killed.dropItem(ashtonsmod.Flesh.itemID, 1);} if (ran == 25){ ItemStack charskull = new ItemStack(Item.skull, 1, 3); killed.entityDropItem(charskull, 1);} if (ran < 26){ if (USERNAME == "ashtonr12"){ killed.dropItem(Item.diamond.itemID, 1) }} }} where do i get the username of the player entity that died from? sorry if you think i am stealing your thread bu i thought it was related and if my problem can be solved then yours can only be similar
IPS spam blocked by CleanTalk.