Skip 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.

Animefan8888

Forge Modder
  • Joined

  • Last visited

Everything posted by Animefan8888

  1. What you need to do is call markDirty after setting the bame, as names are saved to the disk, but they need to know they need to be saved. setCustomName is a method in TileEntityChest specifically. And it exist is 1.11
  2. Check a 5x5 area and extract power from the energy providers. Then check the 5x5 space again and transmit the energy to 'machines'. Finally balance the energy in the tethers within the 5x5 area. You should do it in steps not all at once. Also something I feel I need to say. Ender IO works on a push based system, meaning you cannot extract from Ender IO generators or capacitors. They will have to push to you.
  3. Probably just RF because a lot of RF mods have adopted the Forge Energy capability.
  4. EntityPlayerMP player.... player.connection.sendPacket(packetIn);
  5. I think the "problem" is that you have a lot of Items and Blocks. I don't think there is anything you can do about this.
  6. I would suggest uploading your mod to github or some other service and allowing people to take a look. And secondly not sure if you allocated more than one gig of Ram sense Minecraft limits this to 1 at runtime, so that it does not lag/take all the computers ram during moments it needs more.
  7. Think of NBT as a file system. You have folders which are NBTTagCompounds and NBTTagLists. Then you have individual files which are the individual save elements like NBTTagDouble. And each had a file name. Calling NBTTagCompound#setDouble(fileName, value) Creates the file under the folder and has the file name as its identifier.
  8. When saving use an NBTTagCompound instead of a single NBT...
  9. You can use obj models instead of JSON models.
  10. An AxisAlignedBB can even take in a single BlockPos so the you want it is similar.
  11. Is there a reason you have overrided mergeItemStack? And here is a transfer stack in slot tutorial http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571051-custom-container-how-to-properly-override-shift
  12. Extending EnergyStorage allows you to add custom method logic to specific methods without having to code the entire class. While implementing IEnergyStorage requires you to override all the methods and "add" logic to them.
  13. I said it is not getting initialized before it is being used, try FMLServerAboutToStartEvent.
  14. It seems like your RegistryInformation field in EnderRegistry is not initialized before you use it.
  15. Should be event.getBlock() == Blocks.whatever
  16. You need to convert to double or float; something that can support decimals.
  17. Well, I would guess updateProgressBar, but this would be a new method, because it does not exists in the default Container class and is also not overriden in Furnace (there it is created). But this method seems also to be just there, but not used... atleast in TileEntityFurnace and in the GUI and in the Container itself, eclipse couldn't find any place where it's called. It does override updateProgressBar and it does exist in Container. ContainerFurnace just doesn't have the @Override over it.
  18. You also need to override another method that has a similar name to sendProgressBarUpdate.
  19. You need to sync it to the client, if it can be converted to a number then look at ContainerFurnace. Other wise you need to use packets.
  20. You override getActualState in your Block class. This will return the default state with 6 values; boolean values. Each one will represent if there is a block that is not air. If there is a block that is not air it will add to the model using forges submodel system. Meaning you will use a forge style BlockState. You will also have to override getMetaFromState, getStateFromMeta, createBlockState. What do you mean? I know Blockstates would probably be better but I find it a pain setting up the blockstates and all... I think I found it! I just had to set a cullface for the elements! But now the planes of the block below and my block are z-fighting (I think that's the right word). How do I fix that? You will have to make one face slightly closer to the middle of the block or slightly farther from the block.
  21. There would be a way... "north": { "texture": "#all", "uv": [ 0.0, 0.0, 0.0, 16.0 ] }, You specify the face in the model. But the BlockState part is definitely the correct way to go.
  22. You need a container for the players inventory.

Important Information

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

Account

Navigation

Search

Search

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.