larsgerrits
Members-
Posts
3462 -
Joined
-
Last visited
-
Days Won
17
Everything posted by larsgerrits
-
Override the methods in your Block class and make them return true.
-
Can I use Forge if I have Optifine?
larsgerrits replied to Kippenkaasbaas's topic in General Discussion
Specific Optifine version work with specific Forge version, decided and chosen by Optifine. Most Minecraft versions, there's not even a compatible version. -
Minecraft targets Java 8, Forge always targets the same as Minecraft, but both should be able to be used up until Java 10.
- 1 reply
-
- 1
-
[1.14.4] Any way to hook into Elytras code?
larsgerrits replied to SkylorBeck's topic in Modder Support
Check if the player is an instanceof ServerPlayerEntity, then cast. -
Maybe try a lower resolution, 512x512 is really high and not necessary.
-
You need to set your xSize to the width of your Screen.
-
What do you define as a "picker"? The only thing I can think of is that you want something like the 'Pick Block' control.
-
You can't store variables like this in your Item. They are singletons and the data would be shared between all items of that type. Assuming you want to spawn a lightning bolt when the user uses your item (i.e. right clicks the item), override the Item#onItemRightClick method. You don't need any of the events. And definitely don't do this. We are spending our free time here (which we don't have a lot of) to help people. Saying this makes you sound like an entitled piece of ****.
-
[SOLVED][1.14.2] Changing/Adding to Vanilla Loot_Tables
larsgerrits replied to NickDerMitHut's topic in Modder Support
Your mod is also technically a resource pack and a data pack. You basically treat your src/main/resources/ folder as both of them. That means you can add a custom loot table JSON file using the minecraft namespace. -
That coud lead to an increased amount of user traffic. I'm curious.
- 1 reply
-
- 1
-
The method is called fillStateContainer in 1.13.
-
[1.7.10] Using a custom item to break a custom block
larsgerrits replied to Scouloune's topic in Modder Support
Then don't bother asking. 1.7.10 is no longer supported on this forum. Update. -
Server Lag and Forge Optimisation
larsgerrits replied to bloodysword123's topic in Support & Bug Reports
18G is way too much. Depending on the mods of course, but a heavy modded game needs around 4G. -
Why is there a taco.json in src/main/java/com/matthyfamily/init/recipes/? Remove it. No wonder you're getting those ZipExceptions, your entire resource folder structure is messed up.
-
They have been renamed/moved. updateTick is now called tick. To schedule a tick you call IWorld#getPendingBlockTicks().scheduleTick()
-
could not pick ender chest up with silk touch in 25.0.79
larsgerrits replied to shen's topic in Support & Bug Reports
This has been fixed in 25.0.81. -
Custom model loaders have not been implemented, as such you can't load .obj models right now.
-
Item is functional, but texture isn't loading
larsgerrits replied to Mango106's topic in Modder Support
It can't find your model file because you're missing the assets folder. In src/main/resources should be a folder called "assets" which contains the "lang", "models", "recipes" and "textures" folders. the pack.mcmeta and mcmod.info should remain in the resources folder. -
Item is functional, but texture isn't loading
larsgerrits replied to Mango106's topic in Modder Support
Post the logs. -
How to fix intelji idea not updating code during debug
larsgerrits replied to TheRPGAdventurer's topic in Modder Support
You should use "Build Project" instead of "Rebuild Project" if you only change code. Building your product only recompiles the changed classes while rebuilding it recompiles every class again, taking much more time. Rebuilding is sometimes required if you change resources in debug mode. -
Hello forge development team, I have an idea about forge optimization
larsgerrits replied to JackMeds's topic in Suggestions
This is never going to be possible with Minecraft. Or any other game probably. Minecraft itself is constantly being updated to be more efficient and in the 1.13 update world generation got its own thread. The mod launcher has also been rewritten from scratch to allow parallel mod loading which significantly increase loading times. But what you are suggesting is not going to be possible. -
What do you want to achieve? There might be other ways to achieve what you want.