larsgerrits
Members-
Posts
3462 -
Joined
-
Last visited
-
Days Won
17
Everything posted by larsgerrits
-
Hi, I've been wanting to contribute to Forge for 1.13, but I can't seem to setup a proper workspace. I couldn't find anything online on how to setup a workspace with the new ForgeGradle and everyting I've tried leads to the Forge source missing a lot of imports. Can anyone list out the steps to setup a Forge workspace?
-
You have to delete the default configs once after updating to make Forge regenerate the file.
-
TileEntity that extends TileEntityLockableLoot
larsgerrits replied to Siqhter's topic in Modder Support
You have to save it to NBT. Overwrite the writeToNBT method and save the NBTTagCompound resulting from the ItemStackHandler's serializeNBT method. Overwrite the readToNBT method and load the data by getting the NBTTagCompound from the NBTTagCompound parameter and passing it into ItemStackHandler's deserializeNBT method. -
TileEntity that extends TileEntityLockableLoot
larsgerrits replied to Siqhter's topic in Modder Support
Your should be extending the base TileEntity, and you only need an ItemStackHandler for the inventory. Override hasCapability and getCapability to allow other blocks to interact with your inventory. -
TileEntity that extends TileEntityLockableLoot
larsgerrits replied to Siqhter's topic in Modder Support
Best and simplest way: use an ItemStackHandler with the IItemHandler capability. -
Where should we report issues? I assume GitHub?
-
What is and isn't the "right way" to make mods?
larsgerrits replied to NarwhelZhu's topic in Modder Support
It's called "cargo cult programming". Basically, because someone did it that way once, other people started copying it because that's the only way the That's because in your development environment both the client and server code is available. When you install your mod on the client, you also have both client and server code available. However, when your mods get installed on the server, the client code is missing and your mod will crash the server because it cannot find those files. (Docs) There's no single tutorial that does everything correctly, because there's more than 1 way to do something correctly. However, there are some things (like CommonProxy) which are fundamentally wrong and shouldn't be used at all. That's the problem with YouTube tutorials. -
It's on a hidden page so developers can test it without 'normal' users installing an beta version of Forge onto their game.
-
That would make all the booleans false by default.
-
Fake site pretending to be Forge
larsgerrits replied to NathanielPillar's topic in General Discussion
DuckDuckGo, an alternative search engine like Google. -
Surrounding blocks not rendering properly
larsgerrits replied to SaltStation's topic in Modder Support
Make Block#isOpaqueCube return false. -
SideOnly annotation needed for onItemUse?
larsgerrits replied to viveleroi's topic in Modder Support
No, but the side is important here. You see 2 messages because one is from the client and one from the server. The solution is in the "Performing Side-Specific Operations" portion. -
Like I told you before, please keep this forum in english. You can extend BlockRotatedPillar to create a pillar block.
-
We can't help if we don't know what you want. "I'm thirsty!" "What do you want to drink?" "I'm not telling you, just get the drink I want" See, that doesn't make sense. If you want our help, tell us what you want to achieve. Otherwise, you're on your own.
-
https://github.com/search?q=RenderPlayerEvent&type=Code Here are a lot of examples. Could've found these yourself...
-
Try clicking the "Import Changes" at the bottom-right and the refresh button on the Gradle menu.
-
No. We won't be writing your code for you. https://mcforge.readthedocs.io/en/latest/events/intro/ This is what you need to get started with events. Look for open source mods that use the RenderPlayer event for examples.
-
Most likely: 1 youtube tutorial did it that way, and everybody blindly copies it without thinking about it.
-
You can. You just won't get support here.
-
Cant figure out why it keeps crashing
larsgerrits replied to NanaseYoshi's topic in Support & Bug Reports
1.7.10 is no longer supported on this forum. Update. -
Help with rendering a .obj file to use as an item model
larsgerrits replied to The_Basset_Hound's topic in Modder Support
crash the server* -
1.12.2 How to make durability loss after crafting?
larsgerrits replied to RoCoKo's topic in Modder Support
Override Item#hasContainerItem and Item#getContainerItem. -
Please keep this forum in English. Minecraft nor Forge has a system in place for rendering animations from an SMD file. You'd have to make your own parser, just like Pixelmon.
-
Some Questions I have been Pondering
larsgerrits replied to PulseBeat_02's topic in General Discussion
Same issue. -
How to increase time before timeout on forge server?
larsgerrits replied to TheFourthNinja's topic in General Discussion
It's a VM argument, you append it to the java -jar ... line in your run script.