Everything posted by Draco18s
-
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]
-
MC 1.7.10 [SOLVED] Custom drop not dropping from an other mods block
What do you mean it doesn't do anything?
-
[1.9.4][SOLVED] Transparent Stairs Rendering Logic Problems
I call IBlockAccess "world lite." The interface is everything that a World object is, except that you can't change anything. It's effectively read-only. But because it's a read-only world object you can get any information you want or need from the world.
-
[1.9.4] Configuration not enforcing min max
You don't have to do anything. Here's what my config getter looks like int cycle = config.getInt("sluiceCycleTime", "SLUICE", 2, 1, 20, "Time it takes for the sluice to make 1 operation. This value is multiplied by 75 ticks."); And the config file: # Time it takes for the sluice to make 1 operation. This value is multiplied by 75 ticks. [range: 1 ~ 20, default: 2] I:sluiceCycleTime=2
-
[1.9.4] Configuration not enforcing min max
The min/max are also displayed to the user in the config file.
-
[1.9.4] Attempting to replace Left Click functionality of an item.
If you do core mod, do it by inserting a new event into the modified method, don't just write new code directly there. Insert a hook, then utilize the hook.
-
MC 1.7.10 [SOLVED] Custom drop not dropping from an other mods block
You should check for block first, then meta. Also, you shouldn't use block.getDamageValue , you should use world.getBlockMetadata . The default implementation of the former calls Block#damageDropped, which is not necessarily the same as the block's current metadata value.
-
[1.9.4] Custom Hopper with same model and texture as vanilla hopper?
This amuses me. I read this as "I want to use the same textures, but when I tried that, it used the same textures (achieving the effect I want): Something is wrong."
-
MC 1.7.10 [SOLVED] Custom drop not dropping from an other mods block
Show your BOPCBlocks class.
-
[1.9] Render Block Model in TESR
The # in "ModelManager#getModel" means "you need an instance of the ModelManager class in order to use this method." e.g. World#getBlock() or TileEntity#onUpdate()
-
[1.9.4] Smelting Recipes Do Not Use Multiple Items
This isn't a Forge thing, this is a Vanilla thing. Probably.
-
MC 1.7.10 [SOLVED] Custom drop not dropping from an other mods block
Don't create the item stack and entity if you don't intend to spawn it in the world, you're just adding extra work for the garbage collector. (Won't fix your problem, but it makes your code cleaner)
-
List of server mods?
Curse hosts mods, but is not the only repository (although be aware that there are some really scummy ones out there). It also hosts the Minecraft forums which has a mods subfora which may have a wider selection. The Minecraft Forge site (here) is more narrowly focused on mod development although not entirely (its more like "this is where some of the developers hang out and sometimes they want to talk about non-development related topics").
-
List of server mods?
This isn't even the right site. Yes, it's called Curse.com 1) Put mods in the mods folder 2) Forge black magic 3) Modded server
-
[1.9.4] [SOLVED] potential memory leak
His point is that you've been here for over a month and are making the same mistakes as people who've only just started. #3) Ah, google and wikipedia are your friend https://en.wikipedia.org/wiki/Interpolation http://www.gabrielgambetta.com/fpm3.html https://developer.valvesoftware.com/wiki/Source_Multiplayer_Networking http://gamedev.stackexchange.com/questions/22444/how-does-client-side-prediction-work
-
[1.9] Changing state of block 'resets' TileEntity attached to it
override doesRefresh and return false.
-
MC 1.7.10 Recipe issues with other mods
Option 1: Make a pull request (or open an issue) will BuildCraft to get it changed Option 2: Use their API to recreate the recipes
-
[Solved][1.9.x] Problem with items spawned in world
Is it direct input from the player? Is it display output to the player? If you answered "no" to both of these questions, then it happens on the server.
-
MC 1.7.10 Recipe issues with other mods
This assumes that the other mod is using the OreDict version of the crafting table in their recipe.
-
[1.8.9] TileEntity Not Updating In Multiplayer
How about the first place you use a World reference? Also, why are you writing the block metadata to your TE's description packet? You don't DO anything with it and the client should already know.
-
[1.9.4] Items.apple >> Items.APPLE
You can also use Notepad++ for "Find and Replace in Files"
IPS spam blocked by CleanTalk.