Everything posted by Draco18s
-
[1.7.10] [Solved]Getting all entities in the world
It's server side and you'll want to check the phase (pick either Start or End, probably start). Do be aware that you can only teleport entities in loaded chunks. You won't be able to shuffle about entities in chunks that the server does not currently have in memory.
-
[1.9.4] Redstone connecting to custom bluestone
Let me guess: Your problem is not that your block connects to redstone, but that redstone connects to your block. Am I correct?
-
[1.8.9] Enchantment Effect Only When Held Item
Wrong question. The answer is "it doesn't matter because only the currently held item is relevant." If the item is currently held: glow If the item is not currently held: don't glow Two different items apply this same rule independently.
-
java.lang.ClassNotFoundException: net.minecraft.client.entity.EntityClientPlayer
....so, post your proxy classes.
-
[SOLVED] GUI not updating values
Holy fuck. It's exactly like sending a packet with one variable, except there are two variables.
-
[1.9.4] Modding Questings
EntityJoinedWorldEvent
-
[1.8.9] Enchantment Effect Only When Held Item
You know what they say about clever programming. I am not proud of this one Nah, it's more along the lines of having gotten so used to using system time being the absolutely wrong tool for the job (for various reasons, depending on platform) so remembering that it's there in certain edge cases can actually be useful.
-
NBT Tags or IExtendedEntityProperities ?
For 1.7.10 you would use IEEP. NBT (aside from itemstacks) is for saving information to disk only.
-
[1.8.9] Enchantment Effect Only When Held Item
Oh ho, that's clever.
-
[1.8.9] Enchantment Effect Only When Held Item
It would also show up in item frames in the "enchanted" state because putting an item into an item frame calls nothing. The stack is cloned (storing the clone in the item frame) and deleted from your inventory. That's it.
-
[SOLVED] GUI not updating values
- Mod Ideas
I'm not even sure he can pick any two. Tops I could see picking one.- [1.9]Fence
You might want to look for something call "bounds" or "boundary" or "bounding."- [SOLVED] [1.9.4] Items reset in GUI after clicking button
Now photocopy that sheet and label one side "client" and the other side "server." (Oh, and scribble out the GuiContainer on the server side and the Container on the client side).- [1.6.4] World generation
1.6.4 is so fucking old no one is going to help you. 1.7.10 barely receives help.- [1.8.9] EnumChatFormatting
Limited, sure, but it might be precisely what the OP is wanting.- [1.8.9] Item Holding
If you throw an item into the world (but not into a chest (or other GUI) or itemframe) there is an OnEntityUpdate method.- Mod Ideas
Oh god that mod uses ASM. Why. ;_;- 1.9.4 Port
Oh good. Code. What's the problem?- [1.8.9] Item Holding
Le me spell my post out a little more clearly: Set the duration to 50 It ticks down to 49 49 % 10 is not 0, no healing is applied. Set the duration to 50 It ticks down to 49 49 % 10 is not 0, no healing is applied. Set the duration to 50 It ticks down to 49 49 % 10 is not 0, no healing is applied. Set the duration to 50 It ticks down to 49 49 % 10 is not 0, no healing is applied. Set the duration to 50 It ticks down to 49 49 % 10 is not 0, no healing is applied. Set the duration to 50 It ticks down to 49 49 % 10 is not 0, no healing is applied. Rinse, repeat.- MC 1.7.10 [SOLVED] Custom drop not dropping from an other mods block
Ahhh. Gotcha. See, "it doesn't work" isn't sufficient to understand the problem. "The blocks have a metadata of 11 or sometimes 9" however, is. You need some bitwise operators. int meta = world.getBlockMetadata(x, y, z) & 3; That'll strip of the decay checking flags.- [1.9.4][Solved] Custom Bookshelf particle help
You will need to do the particle effects yourself, as the enchantment table checks for block == Blocks.bookshelf explicitly. http://www.minecraftforge.net/forum/index.php/topic,38711.msg203713.html- [1.8.9] Item Holding
Regeneration is one of the potion effects that takes its duration remaining into account when applying its effect: it only heals on certain ticks. Generally speaking, its every 10. So setting the duration to 50 every tick, it ticks down to 49, 49 % 10 is not 0, no healing is applied. Repeat.- [1.8.9] Mob Custom Drops
HarvestDropsEvent fires any time a block that drops an item does that. Water breaking tall grass causes it to fire.- [1.7.10] [RESOLVED] Timer not working
http://i1.wp.com/www.sycmu.com/wp-content/uploads/2013/03/549794_516635841711565_2102887642_n.jpg[/img] - Mod Ideas
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.