Everything posted by larsgerrits
-
Beta testing of 1.13
You have to delete the default configs once after updating to make Forge regenerate the file.
-
TileEntity that extends TileEntityLockableLoot
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
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
Best and simplest way: use an ItemStackHandler with the IItemHandler capability.
-
Beta testing of 1.13
Where should we report issues? I assume GitHub?
-
What is and isn't the "right way" to make mods?
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.
-
Beta testing of 1.13
It's on a hidden page so developers can test it without 'normal' users installing an beta version of Forge onto their game.
-
[1.12.2] Comparing ItemStack lists
That would make all the booleans false by default.
-
Fake site pretending to be Forge
DuckDuckGo, an alternative search engine like Google.
-
Surrounding blocks not rendering properly
Make Block#isOpaqueCube return false.
-
SideOnly annotation needed for onItemUse?
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.
-
how to create an pillar block
Like I told you before, please keep this forum in english. You can extend BlockRotatedPillar to create a pillar block.
-
Receive packets [mdk]
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.
-
how do you change the player model
https://github.com/search?q=RenderPlayerEvent&type=Code Here are a lot of examples. Could've found these yourself...
-
Gradle Tasks Not Appearing in IntelliJ
Try clicking the "Import Changes" at the bottom-right and the refresh button on the Gradle menu.
-
how do you change the player model
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.
-
A Question About IHasModel
Most likely: 1 youtube tutorial did it that way, and everybody blindly copies it without thinking about it.
-
Forge not loading [giving error]
You can. You just won't get support here.
-
Cant figure out why it keeps crashing
1.7.10 is no longer supported on this forum. Update.
-
Help with rendering a .obj file to use as an item model
crash the server*
-
1.12.2 How to make durability loss after crafting?
Override Item#hasContainerItem and Item#getContainerItem.
-
how to pre-animate mobs
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
Same issue.
-
How to increase time before timeout on forge server?
It's a VM argument, you append it to the java -jar ... line in your run script.
-
Make a block only collidable for a specific entity
Learn Java. Learn Java. Learn Java. Learn Java.
IPS spam blocked by CleanTalk.