Jump to content

Modder Support

This is the support section for those modding with Forge. Help with modding goes in here, however, please keep in mind that this is not a Java school. You are expected to have basic knowledge of Java before posting here.


Subforums

  1. Documentation   (593879 visits to this link)

  2. ForgeGradle

    Help and support setting up your IDE and building mods with Gradle.

    5.4k
    posts

47385 topics in this forum

    • 2 replies
    • 1.2k views
    • 2 replies
    • 1.7k views
    • 21 replies
    • 40.7k views
    • 11 replies
    • 5.8k views
    • 15 replies
    • 3.1k views
    • 4 replies
    • 13.5k views
    • 6 replies
    • 2.8k views
    • 1 reply
    • 1.2k views
    • 4 replies
    • 10.1k views
    • 6 replies
    • 3.4k views
    • 1 reply
    • 1.4k views
  1. Ic2 API Energy

    • 9 replies
    • 3.9k views
    • 1 reply
    • 4.5k views
    • 6 replies
    • 2.3k views
    • 3 replies
    • 2.1k views
    • 6 replies
    • 2.4k views
    • 2 replies
    • 1.7k views
    • 4 replies
    • 6k views
    • 6 replies
    • 1.9k views
    • 28 replies
    • 23.8k views
    • 16 replies
    • 9.3k views
    • 1 reply
    • 1.4k views
    • 2 replies
    • 4k views
    • 2 replies
    • 2.2k views
    • 1 reply
    • 1.4k views

Announcements



  • Posts

    • I create my mod pack,yesterday my mod pack is fine but i add one mod and error. I'm delete this mmod but minecraft is still stop on CONFIG_LOAD then I tried to delete config and restart it but again. If you can pleace help me. https://imgur.com/ngZBzuv
    • game crashes before even opening (log:https://mclo.gs/M8xvX7c)
    • I have created a custom entity that extends "TamableAnimal", but I am wanting to have it spawn in the ocean. I have it spawning right now, but it spawns way too frequently even with weight set to 1. I am guessing it is because it is rolling in the spawn pool of land animals since TameableAnimal extends Animal and is different than WaterAnimal, and since no land animals spawn in the ocean it just fills every inch up with my custom entity. I have followed basic tutorials for spawning entities with Forge, but I feel like I am missing something about how to change what spawn pool this custom entity ends up in. Is it possible to change that or do I need to refactor it to be based off of WaterAnimal to get those spawn? My biome modifier JSON file: { "type": "forge:add_spawns", "biomes": "#minecraft:is_ocean", "spawners": { "type": "darwinsmysticalmounts:water_animal", "weight": 20, "minCount": 1, "maxCount": 1 } } My client event: event.register(ModEntityTypes.WATER_ANIMAL.get(), SpawnPlacements.Type.NO_RESTRICTIONS, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, WaterWyvernEntity::checkCustomWaterAnimalSpawnRules, SpawnPlacementRegisterEvent.Operation.REPLACE); And the actual custom spawn rule that makes it spawn in the water: public static boolean checkCustomWaterAnimalSpawnRules(EntityType<WaterAnimalEntity> pAnimal, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) { return pPos.getY() > pLevel.getSeaLevel() - 16 && pLevel.getFluidState(pPos.below()).is(FluidTags.WATER); }  
    • Starting today, I am unable to load my modded minecraft world. Forge crash log initially said it was a specific mod called Doggy Talents, which I disabled. Then it blamed JEI, and when that was disabled it blamed another mod so I assume it's something more than a specific mod. Minecraft launcher log claims "Exit Code 1". Nothing had changed since last night when it was working fine Forge Log: https://pastebin.com/S1GiBGVJ Client Log: https://pastebin.com/aLwuGUNL  
    • I am using AMD, yes. I downloaded the website's drivers and am still having the issue. I also used the Cleanup Utility just in case. 
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.