Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mightydanp

Members
  • Joined

  • Last visited

Everything posted by Mightydanp

  1. Alright if i remove that and theres a cool down ++ how am i sepost to do that without the cooldown ++ ?
  2. Thats what i am trying to do in http://pastebin.com/J10X0wHb
  3. right at first this item want a metadata and it looked like this, it worked fine.... http://pastebin.com/uX0AeCjd then i made it a metadata and i couldn't get the cool-down to stay because after it would change the metadata to -1 then it would automatically reset the cool down.. i tried to accomplish saving the metadata by using stacktagcompound but i ended up breaking it where it wouldn't kill anything at all. i would enjoy some help on this please.... this is the code i made so far(warning it is messy for right now) http://pastebin.com/J10X0wHb
  4. Wait if it says if worldhellworld doesnt it only work in the nether ?
  5. i have tried something like this @SideOnly(Side.CLIENT) @Override public IIcon getIcon(IBlockAccess iBlockAcess, int x, int y, int z, int side){ if(iBlockAcess instanceof World){ long worldTime = ((World) iBlockAcess).getWorldTime() % 24000; if(worldTime <= 1200){ return iconArray[iBlockAcess.getBlockMetadata(x, y, z)]; } } return iconUnactive[iBlockAcess.getBlockMetadata(x, y, z)]; }
  6. Alright so your saying i cant use it in the way that im using it to fins out the time of say ? ( i just woke up)
  7. i have tried something like this @SideOnly(Side.CLIENT) @Override public IIcon getIcon(IBlockAccess world, int x, int y, int z, int side){ if(world instanceof World){ if(((World) world).getWorldTime() >= 0 && ((World) world).getWorldTime() <= 2400){ return iconArray[world.getBlockMetadata(x, y, z)]; } } return iconUnactive[world.getBlockMetadata(x, y, z)]; }
  8. in this public IIcon getIcon(IBlockAccess world, int x, int y, int z, int side){} IBlockAccess does not have access to getTotalWorldTime all that is in the IBlockAccess is getBlock getTileEntity getLightBrightnessForSkyBlocks getBlockMetadata isBlockProvidingPowerTo isAirBlock getBiomeGenForCoords getHeight extendedLevelsInChunkCache isSideSolid
  9. This does not work it always returns false @SideOnly(Side.CLIENT) @Override public IIcon getIcon(int side, int meta) { if(!Minecraft.getMinecraft().theWorld.isRemote){ if(Minecraft.getMinecraft().theWorld.isDaytime() == true){ return unActive; }else if (Minecraft.getMinecraft().theWorld.isDaytime() == false){ return magic; } } return unActive; }
  10. I have tried that in a form it did not work because it would always we turn false
  11. im not using a tileneitity special renerer i am using a basic furnace code to try to get the blocks to switch from one block to the other based on what time of day it is
  12. Alright i am changing my block status on what time of day it is. i am using metadata for this code i have based this off of the furnace and how it returns its active texture I do have one question. since i am using metadata on the blocks do i have to get and save the the metadata of the block for it to use later because some of the ids are 506, 506:1 .... 509, 509:1 an i think if i did it like this without the world.setBlockMetadataWithNotify(int, int, int, int, int); instead i wouldnt be able to change it to the block it needs to be it would just switch from 506:2 to : 509 to 506 and that would mess up the meaning of the block http://pastebin.com/Y6kwxpBc http://pastebin.com/zpdmACmL
  13. im a little bit confused is there a way to access .. public ItemStack[] inventory = new ItemStack[iNV_SIZE]; when it was static this worked perfectly @Override public boolean shouldAddToList (){ return InventoryEotInventory.inventory[0] != null && InventoryEotInventory.inventory[0].getItem() == ModItems.tier1Bag; } now since i took it off to get it to work it wants me to change it to static... is here anyother way i can cheek if there is a item in that slot ? because ive tried to fix it myself for the past hour and i cannot figure out how..
  14. would it be a good idea to put my gui handler like you have it or keep it as a separate class
  15. Yea he pointee something out that i missed when i wae cleaning up the code... sorry for ranting i just alot of stuff in life have me stressing so i cannot think clearly, but i do try and solve the problem my self sometimes someone else can see something i cannot it is usualy why i ask for help
  16. This is what i looked over https://github.com/coolAlias/Tutorial-Demo/blob/1.7.10/src/main/java/tutorial/entity/ExtendedPlayer.java And for static i know about static now something i didnt know (noone is perfect ) i put everything in there in my extended player ( i used to call rhe class eotPlayerStats didnt sound right though)
  17. All tue code was from the hit hub under the 1.7.10 i read everything u used in the /* */ // the whole reason i went to ur gir hub was becauae,ur regular tutorial format was hard to read, and i couldnt copy paste it because even of i did would have error and would end up spending 5 minuts on each class prettying it up because minecraft doesnt like java code you 1.7.10 code was what i used and then if u look at the main one i think u made it mainly for 1.8 it has every change that the 1.7.10 was sepost to have
  18. Everything in that class,came from the tutorial .... i didnt change anything in the tutorial Edit : i looked back over at ur git hub tutorial n u changed it n fixed it ..... thanks for making me seem stupid ^^ i love it sooo much everything i used is from ur tutorial all i did was delete everything involving ur mana so dont say im wrong i came here for someone to help me with what u gave me..
  19. For my extended player and my packet i fallowed someone's tutorial
  20. https://github.com/mightydanp/EssenceofTech?files=1 my git hub
  21. When i click on the item and place it into the slot it will place it into the slot but also still have it in my mouse so now there is 2 of the item, and if i shift click into the slot it will still be in the same slot but will be in the slot it is sepost to be in also.. i looked over most of the code and classes but i cannot find the cause of this..
  22. What i am having trouble with is when i build the jar the files in dependent folder does not get compiled with it http://pastebin.com/FF2pw5u5

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.