
Everything posted by Cadiboo
-
error at entity registration
ObjectHolder can be used 2 ways (it says so in the documentation). Either put it above a class with your modid and have your field names match up with the resource path of your registry name, or put it on each field with the full registry name in string form.
-
Loading additional mods
No, players download mods from the internet and then play them. What mod developers are “downloading random stuff and putting it into jars”?
-
What makes mojang a "not the best in their class" kind of programmers
"If it ain't broke don't fix it". It works for vanilla.
-
Where can I find the JavaDocs for the forge API?
What does this mean? Can you explain more?
-
How do i make a block colorable exactly like the leather-armour?
If you want 16777216 color variations you will need a TileEntity + FastTESR/Custom baked model an IBlockColor implementation
-
What makes mojang a "not the best in their class" kind of programmers
Minecraft was initially written by someone learning Java. Plenty of early code written by Notch still exists in the game. An example is the IInventory system or the Block -> TileEntity system (There are about 3 ways of doing the same thing). IMO the class-based entity system also leaves a lot to be desired.
-
[HIRING] Mod / Forge developer
1) Why 1.7.10 2) What do you want the mod to do?
-
AnimationTESR help for using!
I'm pretty sure the entire point of the animation system is that it doesn't use block states
-
[1.13.2] detect input key
What are you asking for help with?
-
[1.13.2] Missing Required Library
To be fair, the top comment on the video is the author saying "Oops, use Java 8, not Java 11"
-
error at entity registration
The Proxies in your mod are unnecessary, useless and unused. You should use object holder on your entity entries. I don't think that the FMLClientSetupEvent is the right place to register your renders. Other than pretty much everything else, I can't see anything wrong with your mod.
-
[Solved] cannot find system java compiler
It also breaks the gradle script for almost any other computer because it points to a specific file on your computer that pretty much no-one else will have. Being unable to set your JAVA_HOME variable indicates to me that you have a bigger problem. I'm not saying that this solution doesn't work, I'm saying its not optimal and that it should be avoided because it has longer term problems.
-
[1.13.2] Missing Required Library
I love the 152 page long stacktrace. What happens when you go to the command line and run gradlew eclipse?
-
[1.13.2] Loading two mods on a server
There doesn't seem to be anything wrong with those logs. What mods are you installing and where did you get them from?
-
How to add proxy (SideOnly.Client)?
That event will be fired on both the logical Client and Server sides. Therefore it will be called twice on the Physical Client distribution. As DavidM said, check that the world you get from the event is remote.
-
[Solved] cannot find system java compiler
This solution won't work for anything except windows, and doesn't fix the underlying problem. Setting your JAVA_HOME variable is the right way to go
-
Forge loading removed mods
Sorry we don't support 1.7.10 (it's 4+ years old!) or any version under 1.10 on this forum anymore due to their age. We simply don't know how to help you anymore. You can go to the Minecraft Forum where I think that they still still support older versions, or update to a modern version of Minecraft (the latest version or the one before it) to receive support on this forum.
-
Can I make Tickable tileentities update some functionality every several ticks?
Yes you do. Writing a computer program in a computer programming language by definition makes you a computer programmer. Modifying another application - making a "mod" - is a pretty advanced thing for a computer programmer to do. Forge, FML etc. take care of 99.9% of this, including the ASM, loading your mod and deobfuscating MC. Therefore what you are making isn't really a "mod" at all, its more of an add-on. There are other "mods" out there that allow you to write your add-on in another computer programming language. For example these "mods" allow you to write your "mod" in Skript, JavaScript, Scala, Kotlin or even whatever Scratch-based language MCreator uses. However, doing this is inherently writing "code" to make a computer do something, which makes you a computer programmer. In future if you want help on this forum I would recommend being more polite. It may be hard for beginners who haven't done the appropriate pre-requisite background stuff (learning how to write code in the language you've decided to make your mod in, learning the basics of setting up gradle from the command line - or using the command line at all, learning the basics of git etc.), however beginners should have done their research and learned how to do these things. Learning by example is great, and it's how I've learned 95% of everything programming related, but the key part of it is learning, not just copy pasting code. This is why posting ready-made code snippets is discouraged on these forums. The question you asked was pretty simple and you got a quick answer. After that, you could have googled what a "counter" is in programming and how to make one that increments. The basic idea of it (in this scenario) is to have a variable (an instance field in this case) that you increment (pre-increment would be perfect for a tiny performance gain in this case) every "tick" (in your onUpdate method in your TileEntity in this case) and, if the value is the desired one, reset the variable and execute your logic that should only happen every several ticks.
-
Can I make Tickable tileentities update some functionality every several ticks?
Yes you do
-
[1.13.2] Loading two mods on a server
Post your logs
-
How to add proxy (SideOnly.Client)?
99.9% of the time you don’t actually need a proxy
-
json Recipes help
No you don’t, in vanilla an example of this is the “iron_ingot_from_nuggets” recipe
-
[1.13.2] Missing Required Library
This is still pretty vague. What did you add? The project to the eclipse workspace? The source folder to the project folder? Did you open the mod project in eclipse? Did you import it as a gradle project?
-
[1.12.2] Add tooltip to items and blocks.
Override addInformation in your item class
-
[1.12.2] Extreme Loading times in Modpack
How many other applications are open at the same time? Have you tried using 5gb of ram?
IPS spam blocked by CleanTalk.