Everything posted by Draco18s
-
[1.7.10] Rendering an Item on a Block with NBT
Or use a TileEntity, if 16 unique states are insufficient.
-
[1.8][SOLVED] Tile Entity dosen't save integer in private field
also, you check slot.stacksize > 1 which means that if you put one item in, it won't smelt.
-
[1.8] [SOLVED!] Changing vanilla mob attributes (zombie, skeleton etc.)
You never do anything with expGiven after setting its value.
-
How can I make 24 rotation states of block across blockstate?
I misread something. Probably as a result of having zoomed in on my tablet screen.
-
How can I make 24 rotation states of block across blockstate?
Hold on. If you have 6 states and TWO rotations, that's almost 100 total states.
-
[1.7.10] How to make Multi-Layered Textures like Tinkers Construct?
There are only two passes: pass 0 and pass 1. Pass 2 will never happen.
-
[1.7.10] How to make Multi-Layered Textures like Tinkers Construct?
https://github.com/Draco18s/Artifacts/blob/master/main/java/com/draco18s/artifacts/item/ItemArtifact.java#L106-L108
-
[1.7.10] How to set NBT data for resulting itemstack
Also, stackTagCompound is null by default. You need to create one, then add attributes.
-
Instant Structure is that possible? (PAYED IF HELPED)
Yes. Structures are not magic.
-
Harvesting Multiple Blocks with normal Breaking Animation
I'd tell you to copy the calculation and do it "manually" but there's a slight problem: If the target block has a different break speed than the one the player is actually mining, it's either going to break and drop early, or not finish.
-
[1.7.10] How to make Multi-Layered Textures like Tinkers Construct?
Well, insert some debugging statements and figure out what the program is doing.
-
[1.7.10] modifying NBT in onUSingTIck prevents onPlayerStoppedUsing being called
I don't have enough of your code to know what you're doing with the NBT.
-
[1.7.10] How to make Multi-Layered Textures like Tinkers Construct?
Your code never sets the NBT tag to have a value for "icon"
-
[1.7.10] modifying NBT in onUSingTIck prevents onPlayerStoppedUsing being called
Writing to the NBT causes Minecraft to believe that the item stack is a new item stack and therefore interrupts any in-use actions.
-
[1.7.10] Configuration Comments not working
AFAIK you don't have to include the "Default: False" portion, as the config class supplies that on its own.
-
NBT for something other than Items
Encode the timer into the armor's NBT. Save the world time that the ability was used, then do if(world_time - saved_time > some_delay) { //ready }
-
ConcurrentModificationException error
Depending on what keyboard event your listening to, you're likely asking isKeyDown(key) which will be true for the entire duration that the key is pressed. Which as the code runs 60+ times a second* and a press lasts a tenth of a second...that's at least 6 calls. *Pretty much as fast as the program runs, not tied to game ticks in any way.
-
Initialize Ore Recipes with a list of items
That is the most funniest thing I have read in a loong while Here's a rebuttal.
-
[Solved] Formatting achievement text
Just double check that it compiles properly, too.
-
[Solved] Can't figure out git
Neither can most people. If that doesn't fix it, git.txt contains the phone number of a friend of mine who understands git. Just wait through a few minutes of 'It's really pretty simple, just think of branches as...' and eventually you'll learn the commands that will fix everything.
-
[1.7.10] How to make Multi-Layered Textures like Tinkers Construct?
https://github.com/Draco18s/Artifacts/blob/master/main/java/com/draco18s/artifacts/item/ItemArtifact.java#L111-L133
-
[Solved] Formatting achievement text
Well originally I was trying to display ♥ which is U+2665, and despite saving the lang file as UFT-8 it never worked properly. Kept showing up as two other characters. More recently I wanted ″ and ㎝ for WAILA info tips. Which, again, refused to work properly. Anyway, I was mistaken, those are still UTF-8. Point was, there were issues using characters from that set and I had to go to extra lengths to get them to display properly.
-
Eclipse Wont open the project
And did you tell Eclipse to use that workspace?
-
[Solved] Formatting achievement text
(UTF-16 does not save to UTF-8 While UTF-8 might be sufficient here, it is not a complete solution)
-
Eclipse Wont open the project
Just because that's where Eclipse is doesn't mean that's where it's looking for the project file. Its like saying, "Word can't open my doc file, but it's right there next to word.exe, but I run Word and nothing! Blank!"
IPS spam blocked by CleanTalk.