• 0

    posted a message on 1.12.2 Custom Mob is a White Block in Game

    So I've made a mob and a custom model for it. I followed a tutorial on making a custom mob, but when I spawn it in game its appears as a white block and no error appears in the console.

    Github: https://github.com/DinoEthan8888/Minecraft-Primeval-Mod-Code-Stuff/tree/master

    Any help would be highly appreciated!

    Posted in: Modification Development
  • 0

    posted a message on (In Need of Coder) Adventure, Generated Structure and Illager Expansion Mod

    https://www.youtube.com/channel/UCUAawSqNFBEj-bxguJyJL9g

    He has some tutorials on generated structures, blocks, and basic mobs for 1.12.2. But nothing to advanced or complicated, you should start there.

    Posted in: Modification Development
  • 0

    posted a message on Fence Gate Not Working

    So I've been trying to add a custom fence gate in my mod for a while now. However the fence gate isn't registering and I can't find the error, Here is my mod's code:

    https://github.com/DinoEthan8888/The-Primeval-Mod-Code/tree/DinoEthan8888-The-Primeval-Mod

    Posted in: Modification Development
  • 0

    posted a message on How do I install LLibrary in Eclipse?

    How do I put/download LLibrary into my code to access the mod? I've seen many mods do that but i don't know how to. Any help is much appreciated :)


    My Code:

    https://github.com/The-Jurassic-Gamer/ThePrimevalModCode

    Posted in: Modification Development
  • 0

    posted a message on Custom Mob not Working Please Help!

    Hello I've made a custom mob, the Avisaurus. The Spawn Egg Appears but when I spawn it in nothing happens and a error appears in the console in eclipse. I'm also very new to coding. Any help would be highly appreciated.


    Github:

    https://github.com/The-Jurassic-Gamer/ThePrimevalModCode


    Here is the Error in the Console:


    [17:59:51] [Server thread/ERROR] [FML]: Encountered an exception while constructing entity 'primeval:avisaurus'[17:59:51] [Server thread/ERROR] [FML]: Encountered an exception while constructing entity 'primeval:avisaurus'java.lang.reflect.InvocationTargetException: null at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_192] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_192] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_192] at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_192] at net.minecraftforge.fml.common.registry.EntityEntryBuilder$ConstructorFactory.apply(EntityEntryBuilder.java:306) [EntityEntryBuilder$ConstructorFactory.class:?] at net.minecraftforge.fml.common.registry.EntityEntryBuilder$ConstructorFactory.apply(EntityEntryBuilder.java:292) [EntityEntryBuilder$ConstructorFactory.class:?] at net.minecraftforge.fml.common.registry.EntityEntry.newInstance(EntityEntry.java:68) [EntityEntry.class:?] at net.minecraft.entity.EntityList.createEntityByIDFromName(EntityList.java:244) [EntityList.class:?] at net.minecraft.item.ItemMonsterPlacer.spawnCreature(ItemMonsterPlacer.java:242) [ItemMonsterPlacer.class:?] at net.minecraft.item.ItemMonsterPlacer.onItemUse(ItemMonsterPlacer.java:98) [ItemMonsterPlacer.class:?] at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:876) [ForgeHooks.class:?] at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:200) [ItemStack.class:?] at net.minecraft.server.management.PlayerInteractionManager.processRightClickBlock(PlayerInteractionManager.java:507) [PlayerInteractionManager.class:?] at net.minecraft.network.NetHandlerPlayServer.processTryUseItemOnBlock(NetHandlerPlayServer.java:769) [NetHandlerPlayServer.class:?] at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(CPacketPlayerTryUseItemOnBlock.java:68) [CPacketPlayerTryUseItemOnBlock.class:?] at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(CPacketPlayerTryUseItemOnBlock.java:13) [CPacketPlayerTryUseItemOnBlock.class:?] at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:21) [PacketThreadUtil$1.class:?] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_192] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_192] at net.minecraft.util.Util.runTask(Util.java:53) [Util.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:798) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_192]Caused by: java.lang.IllegalArgumentException: Attribute is already registered! at net.minecraft.entity.ai.attributes.AbstractAttributeMap.registerAttribute(AbstractAttributeMap.java:36) ~[AbstractAttributeMap.class:?] at net.minecraft.entity.ai.attributes.AttributeMap.registerAttribute(AttributeMap.java:36) ~[AttributeMap.class:?] at com.dinoethan.theprimevalmod.entities.EntityAvisaurus.applyEntityAttributes(EntityAvisaurus.java:54) ~[EntityAvisaurus.class:?] at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:215) ~[EntityLivingBase.class:?] at net.minecraft.entity.EntityLiving.<init>(EntityLiving.java:101) ~[EntityLiving.class:?] at net.minecraft.entity.EntityCreature.<init>(EntityCreature.java:22) ~[EntityCreature.class:?] at net.minecraft.entity.EntityAgeable.<init>(EntityAgeable.java:27) ~[EntityAgeable.class:?] at net.minecraft.entity.passive.EntityAnimal.<init>(EntityAnimal.java:30) ~[EntityAnimal.class:?] at net.minecraft.entity.passive.EntityTameable.<init>(EntityTameable.java:33) ~[EntityTameable.class:?] at net.minecraft.entity.passive.EntityShoulderRiding.<init>(EntityShoulderRiding.java:13) ~[EntityShoulderRiding.class:?] at net.minecraft.entity.passive.EntityParrot.<init>(EntityParrot.java:110) ~[EntityParrot.class:?] at com.dinoethan.theprimevalmod.entities.EntityAvisaurus.<init>(EntityAvisaurus.java:32) ~[EntityAvisaurus.class:?] ... 25 more

    Posted in: Modification Development
  • 0

    posted a message on Fence Gate not Registering

    I added a fence gate for my mod. I got the class and code all right (I Think) but when I go in game it doesn't appear in the creative tab. And its not registering. Any help would be MUCH appreciated! :)


    GitHub Page (:

    https://github.com/The-Jurassic-Gamer/ThePrimevalModCode

    *Note: Only the actual code, not the resources because i can't upload more then 100 files at a time*

    Posted in: Modification Development
  • 0

    posted a message on Fixed

    It now has the Error "Could Not Find or load Main Class org.gradle.wrapper.GradleWrapperMain"

    Posted in: Modification Development
  • 0

    posted a message on Fixed

    Oh okay. Thanks for the Help :) I'll try that

    Posted in: Modification Development
  • 0

    posted a message on Fixed

    So I'm trying to get Llibrary for my Mod. I typed in the command "gradlew build" into the command prompt in my folder. The error gradlew in not reconized as an internal or external command. But if I go into another mod folder (One I have planned for the future) It works. I don't know why. Any Ideas would help me so much.

    Posted in: Modification Development
  • 0

    posted a message on Syntax Error, Please delete this token, error. Please Help!

    Also when I start up the game, it says "Registry Block: Found a missing id from the world primeval:monkeypuzzle_fence_gate" in the Console

    Posted in: Modification Development
  • 0

    posted a message on Syntax Error, Please delete this token, error. Please Help!

    There is no errors in the class. But when play the game, there is no Fence Gate.

    Posted in: Modification Development
  • 0

    posted a message on Syntax Error, Please delete this token, error. Please Help!

    Nope still not fixed.

    Posted in: Modification Development
  • 0

    posted a message on How do I make a custom Tree Generator?

    I want to known how to make a tree custom generate when it grows. How do I do this? Any help is much appreciated.


    Code: https://github.com/The-Jurassic-Gamer/ThePrimevalModCode/tree/master/java/com/dinoethan/theprimevalmod

    Posted in: Modification Development
  • 0

    posted a message on Syntax Error, Please delete this token, error. Please Help!

    I've been trying to adding a fence gate for a while. I was looking at the code for the Fossils and Archeology mod and copied the Default Rendered Item class to my mod. But it underlines default and says please delete this token. How can I fix this. Any Help is much appreciated :)


    Class:

    package com.dinoethan.theprimevalmod.api;package com.dinoethan.theprimevalmod.api;
    import net.minecraft.util.ResourceLocation;


    public interface DefaultRenderedItem {

    default String getResource(ResourceLocation registryName) {

    return registryName.getPath();

    }

    }


    My Code: https://github.com/The-Jurassic-Gamer/ThePrimevalModCode/tree/master/java/com/dinoethan/theprimevalmod

    Posted in: Modification Development
  • 0

    posted a message on Old Thread

    oooops I'll do that.

    Posted in: Modification Development
  • To post a comment, please or register a new account.