Everything posted by Draco18s
-
[CLOSED] Any reason why I should not make Unlocalized name the same as registry?
Alot is Better than You at Everything
-
[1.10.2] Is there a simple tutorial for creating items?
Proxy files are mandatory: you need one (client) to register the item renderers.
-
[1.10.2] Change damage of explosion
You can use a 1 power explosion if you want it to do less damage. That's irrespective of the particle effects. If you're having a problem with the particles, go dig into the doExplosion methods and search out what it does to make them.
-
[1.10.2] Change damage of explosion
Please read this: http://meta.stackexchange.com/questions/66377/what-is-the-xy-problem You have asked Question X when your problem is Y. You need to spawn particles.
-
[1.10.2] Change damage of explosion
I don't understand your goal.
-
[1.10] Custom explosion radius and power?
Look at wither skulls
-
Forge Loading States
Pretty much all of those are pre-init. Registering blocks, items, entities, and all renderers must occur in pre-init. Recipes can be done anywhen, as can events.
-
Different melting receipe when mod is built
Can you show the whole class those two lines belong to?
-
[1.10] Custom explosion radius and power?
Radius, by the way, is entirely based on the power. http://minecraft.gamepedia.com/Explosion#Effect
-
[Solved][1.8]Does keyListener run only on client side?
Or to be more specific: The server might not even know what a keyboard is.
-
[1.7.10] Ore generation classes
1.7.10 is 2 years old, no help will be supplied on this forum. As soon as diebiesen07 finds this thread, it will be locked.
-
Custom Glass_Block won`t connect to its Glass_panes
Override canConntectTo
-
[ForgeGradle] Access Transformer + Intellij IDEA
Reflection only incurs the overhead for getting the field. Save a reference to it and reuse it. The invoke and get/set stuff the JVM optimizes pretty damn well.
-
[SOLVED][1.10.2] The Nightmare of Variants registering
You're going to need to hardcode those names in some manner: the strings must exist in the code. At best you can concatenate the metadata value with the block's general name and then localize it. e.g. "minecraft.blockstone_1" and "minecraft.blockstone_2" Which would be your previous post of converting the metadata from an integer to a string (just concatenate it onto the end of the result of getUnlocalizedName). Or better yet, override getUnlocalizedName to do that for you.
-
[ForgeGradle] Access Transformer + Intellij IDEA
You shouldn't be using Access Transformers anyway. Use Reflection instead.
-
[SOLVED][1.10.2] The Nightmare of Variants registering
All variants will have exactly the same name unless you, personally, did something to change that. Did you?
-
[1.9.4]custom logs help
It's deprecated because it's slated for removal. Not deprecated because it doesn't function.
-
[SOLVED][1.10.2] The Nightmare of Variants registering
Yes. And you know what you can do? Block#getMetaFromState(IBlockState) Gasp. Shock. Awe.
-
[1.7.10] Ticking memory connection when opening GUI after changing NBT data
1.7.10 is not supported here. That said, why are you using the stack's item's unlocalized name to insure that you're setting the correct stack's NBT? There is only one possibility: the item that the player is holding is the item the player is holding. One of the things you need to do, though, is provide a zero-argument constructor to your IMessage class (how else would the server create one?) second, don't put the IMessageHandler inside the IMessage class. Create two sparate class files: it's possible you've goofed something up in doing it this way. Third, you probably should send more generic messages than trying to send the NBT data. This is rife for letting the client dictate rules rather than client asking the server "can I do this thing?" and the server handling the rules.
-
[1.9.4]custom logs help
Also don't use GameRegistry.registerBlock, it's deprecated for a reason.
-
[SOLVED][1.10.2] The Nightmare of Variants registering
block.getBlockState().getValidStates();
-
[1.10.2] [CLOSED] Comments on lang files?
Negligible. One entry that isn't used costs ~64 bytes worth of ram, plus the size of the string (one byte per character).
-
[1.10.2] [CLOSED] Comments on lang files?
Nope. You could add useless entries, but there's no comment delineator.
-
Can someone help me with textures
You can't use client side code in common code. You must move that stuff to your client proxy. Also, you must use ModelLoader.setCustomModelResourceLocation https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/ores/client/ClientProxy.java
-
Whenever I Register an item GameRegistry.registerItem "registerItem" is crossed
Read the javadoc when you hover your mouse over the method.
IPS spam blocked by CleanTalk.