Everything posted by Draco18s
-
[Forge 1.10.2] How to make new line in the language file.
Cool. Could have used that four years ago, oh well.
-
MC 1.11.2 Custom armor and tools
This is old and wrong. 20 armor will stop 8 of 20 damage (40%). The more damage you're taking in a single hit, the less effective your armor is.
-
[Forge 1.10.2] How to make new line in the language file.
You mean as: effect.hearts=\0x2665 ? Orr...?
-
[Forge 1.10.2] How to make new line in the language file.
The point was to allow the display to be customizable because lang files are resource-pack-capable.
-
MC 1.11.2 Custom armor and tools
http://minecraft.gamepedia.com/Armor#Armor_Toughness
-
[Forge 1.10.2] How to make new line in the language file.
Alternatively you can set up your langfile with a markup code and do some regex when you go to display text. I sort of do that here (although that particular one is intended to either be displayed as ♥ or not, in its entirety).
-
[1.11.2] Set mob to be aggressive to Zombies but not Zombie Pigman
You will need to write your own AI task probably.
-
[1.11.2] Set mob to be aggressive to Zombies but not Zombie Pigman
if(ent instanceof Zombie && !(ent instanceof PigZombie)) { } Magic.
-
[Solved]1.11.2 Unique Item
Loot is done by Loot Tables now.
-
Custom Block (Oven)
1) use spoiler and code tags, not images and a copy paste dump 2) your item model is missing or improperly registered (READ the error, particularly the not where it says "File Not Found")
-
[Forge 1.10.2] How to find breeding recipe?
What is a breeding recipe?
-
1.10.2 .json question
Spoiller tags, much?
-
[Solved][1.11] Remove drop from the leaves
No. Try again. Look at the documentation.
-
Help! D:
Hmm. Let me see here... Can you find anything that uses IForgeRegistryEntry instead?
-
[Solved][1.11] Remove drop from the leaves
Try iterating.
-
Custom Block (Oven)
You can also do if(stackInSlot(0).getItem() == ModItems.myItem) Which won't do metadata items (you will have to compare the metadata value as well) but it's much better than creating a temporary item stack and then throwing it away every frame.
- [1.11.2] Rendering "ghost" blocks
-
[Forge 1.10.2] How to create a block that outside is small but inside is big (Can show the inside like the TARDIS)?
Depending on exactly what you want (do you want the player to be able to go inside? place blocks inside? neither? both?) you would accomplish this in slightly different ways. However, given that you've had to ask I'm going to peg the difficulty of all of them as "way more difficult than you'll be able to understand."
-
Item, can't find model.json at runtime
Would you show a screenshot of the path and file as see in Windows File Explorer? (or equivalent on your system)
-
(Forge 1.10) onEntityDeath + Adding Item (UNRESOLVED)
Loot Tables. Which are json.
-
Implement multiple interfaces in one class (ICustomModelLoader, IModel, IBakedModel)
I don't see any reason why you couldn't.
-
[1.11.2] MultiBlock Structure
Easy. Either use a tool to "activate" the construction (the way Immersive Engineering does) and look for that controller block. From there look for the rest of the construction. If it's all there, activate, do The Thing, give feedback to the player that it was successful, change the models, etc. etc. OR Require that the controller be placed last and on-place check for the rest of the structure, if it's all there, active...etc etc
-
Updating 1.8 tessellator into 1.9 and up
Tessellator.getInstance().getBuffer(); Tessellator.getInstance() Tessellator Seriously? Also, the class has changed more than just its name, so you'll have to look at existing usages in order to update the code.
-
Updating 1.8 tessellator into 1.9 and up
The Tessellator class was renamed. It's called VertexBuffer now.
-
[1.11.2] Make Water Bottles the same as a Bucket
Oh jesus. Get Eclipse. It's freaking free. Or IntelliJ. You wouldn't use Notepad++ to edit a website, so why are you doing it for Java?
IPS spam blocked by CleanTalk.