Everything posted by Animefan8888
-
[1.12.2] Blocks and Items won't show in creative tab
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
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
Try removing your BiomeDictionary registries.
-
[1.2.5] Setting up a mod in this really old version?
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
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?
@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.
-
Best way to texture blocks
Post your log it should throw an error with information necessary to correct this.
-
Best way to texture blocks
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
No problem.?
-
Permanently load entity client side
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.
-
Forge 1.8.9 emulate a full mouse click
Anything below 1.9.8 is unsupported on this forum, please update to receive assistance.
-
How to modify vanilla ore generation in 1.12.2?
You cannot use that for this event you will have too add it manually to MinecraftForge.ORE_GEN_BUS(or something like that)
-
After converting the save, my 1.13.1 world crashes while loading.
Is that even out for 1.13? And this would essentially require this
-
After converting the save, my 1.13.1 world crashes while loading.
As far as I am aware there is no current way to go from a 1.13 to a 1.12 world. No one has made an application to do so yet. You will probably need to rebuild the whole house in 1.12.2 using your 1.13 world as a template.
-
Why is player name and player UUID changing every time I run my mod?
Because you are not specifying your account that you want to play as in the program arguments. There is a post on here about that and it was posted in just recently.
-
Help with reducing lag on my singleplayer modded minecraft
No, the debug.log found in the logs folder, or the latest.log if you don't have a debug.log.
-
How can I give the player extra heart ?
- How can I give the player extra heart ?
EntityLivingBase#getEntityAttribute(SharedMonsterAttribute...).applyModifer(new AttributeModifer)- How to check if a custom mob is attacking a player
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
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.- How can I give the player extra heart ?
You will have to apply an AttributeModifer to the health attribute.- "Kill aura" cheat prevention
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.- how to pull info from a cfg file?
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.- [1.12.2] dynamic item textures
You can store a static field in a class and initialize it in the registry event and then register them.- Efficiency Regarding Checking Two Objects
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. - How can I give the player extra heart ?
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.