Everything posted by BusyBeever
-
[1.8.9] Cant resolve Error on an easy blockstates Ore Block..
Im not sure if it is part of the problem, but i am always using lower case letters for the json stuff
-
[1.8 and 1.9] Having a few issues on 1.9 and 1.8
You should open a new thread for it, this is getting outta control
-
[1.8.9] [UNSOLVED] Get player from UUID with item
Alright. This might be an excellent use for Capabilties. You can create one single Capability (CapabilityPlayerStorage? I should stop naming stuff). After that you can give ur special item, your special block/chest/furnace the capability (for block it will only work if it is a tileentity I think) the Capability and store the information inside of it. I think for the thing with the bed you will need some kind of worldsaveddata, since you cant store information directly inside the vanilla bed
-
[1.9] Are tile entities loaded before or after entities?
Okay im not sure what exactly you want. Are we talking about tileentities(te) inside a te (title) or are we talking about a te inside an entity (post)? Anyway. You shouldn't store a TileEntity ANYWHERE. Just store the position of the te as variable (blockpos) and get it via world#getTileEntity everytime you need it
-
[1.8.9] Mob Break Blocks / Mobs Climb Over Each Other.
Destroying blocks should be a custom AI Task
-
teleportation
you need to store the position in the items nbttagcompound
-
My Mod uses a library that requires org.apache. Help?
either pack it inside ur jar file or add it separately to ur mods folder
-
[1.9] anti griefing mod
Depends on what "anti griefing" means for you? Make a list of it and start watching how to implement it
-
1.9 capabilities on armor or items
One way to do it for sure would be to use the PlayerUpdate event, check each wearn armor item if it has ur capability, if it has call the update method. I dont think you can do this without using events
-
Playing sounds for the player [SOLVED]
chunkCoord is the chunk the player is in. You dont want that. You want his position (posX,posY,posZ)
-
[1.9]Burning Blocks
you shall pass this argument to the method Blocks.fire.SetFireInfo instead ofModBlock.CustomBlock
-
[1.9]Burning Blocks
https://docs.oracle.com/javase/tutorial/java/javaOO/thiskey.html
-
[1.9]Burning Blocks
by the time you call that modBlock.CustomBlock will be null. Call setFireInfo using this
-
Playing sounds for the player [SOLVED]
I think SPacketSoundEffect should be the thing youre looking for
-
[Solved] TileEntity missing from server after world restart
Why are u coding in scala and not java? Anyway my guess would be that you arnet registering the tile entity, thats why it wont get reloaded when loading from disk. show ur registration of the te?
-
I think of updating my (very) old mod to 1.9. I need you guys' opinion on this
Yeah the new json stuff can be pretty painful.. If you want I can share my automation script for making jsons and stuff (it works for items, blocks need a bit of fixing right now) Try making the mod part by mod. If the mod is big try splitting it into smaller parts and try to finish one so u have a success sometimes with finishing of a part Helps a lot with staying motivated! If you have any questions just ask!
-
[1.7.10] Problem with TNT.
Okay ill give u a helpful warning. Dont insult moderators
-
NoClassDefFound only in "normal" minecraft
would u mind to post the class mc is complaining about
-
[1.9 - 1.12.2] Strange ClassNotFoundException crash in Forge development envrionment
Maybe there went something wrong while repacking? Is the path inside the jar correct?
-
[SOLVED] [1.7.10] Problem when adding shapeless crafting recipe
1. Please follow java naming conventions 2. registering items should be done in init
-
I think of updating my (very) old mod to 1.9. I need you guys' opinion on this
1. is nearly the same as 1.8 tbh
-
[1.8]Tile Entity not saving Items
Which version of 1.8 are you using? If you are developing for 1.8.9 you should not use IInventory, but Capabilities
-
[1.8]Tile Entity not saving Items
If you have a request please add the version to it
-
[1.9] RightClickBlock firing twice
if(event.getEntityPlayer().worldObj.isRemote) return;
-
[1.9] RightClickBlock firing twice
Hey everyone, I am not sure if I stumpled upon a bug or if i did sth wrong, but my RightClickBlock event is firing twice. The syso gets printed two times on the console. if(event.getEntityPlayer().worldObj.isRemote) return; if(!event.getEntityPlayer().capabilities.isCreativeMode) return; ItemStack selected = event.getEntityPlayer().inventory.getCurrentItem(); if(selected!=null && selected.getItem()==Items.stick) { System.out.println(event.getPos());
IPS spam blocked by CleanTalk.