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.

IvanSteklow

Forge Modder
  • Joined

  • Last visited

Everything posted by IvanSteklow

  1. So, I have same problem with particles. Try to make cycle of particle spawn with random position or try to see how furnace/torch/lava particle generator works.
  2. So, I tried. Crash: Packet Handler: *CLICK* What's wrong. Yeah, I don't like packets and never work with it
  3. So, I try to get 'TIME' from NBT, but I don't know why it didn't working. So, writeToNBT in my Tile Entity class looks like that: @Override public NBTTagCompound writeToNBT(NBTTagCompound compound) { super.writeToNBT(compound); compound.setInteger("time", this.time); compound.setInteger("maxTime", METAL_REFINERY_WORKTIME); compound.setTag("items", this.itemStackHandler.serializeNBT()); return compound; } And my GUI Screen Updater looks like that: @Override public void updateScreen() { NBTTagCompound compound = new NBTTagCompound(); compound = this.te.writeToNBT(compound); this.time = compound.getInteger("time"); this.maxTime = compound.getInteger("maxTime"); Core.logger.info(compound); super.updateScreen(); } What's wrong? Full code: Block: *CLICK* Tile Entity: *CLICK* Container: *CLICK* GUI: *CLICK*
  4. Can U give me some tutorials, pls?
  5. Hello Modders! Sorry for my bad English I have Tile Entity that have working time and I have GUI with Progress Bar that need this working time. And I don't know how to do it. Pls help Block: *CLICK* Tile Entity: *CLICK* Container: *CLICK* GUI: *CLICK*
  6. OMG.. I forget about this. Thank you
  7. Hello Modders! Please excuse me for my broken English)) I have a machine for processing iron bars in scrap metal. And when I run it - I have a strange bug with phantom items. See below on GIF. Help please with the code. I can not understand the problem. Block: *CLICK* Tile Entity: *CLICK* Container: *CLICK* GUI: *CLICK* GIF: *CLICK*
  8. I want to drop hot item and if it in water it turns into not hot item =D
  9. I need to track where item is. For example: This item is in water
  10. Please, download all mods from CURSE!!! https://minecraft.curseforge.com/ or from official sites of developers, this is site of chicken bones: http://chickenbones.net/Pages/links.html
  11. Try to delete this mod: SpaceAdvanced
  12. Hi everyone, I need event that tracking all dropped items\blocks HELP ME PLS
  13. Oh, thank you, I miss this fact
  14. But if I logging current block in console, that shows me Minecraft:air
  15. Hi everyone, I want to identify where water and I have a BlockPos, but it doesn't work: @SubscribeEvent public static void livingDropsEvent(ItemTossEvent e) { Utils.getLogger("FMHammers").info("1"); if (e.getEntityItem().getEntityItem().getItem() == ModItems.moltenDuctTape) { Utils.getLogger("FMHammers").info("2"); World world = e.getEntity().getEntityWorld(); Block srcBlock = world.getBlockState(e.getEntity().getPosition()).getBlock(); BlockPos pos = e.getEntity().getPosition(); EntityItem item = new EntityItem(world, pos.getX(), pos.getY(), pos.getZ(), new ItemStack(ModItems.ductTape)); if (srcBlock.equals(Blocks.WATER)) { Utils.getLogger("FMHammers").info("3"); e.getEntity().setDead(); world.spawnEntity(item); world.playSound(pos.getX() + 0.5D, pos.getY() + 1.0D, pos.getZ() + 0.5D, SoundEvents.BLOCK_FIRE_AMBIENT, SoundCategory.AMBIENT, 1.0f, 1.0f, true); world.spawnParticle(EnumParticleTypes.SMOKE_NORMAL, pos.getX() + 0.5D, pos.getY() + 1.0D, pos.getZ() + 0.5D, 0.0D, 0.0D, 0.0D, new int[0]); } } } HELP ME PLS
  16. So, 'cause I have only to blockpos, how to get nearest player?
  17. Hi everyone, I want to play default minecraft sound: world.playSound(pos.getX() + 0.5D, pos.getY() + 1.0D, pos.getZ() + 0.5D, "liquid.splash", SoundCategory.AMBIENT, 1.0f, 1.0f, true); But it doesn't work. I don't know how to play it HELP ME PLS
  18. I think you don't understand me, it digging 9 blocks forward and backward. Video test:
  19. Please upload it all to github and try to refresh your workspace and run game again
  20. Hi everyone, I have one problem, if I use my drill, it digging in both side. For example: My drill digging area 3x3x3 and it digging 3 blocks forward and backward, but I want only forward (where looking player). Code of digging is here: https://github.com/IvanSteklow/FMHammers/blob/master/src/main/java/ivansteklow/fmhammers/tools/ItemDrill.java#L80 PLS HELP, and excuse me for broken english))
  21. Hi everyone, I started new mod, but got a problem: Crash-report: So, you can view this file at my GitHub: https://github.com/IvanSteklow/FMHammers/blob/master/src/main/java/ivansteklow/fmhammers/tools/ItemHammer.java HELP ME PLS!!! & excuse me for my broken english

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.