Everything posted by Anon10W1z
-
[1.7.10] How to set and get entity's name tag?
Oh....The problem was that it was moved to Entity.java in 1.8. Thanks!
-
[1.7.10] How to would I add item drops from another mod?
Oh my...why are you extending from BlockGrass?
-
[1.7.10]How would I check if an item is on the ground?
Use an enhanced for loop with the array and cast the current object to EntityItem, do a null check, and profit.
-
[1.7.10] How to set and get entity's name tag?
With that name? I don't see it in the code.
-
[1.7.10] How to set and get entity's name tag?
I could do this in 1.8 with setCustomNameTag(String) and getCustomNameTag() but not in 1.7...?
-
Sound timing
Look again. Specifically, methods called on starting to use an item, using an item, and stopping using an item are all there.
-
[1.7.10] [Solved] Localizing a Custom String?
That's stupid, that's like saying I don't want to get a backpack from the car because I'm not driving the car...?
-
[1.7.2] Why does BiomeCache$Block occasionally call chunkManager.getBiomeGenAt?
Minecraft 1.7.2 is a bit strange and buggy, so 1.7.10 might handle this different. I'd advise you to upgrade your Forge.
-
[1.7.10] Removing a line of chat from the client
Sorry but you can't do that.
-
[1.8] Don't know how to convert <blockstatedata> back into data...
Show the block code.
-
[1.7.10] onPlayerStoppedUsing not running
The way it's used is to check if it overrides a method. If a method does not override another, but it has the annotation, it won't compile.
-
[1.7.10] onPlayerStoppedUsing not running
What are you saying deadrecon? You don't need @Override, it just helps.
-
[1.7.10] Help I'm stuck. Literally!
Uh oh. That is noobish code, learn Java. Use (!world.isRemote)
-
How do I add a server to the server list using a mod?
You don't need a mod for that. Just go to your Minecraft, remove all servers and add the default one. Copy the servers.dat file in .minecraft to your mod pack main directory.
-
Fences dont register when testing with world.isRemote
Ok, what exactly are you trying to do? This world.setBlockToAir(x, y, z); can NEVER be run on the client! He never ran it on the client. He ran it on both sides. EDIT: That was really dumb.
-
[1.7.10] Biome with no vanilla blocks conflicting with Endermen?
Use EntityEnderman.setCarriable(YourMod.yourBlock, true)
-
Spawn many entitys on break block
What do you mean by random? A random number?
-
[1.7.10] Help I'm stuck. Literally!
See how soul sand does it.
-
[1.7.10] Biome with no vanilla blocks conflicting with Endermen?
You have to add your blocks to the enderman carriable blocks list.
-
Check if player placed this block
Use The PlaceEvent to add an NBT tag to a block.
-
[SOLVED][1.7.10]Cancelling Crafting?
This is a long way from being solved....can we stop arguing?
-
[Misc]Mod Options
So does my mod, Craft++. Config GUIs are very helpful.
-
on item rightclick
No! Again, you can't power blocks with an item.
-
[1.8] [Explained] Any reason to use wrappers with the data watcher?
Huh, thanks Lex!
-
[1.8] [Explained] Any reason to use wrappers with the data watcher?
I always see other modders use code like this with the datawatcher: datawatcher.addObject(20, Integer.valueOf(7)); datawatcher.addObject(21, Byte.valueOf((byte) 0)); Why can't they just do this? datawatcher.addObject(20, 7); datawatcher.addObject(21, (byte) 0);
IPS spam blocked by CleanTalk.