Everything posted by Draco18s
-
[1.7.10] I will check block stone in world.
We are not here to teach you English. Your goal is still not clear: stone will exist in the world somewhere. Checking to see if it exists at a location requires calling World#getBlock(x, y, z) and checking that it equals Blocks.stone Part 2 still makes no sense to me.
-
[1.7.10] Rendering enormous entities
Your entity is larger than the entire volume of world being loaded.
-
(solved)Damage item in an event[1.10]
IIRC, onRightClick is only run client side. In order to damage an item, you need to do it server side. Ergo packets.
-
[Solved][1.10] Chunk rendering problems
LookingGlass had to be custom built to handle other dimensions, but it works just fine in a single dimension.
-
[1.10] Coloring only one texture layer in a Block's json
His example has two: the ore color (blue) and the stone color (white). In any case, if the OP wishes to go the custom TextureAtlasSprite route (which renders the color once) I've got some posts on this forum on how to do precisely that. I don't know if the class has changed in 1.8+ however, and due to the nature of a custom load() method in that class, a lot of the "texture not found" error messages get dropped (and instead you get NPEs in later parts of the rendering code), so you'd be mostly on your own.
-
RNG not my friend or I should code this in a different way?
Rather than randomly determine if a location gets an update, randomly determine a location to update.
-
[Solved][1.10] Chunk rendering problems
You may be interested in Looking Glass
-
[1.9.4]Adding custom attribute to EntityPlayer
Capabilities
-
[1.9.4] not registring event after building
I think it's some kind of "game" that could be built out of even just command blocks. All this fellow is trying to do is render the chat-context information as a HUD element rather than as chat messages. That is: the game can be played without the mod he's writing and the "Checkpoint Reached!" is just a chat message sent by whatever operates the game to the player so that player has some sort of feedback. He's just trying to fancy it up some. Admittedly I would still rebuild the system from the bottom up and use packets, but whatever. Also, Ernio, that is a fantastic image.
-
[1.10][Solved] Make config options show up in gui
It shows once a day. http://www.minecraftforge.net/forum/index.php/topic,39689.msg209119.html
-
[Solved] Java 8 Method Reference Operator NullPointerException
new RenderProjectile() ?
-
[1.10][Solved] Make config options show up in gui
Someone was asking just the other day how to disable the nag.
-
[1.10] [Unsolved] Forge Cannot Find Assets Folder
Post the error
-
[1.9.4] world.getBlockMetadata?
The forum's new syntax highlighter is trying to syntax highlight your comments.
-
[1.10 SOLVED] Trying to cleanly implement Colored Items
sharedHexColor needs to be white, not black, by default for this to work. Right now if you don't pass a color the integer's default value of 0 is used. That's 0x000000 which is black.
-
Achievements GUI menu (like Thaumunomicon from Thaumcraft)
I'm D18, does that make me 11 revisions better?
-
.Obj Loader UV Coords between 0 and 1 error
Sketchup is terrible at assigning UVs. Try http://www.geeks3d.com/20090303/lithunwrap-free-uv-mapper-for-windows/ (You will have to zoom out a lot in order to see the polys)
-
.Obj Loader UV Coords between 0 and 1 error
You need to fix your obj's UVs
-
[1.10/1.9.4] Block requires a block above it to exist
Do you understand Java? At all? The block is passed a World object and a BlockPos object. Use them.
-
[Solved] [1.9.4] Attack speed/damage
registerItem is struck-out because it's deprecated. Use GameRegistry.register() Be sure to call setRegistryName
-
[1.9.4][Solved] Block not updating when world re-entered
Its funny how you don't override writeToNBT or readFromNBT and still expect your data to get saved.
-
Missing Block Texture When Block is Placed
Your package name should include your mod name and your name. e.g. I use package com.draco18s.artifacts for one of my mods (modID is "artifacts"). Although I technically shouldn't use "com.draco18s" unless I actually own "draco18s.com"
-
[1.7.10] [solved] calling attackEntityFrom multiple times at once
The last attack shouldn't reset the hurt time, just FYI
-
[1.10]Items duping when i drop them[solved]
And what code is calling this code?
-
[1.9/1.8] Custom Crafting Machine Tutorials?
Technically speaking, you don't have to get that complex. Its only if you want to be able to have 3x3 crafting bench recipes. If your goal is to turn a "N-stack of Foo" into a "Y-stack of Bar" you can get away with a lot less. Container Slot GuiContainer IGuiHandler CraftingManager (this is just a class that stores the hashmap of ingredients -> results, allows you to add recipes and get recipe results).
IPS spam blocked by CleanTalk.