-
llamacorn1921 started following Animefan8888
-
Vinyarion started following Animefan8888
-
Custom Mod Breaks Mobs in 1.15.2
Yes you did in your y for loop in FindBlock.
-
[1.15.2] AttachCapabilitiesEvent not being fired?
When did you expect it to fire? It fires when a TileEntity is created. And it definitely fires. Also are you wanting to attach it to every TileEntity in the game because if you only want it on your TileEntities that is not how you do it.
-
[1.15.2] Whats the replacement for net.minecraft.init?
You should probably learn how. ASM is not supported on this forum. Mainly because there are typically ways to do whatever you want with just the Event System and Reflection. What are you trying to do from an end user perspective.
-
[1.15.2] Changing the properties of vanilla items.
Reflection is a Java feature we do not teach Java here, Google it.
-
Non-Blockstate values in IBlockColor [1.15.1]
Which means I was wrong about it being a World instance when you need it to be.
-
Non-Blockstate values in IBlockColor [1.15.1]
Also it can be null make sure it is not null before you use it.
-
Disable blocks, items, ench etc via Mod Config
Well you always register every registry entry. You then use the config settings to prevent or allow the attainment of the Item/Block/Enchantment.
-
Non-Blockstate values in IBlockColor [1.15.1]
Ah ok I didn't get that from the name, and didn't check either. Either way they still have to check for null.
-
Non-Blockstate values in IBlockColor [1.15.1]
I'm not sure if this still works, but you might be able to cast the ILightReader to a World(do an instanceof check it can be null). Then if it is use World::getTileEntity and store your colors in the TileEntity.
-
[1.15.2] Is there a way to make the players hearts a different color like the poison effect does without making a core mod?
Looks about right. However you don't need to use Object::equals to compare enums just use ==.
-
[1.15.2] Is there a way to make the players hearts a different color like the poison effect does without making a core mod?
Use the RenderGameOverlayEvent.Post to draw on top of the screen. And RenderGameOverlayEvent.Pre to cancel specific parts of the HUD.
-
Using Scala language on Forge 1.14
Have you tried reading the readme? It has an example project.
-
[1.12.2] Missing Texture
1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. For more information read the LTS at the top of the page.
-
Compiled jar gives an error when loading minecraft, even tho it runs perfectly in Intellij.
Does this file exist within your jar? Also its convention to do textures/item/texture.png nowadays.
-
Compiled jar gives an error when loading minecraft, even tho it runs perfectly in Intellij.
No I meant debug.log, but normally latest.log works too.
IPS spam blocked by CleanTalk.