
Everything posted by IvanSteklow
-
[1.12.2] [SOLVED] spawnParticle not working
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.
- [1.12.2] Data exchanging between Client and Server
-
[1.12.2] Data exchanging between Client and Server
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*
- [1.12.2] Data exchanging between Client and Server
- [1.12.2] Data exchanging between Client and Server
- [SOLVED] [1.12.2] Phantom item in Machine inventory
-
[SOLVED] [1.12.2] Phantom item in Machine inventory
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*
- [1.11.2] Drop tracking
-
[1.11.2] Drop tracking
I want to drop hot item and if it in water it turns into not hot item =D
-
[1.11.2] Drop tracking
I need to track where item is. For example: This item is in water
-
Minecraft Forge won't load any mods for me? Amateur, help please!
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
-
Modded server keeps crashing
Try to delete this mod: SpaceAdvanced
-
[1.11.2] Drop tracking
Hi everyone, I need event that tracking all dropped items\blocks HELP ME PLS
-
[SOLVED][1.11.2] Water block or air?
Oh, thank you, I miss this fact
-
[SOLVED][1.11.2] Water block or air?
- [SOLVED][1.11.2] Water block or air?
But if I logging current block in console, that shows me Minecraft:air- [SOLVED][1.11.2] Play default minecraft sound
So thanks!- [SOLVED][1.11.2] Water block or air?
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- [SOLVED][1.11.2] Play default minecraft sound
So, 'cause I have only to blockpos, how to get nearest player?- [SOLVED][1.11.2] Play default minecraft sound
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- [CLOSED][Not solved, but closed][1.11.2] Area breaking bug
I think you don't understand me, it digging 9 blocks forward and backward. Video test:- [1.12] Block Variant Inventory Display Issue
Please upload it all to github and try to refresh your workspace and run game again- [CLOSED][Not solved, but closed][1.11.2] Area breaking bug
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))- [SOLVED][1.11.2] Switch Block NullPointerException
Thank you, I fixed it!- [SOLVED][1.11.2] Switch Block NullPointerException
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 - [SOLVED][1.11.2] Water block or air?
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.