-
Posts
6157 -
Joined
-
Last visited
-
Days Won
59
Everything posted by Animefan8888
-
[1.12.2] Blocks and Items won't show in creative tab
Animefan8888 replied to JimiIT92's topic in Modder Support
Dont do this, to use ObjectHolder they have to be null. Plus they shouldn't be instantiated using a static initializer. Use a HashSet, then iterate when you register. You can literally add it to the set from inside the constructor. You also need to set the registry name there. -
[SOLVED]Huge amount of mobs in custom biome
Animefan8888 replied to Krevik's topic in Modder Support
My last recommendation is to step through the mob spawning code with the debugger built into your IDE. -
[SOLVED]Huge amount of mobs in custom biome
Animefan8888 replied to Krevik's topic in Modder Support
Try removing your BiomeDictionary registries. -
[1.2.5] Setting up a mod in this really old version?
Animefan8888 replied to Vert3x's topic in Modder Support
It's probably java 6 as that's really old, but it might be java 7. Definitely not 8. -
[SOLVED]Huge amount of mobs in custom biome
Animefan8888 replied to Krevik's topic in Modder Support
Could you tell me what the parameter names for Biome.SpawnListEntry are, that may solve your problem. -
[1.2.5] Setting up a mod in this really old version?
Animefan8888 replied to Vert3x's topic in Modder Support
@Vert3x I'm sorry but that version isn't supported here because of its age. No one on here is going to remember how to set it up or even mod for it. -
Post your log it should throw an error with information necessary to correct this.
-
This is what is wrong. It should just be minecraft:acacia_log Correct, typically.
-
[1.12.2] Random damage for sword every time it's crafted
Animefan8888 replied to Jiro7's topic in Modder Support
No problem.? -
You have two options: save the data to the player aswell as the entity or sync the data from the server to the client on request for the gui.
-
Anything below 1.9.8 is unsupported on this forum, please update to receive assistance.
- 1 reply
-
- 1
-
How to modify vanilla ore generation in 1.12.2?
Animefan8888 replied to Jiro7's topic in Modder Support
You cannot use that for this event you will have too add it manually to MinecraftForge.ORE_GEN_BUS(or something like that) -
Help with reducing lag on my singleplayer modded minecraft
Animefan8888 replied to RuediBoy's topic in Support & Bug Reports
No, the debug.log found in the logs folder, or the latest.log if you don't have a debug.log. -
-
EntityLivingBase#getEntityAttribute(SharedMonsterAttribute...).applyModifer(new AttributeModifer)
-
How to check if a custom mob is attacking a player
Animefan8888 replied to Discult's topic in Modder Support
I think that only affects players, but I am not sure. Seeing as how searching the whole repository I found nothing about SharedMonsterAttributes.ATTACK_SPEED in any AI or entity class that was not EntityPlayer. -
[1.12.2] kicked when entering a server
Animefan8888 replied to Funchy's topic in Support & Bug Reports
I don't think that is how this works. I believe hamachi is just a way to get around port-forwarding. So you can't use the LAN feature within the Minecraft game, you have to run the server application. -
You will have to apply an AttributeModifer to the health attribute.
-
This is so if you are lagging and the entity you're trying to attack has moved away from you before you have noticed it.
-
You can read this if you want to use the annotation system to create your config. Or in your FMLPreInitializationEvent method you can call FMLPreInitializaionEvent#getSuggestedConfigFile() which will give you a File with the suggested path(a cfg file in the config directory with your mods modid as the file name). Then you can create a new instance of Configuration with said File instance and then use the methods within that instance to construct your config file and load data into fields.
-
You can store a static field in a class and initialize it in the registry event and then register them.
-
Quite a lot of objects in Minecraft are are singletons, objects where there is only one instance. IE there is only one IRON_INGOT. So instead of using Object#equals just use "==". And you shouldn't worry about comparison checks you can do millions potentially billions of them per second.