Jump to content

Recommended Posts

Posted (edited)

So whenever I stay in the server for to long I crash and get this error,

Error: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Boolean

Also for some reason I have this exclamation mark in a red circle.

 

 

---- Minecraft Crash Report ----

WARNING: coremods are present:
  ShetiPhian-ASM (ShetiPhian-ASM-1.12.0.jar)
  CTMCorePlugin (CTM-MC1.12.2-0.3.2.18.jar)
  AstralCore (astralsorcery-1.12.2-1.9.4.jar)
  IELoadingPlugin (ImmersiveEngineering-core-0.12-85.jar)
  Techguns Core (techguns-1.12.2-2.0.1.1 (1).jar)
  IvToolkit (IvToolkit-1.3.3-1.12.jar)
  llibrary (llibrary-core-1.0.8-1.12.2.jar)
  TheBetweenlandsLoadingPlugin (TheBetweenlands-3.3.12-core.jar)
Contact their authors BEFORE contacting forge

// Daisy, daisy...

Time: 9/30/18 12:12 AM
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:230)
    at net.minecraft.entity.EntityLiving.func_70030_z(EntityLiving.java:208)
    at drzhark.mocreatures.entity.MoCEntityAquatic.func_70030_z(MoCEntityAquatic.java:914)
    at net.minecraft.entity.Entity.func_70071_h_(Entity.java:388)
    at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2087)
    at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:295)
    at net.minecraft.world.World.func_72866_a(World.java:1990)
    at net.minecraft.world.World.func_72870_g(World.java:1952)
    at net.minecraft.world.World.func_72939_s(World.java:1756)
    at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1845)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1096)
    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 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:230)
    at net.minecraft.entity.EntityLiving.func_70030_z(EntityLiving.java:208)
    at drzhark.mocreatures.entity.MoCEntityAquatic.func_70030_z(MoCEntityAquatic.java:914)
    at net.minecraft.entity.Entity.func_70071_h_(Entity.java:388)
    at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2087)
    at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:295)
    at net.minecraft.world.World.func_72866_a(World.java:1990)
    at net.minecraft.world.World.func_72870_g(World.java:1952)

-- Entity being ticked --
Details:
    Entity Type: mocreatures:cod (drzhark.mocreatures.entity.aquatic.MoCEntityCod)
    Entity ID: 12231
    Entity Name: Cod
    Entity's Exact location: -354.50, 65.00, 270.50
    Entity's Block location: World: (-355,65,270), Chunk: (at 13,4,14 in -23,16; contains blocks -368,0,256 to -353,255,271), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
    Entity's Momentum: 0.01, -0.08, 0.01
    Entity's Passengers: []
    Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
    at net.minecraft.world.World.func_72939_s(World.java:1756)

-- Affected level --
Details:
    Level name: MpServer
    All players: 1 total; [EntityPlayerSP['Elaed'/12029, l='MpServer', x=-279.32, y=70.00, z=259.67]]
    Chunk stats: MultiplayerChunkCache: 418, 418
    Level seed: 0
    Level generator: ID 00 - default, ver 1. Features enabled: false
    Level generator options: 
    Level spawn location: World: (-140,64,251), Chunk: (at 4,4,11 in -9,15; contains blocks -144,0,240 to -129,255,255), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
    Level time: 190479 game time, 190479 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: 95 total; [ZombieMiner['Zombie Miner'/12032, l='MpServer', x=-284.21, y=71.00, z=264.62], ZombieMiner['Zombie Miner'/12033, l='MpServer', x=-275.20, y=70.00, z=270.35], EntityPlayerSP['Elaed'/12029, l='MpServer', x=-279.32, y=70.00, z=259.67], EntityLatchedRenderer['unknown'/17, l='MpServer', x=8.50, y=65.00, z=8.50], EntityHat['unknown'/20, l='MpServer', x=8.50, y=65.00, z=8.50], ZombieMiner['Zombie Miner'/12056, l='MpServer', x=-278.49, y=70.00, z=184.99], EntityCow['Cow'/12057, l='MpServer', x=-278.35, y=70.00, z=183.99], ZombieFarmer['Zombie Farmer'/12318, l='MpServer', x=-324.49, y=43.00, z=243.79], EntityItem['item.item.spruceseed'/12319, l='MpServer', x=-328.43, y=75.50, z=208.92], EntityItem['item.item.spruceseed'/12320, l='MpServer', x=-321.18, y=72.00, z=216.80], EntityItem['item.item.oakseed'/12323, l='MpServer', x=-325.91, y=63.00, z=322.85], ZombieMiner['Zombie Miner'/12325, l='MpServer', x=-334.50, y=32.00, z=304.50], EntityZombie['Zombie'/12326, l='MpServer', x=-324.50, y=32.00, z=315.57], EntityItem['item.item.seeds'/12327, l='MpServer', x=-324.16, y=71.00, z=308.98], EntityItem['item.item.oakseed'/12328, l='MpServer', x=-330.33, y=71.00, z=309.96], EntityBasicHunter['Vampire Hunter'/12331, l='MpServer', x=-322.50, y=71.00, z=295.18], EntityItem['item.item.oakseed'/12332, l='MpServer', x=-328.08, y=71.00, z=299.88], EntityBasicHunter['Vampire Hunter'/12333, l='MpServer', x=-335.20, y=71.00, z=295.52], EntityBasicHunter['Vampire Hunter'/12334, l='MpServer', x=-331.17, y=71.00, z=292.76], EntityBasicHunter['Vampire Hunter'/12335, l='MpServer', x=-328.45, y=71.00, z=290.84], EntityItem['item.item.rottenFlesh'/10288, l='MpServer', x=-216.95, y=68.00, z=254.05], MoCEntityBoar['Boar'/12336, l='MpServer', x=-324.45, y=71.00, z=257.02], EntityItem['item.item.mocegg.82'/12337, l='MpServer', x=-331.91, y=66.00, z=258.56], MoCEntityBoar['Boar'/12338, l='MpServer', x=-327.50, y=68.00, z=256.32], EntitySpider['Spider'/12089, l='MpServer', x=-252.50, y=71.00, z=286.50], EntitySkeleton['Skeleton'/12348, l='MpServer', x=-311.87, y=62.00, z=279.50], MoCEntityBoar['Boar'/12349, l='MpServer', x=-306.39, y=71.00, z=283.43], EntityItem['item.item.oakseed'/12350, l='MpServer', x=-307.13, y=71.00, z=286.22], MoCEntityBoar['Boar'/12351, l='MpServer', x=-308.53, y=71.00, z=278.66], ZombieFarmer['Zombie Farmer'/12096, l='MpServer', x=-210.87, y=71.00, z=245.73], EntityZombie['Zombie'/12352, l='MpServer', x=-308.27, y=64.00, z=277.50], EntityItem['item.item.oakseed'/12353, l='MpServer', x=-312.12, y=71.00, z=288.58], EntityItem['item.item.seeds'/12354, l='MpServer', x=-315.14, y=71.00, z=293.89], ZombieMiner['Zombie Miner'/11588, l='MpServer', x=-263.50, y=37.00, z=185.50], EntityItem['item.item.spruceseed'/12357, l='MpServer', x=-312.34, y=71.00, z=209.79], EntityItem['item.item.birchseed'/12365, l='MpServer', x=-273.40, y=75.00, z=245.34], EntityZombie['Zombie'/12366, l='MpServer', x=-272.51, y=71.00, z=244.76], ZombieMiner['Zombie Miner'/12371, l='MpServer', x=-292.15, y=42.00, z=309.53], EntityItem['item.item.oakseed'/12372, l='MpServer', x=-288.08, y=68.00, z=217.13], EntityBasicHunter['Vampire Hunter'/6485, l='MpServer', x=-262.00, y=72.00, z=321.00], EntityBasicHunter['Vampire Hunter'/6486, l='MpServer', x=-267.00, y=72.00, z=321.00], ZombieMiner['Zombie Miner'/11607, l='MpServer', x=-202.50, y=64.00, z=259.50], EntityItem['item.item.oakseed'/12375, l='MpServer', x=-286.00, y=71.00, z=280.53], EntityItem['item.item.oakseed'/12376, l='MpServer', x=-286.83, y=70.00, z=305.20], EntityItem['item.item.birchseed'/12377, l='MpServer', x=-281.45, y=69.00, z=295.91], EntityItem['item.item.birchseed'/12378, l='MpServer', x=-274.71, y=70.00, z=293.00], MoCEntityBoar['Boar'/91, l='MpServer', x=-247.50, y=70.00, z=198.50], MoCEntityBoar['Boar'/92, l='MpServer', x=-246.50, y=69.00, z=196.50], ZombieFarmer['Zombie Farmer'/11613, l='MpServer', x=-265.50, y=16.00, z=309.50], EntityBasicHunter['Vampire Hunter'/9055, l='MpServer', x=-225.55, y=70.00, z=219.18], EntityItem['item.item.oakseed'/12397, l='MpServer', x=-272.72, y=72.00, z=234.75], EntityZombie['Zombie'/11635, l='MpServer', x=-265.54, y=72.00, z=232.82], ZombieFarmer['Zombie Farmer'/11652, l='MpServer', x=-221.50, y=70.00, z=210.50], ZombieMiner['Zombie Miner'/11654, l='MpServer', x=-221.50, y=70.00, z=213.50], EntitySkeleton['Skeleton'/11143, l='MpServer', x=-261.50, y=43.00, z=237.21], EntityCow['Cow'/135, l='MpServer', x=-215.47, y=70.00, z=230.85], EntityCow['Cow'/136, l='MpServer', x=-201.14, y=72.00, z=251.69], EntityCow['Cow'/137, l='MpServer', x=-201.54, y=71.00, z=238.80], EntityCow['Cow'/138, l='MpServer', x=-203.52, y=71.00, z=239.82], ZombieMiner['Zombie Miner'/11679, l='MpServer', x=-204.20, y=20.00, z=240.48], EntitySpider['Spider'/11681, l='MpServer', x=-263.02, y=69.00, z=271.00], MoCEntitySnail['Snail'/2212, l='MpServer', x=-241.08, y=66.00, z=242.27], MoCEntitySnail['Snail'/2213, l='MpServer', x=-242.44, y=66.00, z=240.18], MoCEntityMaggot['Maggot'/2214, l='MpServer', x=-238.93, y=66.00, z=241.32], EntityBasicVampire['Vampire'/12198, l='MpServer', x=-280.50, y=70.00, z=209.50], MoCEntityButterfly['ButterFly'/2215, l='MpServer', x=-230.99, y=66.23, z=244.07], ZombieMiner['Zombie Miner'/7853, l='MpServer', x=-253.95, y=68.00, z=263.21], EntityEnderman['Enderman'/12205, l='MpServer', x=-243.50, y=65.00, z=339.50], ZombieMiner['Zombie Miner'/12207, l='MpServer', x=-251.50, y=53.00, z=241.50], ZombieFarmer['Zombie Farmer'/11700, l='MpServer', x=-222.50, y=71.00, z=185.50], MoCEntityMouse['Mouse'/12215, l='MpServer', x=-356.48, y=72.00, z=215.44], MoCEntityFirefly['Firefly'/2234, l='MpServer', x=-226.68, y=71.00, z=190.49], EntityBasicHunter['Vampire Hunter'/6852, l='MpServer', x=-267.00, y=72.00, z=327.00], MoCEntityCod['Cod'/12231, l='MpServer', x=-354.50, y=65.00, z=270.50], EntityTippedArrow['Arrow'/11977, l='MpServer', x=-263.56, y=72.01, z=241.01], ZombieMiner['Zombie Miner'/12234, l='MpServer', x=-355.17, y=37.00, z=288.46], EntityItem['item.item.birchseed'/11981, l='MpServer', x=-233.14, y=71.00, z=280.02], EntityTippedArrow['Arrow'/11983, l='MpServer', x=-256.65, y=72.02, z=234.36], ZombieMiner['Zombie Miner'/8911, l='MpServer', x=-254.54, y=69.00, z=258.80], EntityItem['item.item.oakseed'/11989, l='MpServer', x=-234.09, y=71.00, z=287.42], ZombieMiner['Zombie Miner'/12245, l='MpServer', x=-258.50, y=45.00, z=237.50], EntityTippedArrow['Arrow'/11990, l='MpServer', x=-264.99, y=73.97, z=243.20], EntityCreeper['Creeper'/12250, l='MpServer', x=-241.50, y=27.00, z=322.50], EntityTippedArrow['Arrow'/11997, l='MpServer', x=-267.91, y=72.21, z=246.81], ZombieFarmer['Zombie Farmer'/11236, l='MpServer', x=-213.50, y=34.00, z=270.50], ZombieMiner['Zombie Miner'/11753, l='MpServer', x=-217.50, y=44.00, z=256.50], EntityItem['item.item.birchseed'/12013, l='MpServer', x=-231.51, y=70.00, z=278.04], MoCEntityFishy['Fishy'/12272, l='MpServer', x=-351.50, y=65.00, z=269.50], ZombieMiner['Zombie Miner'/12273, l='MpServer', x=-337.81, y=27.00, z=288.52], EntityItem['item.item.fish.cod.raw'/12274, l='MpServer', x=-339.30, y=57.00, z=304.59], EntityItem['item.item.fish.cod.raw'/12275, l='MpServer', x=-339.03, y=57.00, z=305.62], EntitySpider['Spider'/9718, l='MpServer', x=-202.50, y=69.00, z=276.50], EntityBasicHunter['Vampire Hunter'/6398, l='MpServer', x=-228.87, y=66.46, z=218.39], EntityCreeper['Creeper'/12030, l='MpServer', x=-283.50, y=18.00, z=256.50], EntityItem['item.item.oakseed'/12031, l='MpServer', x=-278.97, y=70.00, z=258.33]]
    Retry entities: 2 total; [EntityLatchedRenderer['unknown'/17, l='MpServer', x=8.50, y=65.00, z=8.50], EntityHat['unknown'/20, l='MpServer', x=8.50, y=65.00, z=8.50]]
    Server brand: fml,forge
    Server type: Non-integrated multiplayer server
Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:420)
    at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2738)
    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)

-- System Details --
Details:
    Minecraft Version: 1.12.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 1766372936 bytes (1684 MB) / 5620367360 bytes (5360 MB) up to 8589934592 bytes (8192 MB)
    JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx8G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M
    IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
    FML: MCP 9.42 Powered by Forge 14.23.4.2708 82 mods loaded, 82 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

    | State  | ID                        | Version           | Source                                           | Signature                                |
    |:------ |:------------------------- |:----------------- |:------------------------------------------------ |:---------------------------------------- |
    | UCHIJA | minecraft                 | 1.12.2            | minecraft.jar                                    | None                                     |
    | UCHIJA | mcp                       | 9.42              | minecraft.jar                                    | None                                     |
    | UCHIJA | FML                       | 8.0.99.99         | forge-1.12.2-14.23.4.2708.jar                    | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | UCHIJA | forge                     | 14.23.4.2708      | forge-1.12.2-14.23.4.2708.jar                    | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | UCHIJA | ivtoolkit                 | 1.3.3-1.12        | minecraft.jar                                    | None                                     |
    | UCHIJA | techguns_core             | 1.12.2-1.0        | minecraft.jar                                    | None                                     |
    | UCHIJA | jei                       | 4.12.0.216        | jei_1.12.2-4.12.0.216.jar                        | None                                     |
    | UCHIJA | abyssalcraft              | 1.9.4.10          | AbyssalCraft-1.12.2-1.9.4.10.jar                 | 220f10d3a93b3ff5fbaa7434cc629d863d6751b9 |
    | UCHIJA | ctm                       | MC1.12.2-0.3.2.18 | CTM-MC1.12.2-0.3.2.18.jar                        | None                                     |
    | UCHIJA | chisel                    | MC1.12.2-0.2.1.35 | Chisel-MC1.12.2-0.2.1.35.jar                     | None                                     |
    | UCHIJA | mantle                    | 1.12-1.3.2.24     | Mantle-1.12-1.3.2.24.jar                         | None                                     |
    | UCHIJA | baubles                   | 1.5.2             | Baubles-1.12-1.5.2.jar                           | None                                     |
    | UCHIJA | thaumcraft                | 6.1.BETA24        | Thaumcraft-1.12.2-6.1.BETA24 (1).jar             | None                                     |
    | UCHIJA | twilightforest            | 3.8.689           | twilightforest-1.12.2-3.8.689-universal.jar      | None                                     |
    | UCHIJA | tconstruct                | 1.12.2-2.10.1.87  | TConstruct-1.12.2-2.10.1.87.jar                  | None                                     |
    | UCHIJA | acintegration             | 1.6.6             | AbyssalCraft+Integration-1.12.2-1.6.6.jar        | 220f10d3a93b3ff5fbaa7434cc629d863d6751b9 |
    | UCHIJA | actuallyadditions         | 1.12.2-r141       | ActuallyAdditions-1.12.2-r141.jar                | None                                     |
    | UCHIJA | astralsorcery             | 1.9.4             | astralsorcery-1.12.2-1.9.4.jar                   | a0f0b759d895c15ceb3e3bcb5f3c2db7c582edf0 |
    | UCHIJA | autoreglib                | 1.3-20            | AutoRegLib-1.3-20.jar                            | None                                     |
    | UCHIJA | codechickenlib            | 3.1.9.344         | CodeChickenLib-1.12.2-3.1.9.344-universal.jar    | f1850c39b2516232a2108a7bd84d1cb5df93b261 |
    | UCHIJA | avaritia                  | 3.2.0             | Avaritia-1.12.2-3.2.0.25-universal.jar           | None                                     |
    | UCHIJA | biomesoplenty             | 7.0.1.2399        | BiomesOPlenty-1.12.2-7.0.1.2399-universal.jar    | None                                     |
    | UCHIJA | guideapi                  | 1.12-2.1.6-61     | Guide-API-1.12-2.1.6-61.jar                      | None                                     |
    | UCHIJA | bloodmagic                | 1.12.2-2.3.3-101  | BloodMagic-1.12.2-2.3.3-101.jar                  | None                                     |
    | UCHIJA | bookshelf                 | 2.3.559           | Bookshelf-1.12.2-2.3.559.jar                     | d476d1b22b218a10d845928d1665d45fce301b27 |
    | UCHIJA | redstoneflux              | 2.0.2             | RedstoneFlux-1.12-2.0.2.3-universal.jar          | 8a6abf2cb9e141b866580d369ba6548732eff25f |
    | UCHIJA | brandonscore              | 2.4.2             | BrandonsCore-1.12-2.4.2.157-universal.jar        | None                                     |
    | UCHIJA | cfm                       | 5.11.0            | cfm-5.11.0-mc1.12.2.jar                          | None                                     |
    | UCHIJA | cofhcore                  | 4.4.1             | CoFHCore-1.12.2-4.4.1.12-universal.jar           | None                                     |
    | UCHIJA | thermalfoundation         | 2.4.1             | ThermalFoundation-1.12.2-2.4.1.15-universal.jar  | 8a6abf2cb9e141b866580d369ba6548732eff25f |
    | UCHIJA | draconicevolution         | 2.3.11            | Draconic-Evolution-1.12-2.3.11.290-universal.jar | None                                     |
    | UCHIJA | dynamictrees              | 1.12.2-0.7.8      | DynamicTrees-1.12.2-0.7.8.jar                    | None                                     |
    | UCHIJA | earthworks                | 1.3.4.3           | Earthworks-Mod-1.12.jar                          | None                                     |
    | UCHIJA | ebwizardry                | 4.1.2             | Electroblob_s+Wizardry+-+4.1.2+-+MC+1.12.2.jar   | None                                     |
    | UCHIJA | valkyrielib               | 1.12.2-2.0.15.1   | valkyrielib-1.12.2-2.0.15.1.jar                  | None                                     |
    | UCHIJA | environmentaltech         | 1.12.2-2.0.15.1   | environmentaltech-1.12.2-2.0.15.1.jar            | None                                     |
    | UCHIJA | erebus                    | 1.0.22            | Erebus-Dimension-Mod-1.12.2.jar                  | None                                     |
    | UCHIJA | forgemultipartcbe         | 2.4.2.58          | ForgeMultipart-1.12.2-2.4.2.58-universal.jar     | f1850c39b2516232a2108a7bd84d1cb5df93b261 |
    | UCHIJA | microblockcbe             | 2.4.2.58          | ForgeMultipart-1.12.2-2.4.2.58-universal.jar     | None                                     |
    | UCHIJA | minecraftmultipartcbe     | 2.4.2.58          | ForgeMultipart-1.12.2-2.4.2.58-universal.jar     | None                                     |
    | UCHIJA | howlingmoon               | 0.9               | Howling-Moon-Mod-1.12.2.jar                      | None                                     |
    | UCHIJA | ichunutil                 | 7.1.4             | iChunUtil-1.12.2-7.1.4.jar                       | None                                     |
    | UCHIJA | hats                      | 7.0.0             | iChuns-Hats-Mod-1.12.2.jar                       | None                                     |
    | UCHIJA | ironchest                 | 1.12.2-7.0.40.824 | ironchest-1.12.2-7.0.40.824.jar                  | None                                     |
    | UCHIJA | millenaire                | Millénaire 6.2.10 | millenaire-1.12.2-6.2.10.jar                     | None                                     |
    | UCHIJA | mocreatures               | 12.0.5            | Mo-Creatures-Mod-1.12.2.jar                      | None                                     |
    | UCHIJA | mrtjpcore                 | 2.1.3.35          | MrTJPCore-1.12.2-2.1.3.35-universal.jar          | None                                     |
    | UCHIJA | orbis_api                 | 1.12.2-1.1.91     | Orbis-API-1.12.2.jar                             | db341c083b1b8ce9160a769b569ef6737b3f4cdf |
    | UCHIJA | harvestcraft              | 1.12.2z           | Pam_s+HarvestCraft+1.12.2z.jar                   | None                                     |
    | UCHIJA | shetiphiancore            | 3.5.8             | shetiphiancore-1.12.0-3.5.8.jar                  | None                                     |
    | UCHIJA | platforms                 | 1.4.6             | platforms-1.12.0-1.4.6.jar                       | None                                     |
    | UCHIJA | projectred-core           | 4.9.1.92          | ProjectRed-1.12.2-4.9.1.92-Base.jar              | None                                     |
    | UCHIJA | projectred-exploration    | 4.9.1.92          | ProjectRed-1.12.2-4.9.1.92-world.jar             | None                                     |
    | UCHIJA | plustic                   | 6.5.2.0           | plustic-6.5.2.0.jar                              | None                                     |
    | UCHIJA | projectred-integration    | 4.9.1.92          | ProjectRed-1.12.2-4.9.1.92-integration.jar       | None                                     |
    | UCHIJA | projectred-transmission   | 4.9.1.92          | ProjectRed-1.12.2-4.9.1.92-integration.jar       | None                                     |
    | UCHIJA | projectred-fabrication    | 4.9.1.92          | ProjectRed-1.12.2-4.9.1.92-fabrication.jar       | None                                     |
    | UCHIJA | projectred-illumination   | 4.9.1.92          | ProjectRed-1.12.2-4.9.1.92-lighting.jar          | None                                     |
    | UCHIJA | projectred-expansion      | 4.9.1.92          | ProjectRed-1.12.2-4.9.1.92-mechanical.jar        | None                                     |
    | UCHIJA | projectred-relocation     | 4.9.1.92          | ProjectRed-1.12.2-4.9.1.92-mechanical.jar        | None                                     |
    | UCHIJA | projectred-transportation | 4.9.1.92          | ProjectRed-1.12.2-4.9.1.92-mechanical.jar        | None                                     |
    | UCHIJA | reborncore                | 3.10.1.335        | RebornCore-1.12.2-3.10.1.335-universal.jar       | 8727a3141c8ec7f173b87aa78b9b9807867c4e6b |
    | UCHIJA | xreliquary                | 1.12.2-1.3.4.767  | Reliquary-1.12.2-1.3.4.767.jar                   | None                                     |
    | UCHIJA | roots                     | 0.103             | Roots-Mod-1.12.1.jar                             | None                                     |
    | UCHIJA | silentlib                 | 3.0.1             | SilentLib-1.12.2-3.0.1-145.jar                   | None                                     |
    | UCHIJA | silentgems                | 2.8.2             | SilentsGems-1.12.2-2.8.2-293.jar                 | None                                     |
    | UCHIJA | spartanshields            | 1.3a              | SpartanShields-1.12-1.3a.jar                     | None                                     |
    | UCHIJA | spartanweaponry           | beta 1.2.2        | SpartanWeaponry-1.12.2-beta-1.2.2.jar            | None                                     |
    | UCHIJA | techguns                  | 2.0.1.1           | techguns-1.12.2-2.0.1.1 (1).jar                  | None                                     |
    | UCHIJA | techreborn                | 2.17.4.824        | TechReborn-1.12.2-2.17.4.824-universal.jar       | 8727a3141c8ec7f173b87aa78b9b9807867c4e6b |
    | UCHIJA | thermalexpansion          | 5.4.2             | ThermalExpansion-1.12.2-5.4.2.27-universal.jar   | 8a6abf2cb9e141b866580d369ba6548732eff25f |
    | UCHIJA | thermalcultivation        | 0.2.0             | ThermalCultivation-1.12.2-0.2.0.6-universal.jar  | 8a6abf2cb9e141b866580d369ba6548732eff25f |
    | UCHIJA | thermaldynamics           | 2.4.1             | ThermalDynamics-1.12.2-2.4.1.10-universal.jar    | 8a6abf2cb9e141b866580d369ba6548732eff25f |
    | UCHIJA | thermalinnovation         | 0.2.1             | ThermalInnovation-1.12.2-0.2.1.6-universal.jar   | 8a6abf2cb9e141b866580d369ba6548732eff25f |
    | UCHIJA | tropicraft                | 7.1.4.78          | tropicraft-MC1.12.2-7.1.4.78.jar                 | None                                     |
    | UCHIJA | universalmodifiers        | 1.12.2-1.0.9a     | valkyrielib-1.12.2-2.0.15.1.jar                  | None                                     |
    | UCHIJA | vampirism                 | 1.3.7             | Vampirism-Mod-1.12.2.jar                         | None                                     |
    | UCHIJA | teamlapen-lib             | 1.3.7             | Vampirism-Mod-1.12.2.jar                         | None                                     |
    | UCHIJA | yoyos                     | 1.12.2-1.2.2.20   | yoyos_1.12.2-1.2.2.20.jar                        | None                                     |
    | UCHIJA | immersiveengineering      | 0.12-85           | ImmersiveEngineering-0.12-85.jar                 | 4cb49fcde3b43048c9889e0a3d083225da926334 |
    | UCHIJA | llibrary                  | 1.7.15            | llibrary-1.7.15-1.12.2.jar                       | b9f30a813bee3b9dd5652c460310cfcd54f6b7ec |
    | UCHIJA | thebetweenlands           | 3.3.12            | TheBetweenlands-3.3.12-universal.jar             | 38067d6878811efb38b6a045521cfd80b9b60b38 |

    Loaded coremods (and transformers): 
ShetiPhian-ASM (ShetiPhian-ASM-1.12.0.jar)
  shetiphian.asm.ClassTransformer
CTMCorePlugin (CTM-MC1.12.2-0.3.2.18.jar)
  team.chisel.ctm.client.asm.CTMTransformer
AstralCore (astralsorcery-1.12.2-1.9.4.jar)
  
IELoadingPlugin (ImmersiveEngineering-core-0.12-85.jar)
  blusunrize.immersiveengineering.common.asm.IEClassTransformer
Techguns Core (techguns-1.12.2-2.0.1.1 (1).jar)
  techguns.core.TechgunsASMTransformer
IvToolkit (IvToolkit-1.3.3-1.12.jar)
  
llibrary (llibrary-core-1.0.8-1.12.2.jar)
  net.ilexiconn.llibrary.server.core.plugin.LLibraryTransformer
  net.ilexiconn.llibrary.server.core.patcher.LLibraryRuntimePatcher
TheBetweenlandsLoadingPlugin (TheBetweenlands-3.3.12-core.jar)
  thebetweenlands.core.TheBetweenlandsClassTransformer
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 399.07' Renderer: 'GeForce GTX 1080 with Max-Q Design/PCIe/SSE2'
    Pulsar/tconstruct loaded Pulses: 
        - TinkerCommons (Enabled/Forced)
        - TinkerWorld (Enabled/Not Forced)
        - TinkerTools (Enabled/Not Forced)
        - TinkerHarvestTools (Enabled/Forced)
        - TinkerMeleeWeapons (Enabled/Forced)
        - TinkerRangedWeapons (Enabled/Forced)
        - TinkerModifiers (Enabled/Forced)
        - TinkerSmeltery (Enabled/Not Forced)
        - TinkerGadgets (Enabled/Not Forced)
        - TinkerOredict (Enabled/Forced)
        - TinkerIntegration (Enabled/Forced)
        - TinkerFluids (Enabled/Forced)
        - TinkerMaterials (Enabled/Forced)
        - TinkerModelRegister (Enabled/Forced)
        - chiselIntegration (Enabled/Not Forced)

    RebornCore: 
        Plugin Engine: 0
        RebornCore Version: 3.10.1.335
        Runtime Debofucsation 1
        RenderEngine: 0
    Launched Version: 1.12.2-forge1.12.2-14.23.4.2708
    LWJGL: 2.9.4
    OpenGL: GeForce GTX 1080 with Max-Q Design/PCIe/SSE2 GL version 4.6.0 NVIDIA 399.07, NVIDIA Corporation
    GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

    U

Edited by ScoppPanda
Posted (edited)
13 hours ago, ScoppPanda said:

Details:
    Entity Type: mocreatures:cod (drzhark.mocreatures.entity.aquatic.MoCEntityCod)
    Entity ID: 12231
    Entity Name: Cod

 

13 hours ago, ScoppPanda said:

java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Boolean
    at drzhark.mocreatures.entity.MoCEntityTameableAquatic.getIsTamed(MoCEntityTameableAquatic.java:89)

Problem with MoCreatures mod, report it to the author

Edited by Cadiboo

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

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

    • Okay, but does the modpack works with 1.12 or just with 1.12.2, because I need the Forge client specifically for Minecraft 1.12, not 1.12.2
    • Version 1.19 - Forge 41.0.63 I want to create a wolf entity that I can ride, so far it seems to be working, but the problem is that when I get on the wolf, I can’t control it. I then discovered that the issue is that the server doesn’t detect that I’m riding the wolf, so I’m struggling with synchronization. However, it seems to not be working properly. As I understand it, the server receives the packet but doesn’t register it correctly. I’m a bit new to Java, and I’ll try to provide all the relevant code and prints *The comments and prints are translated by chatgpt since they were originally in Spanish* Thank you very much in advance No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. MountableWolfEntity package com.vals.valscraft.entity; import com.vals.valscraft.network.MountSyncPacket; import com.vals.valscraft.network.NetworkHandler; import net.minecraft.client.Minecraft; import net.minecraft.network.syncher.EntityDataAccessor; import net.minecraft.network.syncher.EntityDataSerializers; import net.minecraft.network.syncher.SynchedEntityData; import net.minecraft.server.MinecraftServer; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.Mob; import net.minecraft.world.entity.ai.attributes.AttributeSupplier; import net.minecraft.world.entity.ai.attributes.Attributes; import net.minecraft.world.entity.animal.Wolf; import net.minecraft.world.entity.player.Player; import net.minecraft.world.entity.Entity; import net.minecraft.world.InteractionHand; import net.minecraft.world.InteractionResult; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.Items; import net.minecraft.world.level.Level; import net.minecraft.world.phys.Vec3; import net.minecraftforge.event.TickEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.network.PacketDistributor; public class MountableWolfEntity extends Wolf { private boolean hasSaddle; private static final EntityDataAccessor<Byte> DATA_ID_FLAGS = SynchedEntityData.defineId(MountableWolfEntity.class, EntityDataSerializers.BYTE); public MountableWolfEntity(EntityType<? extends Wolf> type, Level level) { super(type, level); this.hasSaddle = false; } @Override protected void defineSynchedData() { super.defineSynchedData(); this.entityData.define(DATA_ID_FLAGS, (byte)0); } public static AttributeSupplier.Builder createAttributes() { return Wolf.createAttributes() .add(Attributes.MAX_HEALTH, 20.0) .add(Attributes.MOVEMENT_SPEED, 0.3); } @Override public InteractionResult mobInteract(Player player, InteractionHand hand) { ItemStack itemstack = player.getItemInHand(hand); if (itemstack.getItem() == Items.SADDLE && !this.hasSaddle()) { if (!player.isCreative()) { itemstack.shrink(1); } this.setSaddle(true); return InteractionResult.SUCCESS; } else if (!level.isClientSide && this.hasSaddle()) { player.startRiding(this); MountSyncPacket packet = new MountSyncPacket(true); // 'true' means the player is mounted NetworkHandler.CHANNEL.sendToServer(packet); // Ensure the server handles the packet return InteractionResult.SUCCESS; } return InteractionResult.PASS; } @Override public void travel(Vec3 travelVector) { if (this.isVehicle() && this.getControllingPassenger() instanceof Player) { System.out.println("The wolf has a passenger."); System.out.println("The passenger is a player."); Player player = (Player) this.getControllingPassenger(); // Ensure the player is the controller this.setYRot(player.getYRot()); this.yRotO = this.getYRot(); this.setXRot(player.getXRot() * 0.5F); this.setRot(this.getYRot(), this.getXRot()); this.yBodyRot = this.getYRot(); this.yHeadRot = this.yBodyRot; float forward = player.zza; float strafe = player.xxa; if (forward <= 0.0F) { forward *= 0.25F; } this.flyingSpeed = this.getSpeed() * 0.1F; this.setSpeed((float) this.getAttributeValue(Attributes.MOVEMENT_SPEED) * 1.5F); this.setDeltaMovement(new Vec3(strafe, travelVector.y, forward).scale(this.getSpeed())); this.calculateEntityAnimation(this, false); } else { // The wolf does not have a passenger or the passenger is not a player System.out.println("No player is mounted, or the passenger is not a player."); super.travel(travelVector); } } public boolean hasSaddle() { return this.hasSaddle; } public void setSaddle(boolean hasSaddle) { this.hasSaddle = hasSaddle; } @Override protected void dropEquipment() { super.dropEquipment(); if (this.hasSaddle()) { this.spawnAtLocation(Items.SADDLE); this.setSaddle(false); } } @SubscribeEvent public static void onServerTick(TickEvent.ServerTickEvent event) { if (event.phase == TickEvent.Phase.START) { MinecraftServer server = net.minecraftforge.server.ServerLifecycleHooks.getCurrentServer(); if (server != null) { for (ServerPlayer player : server.getPlayerList().getPlayers()) { if (player.isPassenger() && player.getVehicle() instanceof MountableWolfEntity) { MountableWolfEntity wolf = (MountableWolfEntity) player.getVehicle(); System.out.println("Tick: " + player.getName().getString() + " is correctly mounted on " + wolf); } } } } } private boolean lastMountedState = false; @Override public void tick() { super.tick(); if (!this.level.isClientSide) { // Only on the server boolean isMounted = this.isVehicle() && this.getControllingPassenger() instanceof Player; // Only print if the state changed if (isMounted != lastMountedState) { if (isMounted) { Player player = (Player) this.getControllingPassenger(); // Verify the passenger is a player System.out.println("Server: Player " + player.getName().getString() + " is now mounted."); } else { System.out.println("Server: The wolf no longer has a passenger."); } lastMountedState = isMounted; } } } @Override public void addPassenger(Entity passenger) { super.addPassenger(passenger); if (passenger instanceof Player) { Player player = (Player) passenger; if (!this.level.isClientSide && player instanceof ServerPlayer) { // Send the packet to the server to indicate the player is mounted NetworkHandler.CHANNEL.send(PacketDistributor.PLAYER.with(() -> (ServerPlayer) player), new MountSyncPacket(true)); } } } @Override public void removePassenger(Entity passenger) { super.removePassenger(passenger); if (passenger instanceof Player) { Player player = (Player) passenger; if (!this.level.isClientSide && player instanceof ServerPlayer) { // Send the packet to the server to indicate the player is no longer mounted NetworkHandler.CHANNEL.send(PacketDistributor.PLAYER.with(() -> (ServerPlayer) player), new MountSyncPacket(false)); } } } @Override public boolean isControlledByLocalInstance() { Entity entity = this.getControllingPassenger(); return entity instanceof Player; } @Override public void positionRider(Entity passenger) { if (this.hasPassenger(passenger)) { double xOffset = Math.cos(Math.toRadians(this.getYRot() + 90)) * 0.4; double zOffset = Math.sin(Math.toRadians(this.getYRot() + 90)) * 0.4; passenger.setPos(this.getX() + xOffset, this.getY() + this.getPassengersRidingOffset() + passenger.getMyRidingOffset(), this.getZ() + zOffset); } } } MountSyncPacket package com.vals.valscraft.network; import com.vals.valscraft.entity.MountableWolfEntity; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.server.level.ServerLevel; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.entity.Entity; import net.minecraft.world.entity.player.Player; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class MountSyncPacket { private final boolean isMounted; public MountSyncPacket(boolean isMounted) { this.isMounted = isMounted; } public void encode(FriendlyByteBuf buffer) { buffer.writeBoolean(isMounted); } public static MountSyncPacket decode(FriendlyByteBuf buffer) { return new MountSyncPacket(buffer.readBoolean()); } public void handle(NetworkEvent.Context context) { context.enqueueWork(() -> { ServerPlayer player = context.getSender(); // Get the player from the context if (player != null) { // Verifies if the player has dismounted if (!isMounted) { Entity vehicle = player.getVehicle(); if (vehicle instanceof MountableWolfEntity wolf) { // Logic to remove the player as a passenger wolf.removePassenger(player); System.out.println("Server: Player " + player.getName().getString() + " is no longer mounted."); } } } }); context.setPacketHandled(true); // Marks the packet as handled } } networkHandler package com.vals.valscraft.network; import com.vals.valscraft.valscraft; import net.minecraft.resources.ResourceLocation; import net.minecraftforge.network.NetworkRegistry; import net.minecraftforge.network.simple.SimpleChannel; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class NetworkHandler { private static final String PROTOCOL_VERSION = "1"; public static final SimpleChannel CHANNEL = NetworkRegistry.newSimpleChannel( new ResourceLocation(valscraft.MODID, "main"), () -> PROTOCOL_VERSION, PROTOCOL_VERSION::equals, PROTOCOL_VERSION::equals ); public static void init() { int packetId = 0; // Register the mount synchronization packet CHANNEL.registerMessage( packetId++, MountSyncPacket.class, MountSyncPacket::encode, MountSyncPacket::decode, (msg, context) -> msg.handle(context.get()) // Get the context with context.get() ); } }  
    • Do you use features of inventory profiles next (ipnext) or is there a change without it?
  • Topics

×
×
  • Create New...

Important Information

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