Jump to content

shadowfacts

Forge Modder
  • Posts

    588
  • Joined

  • Last visited

Everything posted by shadowfacts

  1. JSON has nothing to do with packets, and to save data either use a normal config file or save it to NBT.
  2. Yes, my goal is to make a custom world type that will generate the overworld, nether, and end based on certain values in my configuration file.
  3. Did you bother reading the whole thing ImaFool?
  4. Yes, but why do you want to prevent the player from logging out? Depending on what your final goal is, there might be a better way to do this.
  5. Well then your "solution" wouldn't work either. Is there anyplace, (e.g. GitHub) that I can look at your ore generation code?
  6. Instead of encasing the vein in stone, you could just check to make sure that all the blocks around it are not liquids (other than yours) and are full size blocks. This way the gas couldn't spread outside of a vein unless a player (or something else) broke into the vein.
  7. Why do you want to keep "the player" logged in for an extra 10 seconds after they disconnect?
  8. GameRegistry.registerCustomItemStack("blockName0", new ItemStack(yourBlock, 1, 0)); GameRegistry.registerCustomItemStack("blockName1", new ItemStack(yourBlock, 1, 1)); Just make sure the block name is different for every ItemStack you register. In the ItemStack constructor the parameters in order are block/item, quantity, metadata.
  9. GameRegistry.registerCustomItemStack()
  10. Use NBT, this is the best way of saving data. You will need to save the data in the TileEntity not in the GUI itself.
  11. Use code tags to encapsulate your code, don't just paste it into the post.
  12. Storage as in item/block storage like AE? If so, don't remake AE.
  13. First of all, what do you want the servers to do?
  14. Servers? Like multiplayer servers? Or like computer servers? If you mean computer servers then, why?
  15. Anywhere in your code are you attempting to cast a MagFurnaceTE to TileEntityFurnace?
  16. Take a look at EnergyStorage, add field which is an instance of EnergyStorage to your TileEntity. But don't forget to have it read and write to NBT when your TileEntity does.
  17. Yeah, the last three floats are the x, y, and z coordinates of the player, in that order.
  18. Well, add it to your project. Then, take a look at the various interfaces and figure out which one applies to what you want to use RF for.
  19. Do you mean the name of the energy system would be "air"? If so: 1. This is not a good name, pick something unique. 2. PneumaticCraft has something similar involving pressurized air. 3. Why not just use an existing energy system like RF or EU?
  20. Use single quotes/apostrophes not double quotes.
  21. Air? Like Blocks.air? If so, then no, don't make a "generator" for it. If you want to create something like wind then you have to do everything yourself. There is no wind in Minecraft.
×
×
  • Create New...

Important Information

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