Jump to content

Recommended Posts

Posted (edited)

Please help me with this logs...
Description: Ticking entity

java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Boolean
    at drzhark.mocreatures.entity.MoCEntityTameableAquatic.getIsTamed(MoCEntityTameableAquatic.java:89)
    at drzhark.mocreatures.entity.MoCEntityTameableAquatic.func_70094_T(MoCEntityTameableAquatic.java:452)
    at net.minecraft.entity.EntityLivingBase.func_70030_z(EntityLivingBase.java:232)
    at net.minecraft.entity.EntityLiving.func_70030_z(EntityLiving.java:269)
    at drzhark.mocreatures.entity.MoCEntityAquatic.func_70030_z(MoCEntityAquatic.java:914)
    at net.minecraft.entity.Entity.func_70071_h_(Entity.java:389)
    at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2089)
    at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:377)
    at net.minecraft.world.World.func_72866_a(World.java:1993)
    at net.minecraft.world.World.func_72870_g(World.java:1955)
    at net.minecraft.world.World.func_72939_s(World.java:1759)
    at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1846)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1097)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

Its kicking me out from my server why ?????????????????????

I have mocreatures mod, look at more logs: 

-- Head --
Thread: Client thread
Stacktrace:
    at drzhark.mocreatures.entity.MoCEntityTameableAquatic.getIsTamed(MoCEntityTameableAquatic.java:89)
    at drzhark.mocreatures.entity.MoCEntityTameableAquatic.func_70094_T(MoCEntityTameableAquatic.java:452)
    at net.minecraft.entity.EntityLivingBase.func_70030_z(EntityLivingBase.java:232)
    at net.minecraft.entity.EntityLiving.func_70030_z(EntityLiving.java:269)
    at drzhark.mocreatures.entity.MoCEntityAquatic.func_70030_z(MoCEntityAquatic.java:914)
    at net.minecraft.entity.Entity.func_70071_h_(Entity.java:389)
    at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2089)
    at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:377)
    at net.minecraft.world.World.func_72866_a(World.java:1993)
    at net.minecraft.world.World.func_72870_g(World.java:1955)

-- Entity being ticked --
Details:
    Entity Type: mocreatures:shark (drzhark.mocreatures.entity.aquatic.MoCEntityShark)
    Entity ID: 1226
    Entity Name: Shark
    Entity's Exact location: -144.50, 24.00, 214.50
    Entity's Block location: World: (-145,24,214), Chunk: (at 15,1,6 in -10,13; contains blocks -160,0,208 to -145,255,223), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
    Entity's Momentum: 0.00, -0.08, 0.00
    Entity's Passengers: []
    Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
    at net.minecraft.world.World.func_72939_s(World.java:1759)

..And its more and more and more... i think problem is with mocreatures mod but i really want it to my server, what should i do with these logs ?

Edited by Lezzy
Posted

Line 89 in the file MoCEntityTameableAquatic.java is trying to cast an integer to a boolean which it cannot do, probably because the integer is neither 1 nor 0. It's a bug and needs to be fixed by the developer.

  • Like 1
Posted
4 minutes ago, diesieben07 said:

This is caused by mods adding stuff to entities they do not own in an improper way (mainly EntityDataManager entries). It could be any one of the mods you have installed, most likely it is not MoCreatures.

I just have betterpvp,biomesoplenty,bookshelf,decocraft,mobends,mocreatures,ptrlib,rikmuldscore,twilightforest, which one i should uninstal ? I srlsy want to play mocreatures and other adventures mod, why i must have these errors..

Posted
2 minutes ago, diesieben07 said:

I don't know which mod it is, it could be any of them.

By the way, which Minecraft version are you running?

 

Unfortunately, because mod authors are often idiots. This error has been known for a long while, but people still do this wrong.

I just have 1.12.2 and everything is good but this crash is terrible.. i srlsy want to play with my friend, i should delete one of mod and check if error comes again ?

Posted

hope it will be not mocreatures or twilight forest ;/ I really want to play this modds, but yeah i will take out mods one by one like you said, we will see what next in a 20 min :)

Posted

Problem is if i take out one mod i have error telling. There are 10 missing entries in this save.And i cant enter the server and i'm afraid if i will play and build idk a house and just playing like few hours and error show up soo i must delete whole world ;/

Posted

i remove mocreatures i play like 30 mins chill and error comes in .. error show up when i travel a little bit more, soo error depends on a character you will meet ? And it crashes bcs .. bcs i dont know xd

Posted

Description: Ticking entity

java.lang.ClassCastException: com.google.common.base.Present cannot be cast to java.lang.Boolean
    at mca.actions.ActionProcreate.getIsProcreating(ActionProcreate.java:112)
    at mca.actions.ActionProcreate.onUpdateClient(ActionProcreate.java:38)
    at mca.entity.VillagerBehaviors.onUpdate(VillagerBehaviors.java:90)
    at mca.entity.EntityVillagerMCA.func_70071_h_(EntityVillagerMCA.java:178)
    at net.minecraft.world.World.func_72866_a(World.java:1993)
    at net.minecraft.world.World.func_72870_g(World.java:1955)
    at net.minecraft.world.World.func_72939_s(World.java:1759)
    at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1846)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1097)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
    at mca.actions.ActionProcreate.getIsProcreating(ActionProcreate.java:112)
    at mca.actions.ActionProcreate.onUpdateClient(ActionProcreate.java:38)
    at mca.entity.VillagerBehaviors.onUpdate(VillagerBehaviors.java:90)
    at mca.entity.EntityVillagerMCA.func_70071_h_(EntityVillagerMCA.java:178)
    at net.minecraft.world.World.func_72866_a(World.java:1993)
    at net.minecraft.world.World.func_72870_g(World.java:1955)

-- Entity being ticked --
Details:
    Entity Type: mca:villagermca (mca.entity.EntityVillagerMCA)
    Entity ID: 56583
    Entity Name: Steve
    Entity's Exact location: -189.33, 63.94, 165.30
    Entity's Block location: World: (-190,63,165), Chunk: (at 2,3,5 in -12,10; contains blocks -192,0,160 to -177,255,175), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
    Entity's Momentum: 0.00, -0.08, 0.00
    Entity's Passengers: []
    Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
    at net.minecraft.world.World.func_72939_s(World.java:1759)

-- Affected level --
Details:
    Level name: MpServer
    All players: 2 total; [EntityPlayerSP['Dupplee'/74741, l='MpServer', x=8.50, y=65.00, z=8.50], EntityOtherPlayerMP['1Lezzy'/26318, l='MpServer', x=-65.59, y=64.00, z=32.89]]
    Chunk stats: MultiplayerChunkCache: 173, 173
    Level seed: 0
    Level generator: ID 06 - BIOMESOP, ver 0. Features enabled: false
    Level generator options: 
    Level spawn location: World: (8,64,8), Chunk: (at 8,4,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 0 game time, 0 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
    Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
    Forced entities: 76 total; [EntityPlayerSP['Dupplee'/74741, l='MpServer', x=8.50, y=65.00, z=8.50], EntityCreeper['Creeper'/73346, l='MpServer', x=-108.50, y=32.00, z=54.50], EntitySkeleton['Szkielet'/74757, l='MpServer', x=-181.50, y=22.00, z=60.50], EntitySlime['Szlam'/74756, l='MpServer', x=-179.64, y=22.12, z=63.79], EntityWolf['Wilk'/54918, l='MpServer', x=-90.50, y=71.00, z=73.34], EntityVillagerMCA['Steve'/56583, l='MpServer', x=-189.33, y=63.94, z=165.30], EntityCreeper['Creeper'/74248, l='MpServer', x=-91.50, y=30.00, z=134.50], EntityBat['Nietoperz'/73100, l='MpServer', x=-179.98, y=28.17, z=48.02], EntityCow['Krowa'/74767, l='MpServer', x=-208.50, y=82.00, z=192.50], EntityCow['Krowa'/74766, l='MpServer', x=-208.50, y=82.00, z=194.50], EntityWitch['Wiedźma'/74513, l='MpServer', x=-159.50, y=52.00, z=83.50], EntityZombie['Zombie'/74384, l='MpServer', x=-115.50, y=12.00, z=40.50], EntityWitch['Wiedźma'/74514, l='MpServer', x=-157.50, y=52.00, z=81.50], EntitySpider['Pająk'/74644, l='MpServer', x=-166.50, y=52.00, z=94.50], EntityCreeper['Creeper'/74013, l='MpServer', x=-145.85, y=25.00, z=52.41], EntityChicken['Kura'/57631, l='MpServer', x=-209.50, y=70.00, z=172.50], EntityChicken['Kura'/57632, l='MpServer', x=-210.50, y=71.00, z=173.50], EntityChicken['Kura'/57633, l='MpServer', x=-211.50, y=70.00, z=172.50], EntityBat['Nietoperz'/74528, l='MpServer', x=-90.32, y=60.07, z=110.26], EntityChicken['Kura'/57634, l='MpServer', x=-213.50, y=70.00, z=173.50], EntitySheep['Owca'/57637, l='MpServer', x=-212.50, y=63.00, z=47.50], EntityChicken['Kura'/52773, l='MpServer', x=-135.50, y=70.00, z=163.50], EntitySheep['Owca'/57638, l='MpServer', x=-209.20, y=64.00, z=43.64], EntityCreeper['Creeper'/71463, l='MpServer', x=-166.04, y=49.00, z=78.66], EntityChicken['Kura'/52774, l='MpServer', x=-133.50, y=69.00, z=163.50], EntityChicken['Kura'/52775, l='MpServer', x=-132.50, y=68.00, z=163.50], EntityChicken['Kura'/52776, l='MpServer', x=-135.50, y=69.00, z=162.50], EntityCreeper['Creeper'/74286, l='MpServer', x=-154.50, y=12.00, z=60.50], EntityZombie['Zombie'/74673, l='MpServer', x=-168.50, y=15.00, z=177.50], EntitySheep['Owca'/54832, l='MpServer', x=-135.50, y=68.00, z=76.73], EntitySheep['Owca'/54833, l='MpServer', x=-135.50, y=66.00, z=79.45], EntityVillagerMCA['Steve'/53938, l='MpServer', x=-162.27, y=71.00, z=157.51], EntitySheep['Owca'/54834, l='MpServer', x=-131.82, y=66.00, z=93.50], EntitySheep['Owca'/54835, l='MpServer', x=-138.50, y=64.00, z=82.50], EntityCow['Krowa'/74681, l='MpServer', x=-210.50, y=81.00, z=190.50], EntityCreeper['Creeper'/74169, l='MpServer', x=-116.50, y=17.00, z=102.50], EntityCow['Krowa'/74680, l='MpServer', x=-210.50, y=81.00, z=189.50], EntityCreeper['Creeper'/74168, l='MpServer', x=-115.50, y=17.00, z=106.50], EntityChicken['Kura'/74683, l='MpServer', x=-199.50, y=74.00, z=176.50], EntityChicken['Kura'/74682, l='MpServer', x=-199.50, y=74.00, z=176.50], EntitySquid['Kałamarnica'/71738, l='MpServer', x=-169.27, y=61.57, z=74.30], EntityChicken['Kura'/74684, l='MpServer', x=-192.40, y=71.00, z=176.25], EntitySpider['Pająk'/73792, l='MpServer', x=-155.14, y=53.00, z=80.12], EntityZombie['Zombie'/72387, l='MpServer', x=-162.50, y=18.00, z=73.50], EntityZombieVillager['Osadnik zombie'/73795, l='MpServer', x=-153.50, y=54.00, z=74.74], EntityCreeper['Creeper'/72907, l='MpServer', x=-175.50, y=37.00, z=77.50], EntityOtherPlayerMP['1Lezzy'/26318, l='MpServer', x=-65.59, y=64.00, z=32.89], EntitySkeleton['Szkielet'/73674, l='MpServer', x=-147.50, y=28.00, z=54.50], EntityOtherPlayerMP['1Lezzy'/26318, l='MpServer', x=-65.59, y=64.00, z=32.89], EntitySheep['Owca'/54351, l='MpServer', x=-130.73, y=64.00, z=116.55], EntitySheep['Owca'/54352, l='MpServer', x=-139.18, y=63.00, z=102.55], EntitySheep['Owca'/54353, l='MpServer', x=-143.48, y=63.00, z=113.77], EntityCow['Krowa'/54354, l='MpServer', x=-138.53, y=64.00, z=98.80], EntityCow['Krowa'/54355, l='MpServer', x=-135.77, y=64.00, z=100.50], EntityCow['Krowa'/54356, l='MpServer', x=-144.63, y=63.00, z=115.46], EntityCow['Krowa'/54357, l='MpServer', x=-142.99, y=64.00, z=104.22], EntityZombie['Zombie'/74455, l='MpServer', x=-121.52, y=62.00, z=91.24], EntityZombie['Zombie'/74456, l='MpServer', x=-121.50, y=62.00, z=88.50], EntitySquid['Kałamarnica'/73951, l='MpServer', x=-184.95, y=61.03, z=56.97], EntitySkeleton['Szkielet'/74214, l='MpServer', x=-152.50, y=16.00, z=92.50], EntityItem['item.item.dyePowder.black'/72809, l='MpServer', x=-143.06, y=55.00, z=87.14], EntityItem['item.item.reeds'/71912, l='MpServer', x=-154.25, y=63.00, z=135.69], EntityCreeper['Creeper'/74733, l='MpServer', x=-164.50, y=52.00, z=97.50], EntityCow['Krowa'/57325, l='MpServer', x=-201.13, y=67.00, z=141.82], EntityCow['Krowa'/57326, l='MpServer', x=-195.60, y=67.00, z=148.59], EntityCow['Krowa'/57327, l='MpServer', x=-196.50, y=68.00, z=151.50], EntityCow['Krowa'/57328, l='MpServer', x=-203.52, y=69.00, z=158.19], EntitySpider['Pająk'/73969, l='MpServer', x=-92.50, y=17.00, z=129.50], EntityChicken['Kura'/57330, l='MpServer', x=-198.50, y=71.00, z=172.50], EntityBat['Nietoperz'/74098, l='MpServer', x=-158.11, y=20.09, z=68.62], EntitySheep['Owca'/57333, l='MpServer', x=-206.52, y=63.00, z=42.66], EntitySpider['Pająk'/73719, l='MpServer', x=-146.50, y=23.00, z=56.50], EntityBat['Nietoperz'/74105, l='MpServer', x=-99.82, y=26.76, z=133.25], EntityZombie['Zombie'/73720, l='MpServer', x=-147.50, y=23.00, z=55.50], EntitySquid['Kałamarnica'/74621, l='MpServer', x=-152.86, y=61.85, z=98.62], EntitySquid['Kałamarnica'/74622, l='MpServer', x=-160.69, y=61.24, z=96.66]]
    Retry entities: 0 total; []
    Server brand: fml,forge
    Server type: Non-integrated multiplayer server
Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:532)
    at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2740)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:418)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Could you send a screenshot of your weapon code? Here is the one I made (for a dagger): protected static final double DAGGER_REACH_MOD = -1.5D; protected final Multimap<Attribute, AttributeModifier> defaultModifiers;     public DaggerItem(Tier pTier, int pAttackDamageModifier, float pAttackSpeedModifier, Properties pProperties) {         super(pTier, pAttackDamageModifier, pAttackSpeedModifier, pProperties);         this.attackDamage = (float) pAttackDamageModifier + pTier.getAttackDamageBonus();         ImmutableMultimap.Builder<Attribute, AttributeModifier> builder = ImmutableMultimap.builder();         builder.put(Attributes.ATTACK_DAMAGE, new AttributeModifier(BASE_ATTACK_DAMAGE_UUID, "Weapon modifier", this.attackDamage, AttributeModifier.Operation.ADDITION));         builder.put(Attributes.ATTACK_SPEED, new AttributeModifier(BASE_ATTACK_SPEED_UUID, "Weapon modifier", pAttackSpeedModifier, AttributeModifier.Operation.ADDITION));         builder.put(ForgeMod.ENTITY_REACH.get(), new AttributeModifier(ToolUtils.BASE_ATTACK_REACH_UUID, "Weapon modifier", DAGGER_REACH_MOD, AttributeModifier.Operation.ADDITION));         this.defaultModifiers = builder.build(); } @Override     public Multimap<Attribute, AttributeModifier> getDefaultAttributeModifiers(EquipmentSlot pEquipmentSlot) {         return pEquipmentSlot == EquipmentSlot.MAINHAND ? this.defaultModifiers : super.getDefaultAttributeModifiers(pEquipmentSlot);     }
    • https://images.app.goo.gl/1PxFKdxByTgkxvSu6
    • That's what we'll try out. I could never figure out how to recreate the crash, so I'll just have to wait and see.
    • Ok, I updated to the latest version and now the models are visible, the problem now is that the glowing eyes are not rendered nor any texture I render there when using shaders, even using the default Minecraft eyes RenderType, I use entityTranslucent and entityCutout, but it still won't render. Something I noticed when using shaders is that a texture, instead of appearing at the world position, would appear somewhere on the screen, following a curved path, it was strange, I haven't been able to reproduce it again. I thought it could be that since I render the texture in the AFTER ENTITIES stage which is posted after the batches used for entity rendering are finished, maybe that was the reason why the render types were not being drawn correctly, so I tried injecting code before finishing the batches but it still didn't work, plus the model was invisible when using shaders, there was a bug where if I look at the model from above it is visible but if I look at it from below it is invisible. So in summary, models are now visible but glowing eyes and textures are not rendered, that hasn't changed.
    • https://pastebin.com/99FA0zvK Attempting to run genIntellijRuns, this task fails with pasted error. IntelliJ IDEA 2024.3 (Community Edition) eclipse_adoptium-21-x86_64-os_x.2/jdk-21.0.6+7 Steps followed: Step 1: Open your command-line and browse to the folder where you extracted the zip file. Step 2: You're left with a choice. If you prefer to use Eclipse: 1. Run the following command: `./gradlew genEclipseRuns` 2. Open Eclipse, Import > Existing Gradle Project > Select Folder    or run `gradlew eclipse` to generate the project. If you prefer to use IntelliJ: 1. Open IDEA, and import project. 2. Select your build.gradle file and have it import. 3. Run the following command: `./gradlew genIntellijRuns` 4. Refresh the Gradle Project in IDEA if required.
  • Topics

×
×
  • Create New...

Important Information

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