Jump to content

Recommended Posts

Posted (edited)

Any Storage Core (other than the one in question) seems to work properly, however clicking on this core causes my game to crash back to the launcher. Additionally, other players are able to easily interact with the Core in question. Any ideas what's causing this?

 

---- Minecraft Crash Report ----
// Sorry :(

Time: 1/9/18 8:44 AM
Description: Rendering screen

java.lang.NullPointerException: Rendering screen
    at com.domochevsky.territories.Items.TerritoryMap.func_77624_a(TerritoryMap.java:188)
    at net.minecraft.item.ItemStack.func_82840_a(ItemStack.java:525)
    at com.zerofall.ezstorage.gui.GuiStorageCore.updateFilteredItems(GuiStorageCore.java:191)
    at com.zerofall.ezstorage.gui.GuiStorageCore.func_146979_b(GuiStorageCore.java:89)
    at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:119)
    at com.zerofall.ezstorage.gui.GuiStorageCore.func_73863_a(GuiStorageCore.java:144)
    at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1061)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1001)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)
    at net.minecraft.client.main.Main.main(SourceFile:148)
    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:483)
    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 --
Stacktrace:
    at com.domochevsky.territories.Items.TerritoryMap.func_77624_a(TerritoryMap.java:188)
    at net.minecraft.item.ItemStack.func_82840_a(ItemStack.java:525)
    at com.zerofall.ezstorage.gui.GuiStorageCore.updateFilteredItems(GuiStorageCore.java:191)
    at com.zerofall.ezstorage.gui.GuiStorageCore.func_146979_b(GuiStorageCore.java:89)
    at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:119)
    at com.zerofall.ezstorage.gui.GuiStorageCore.func_73863_a(GuiStorageCore.java:144)

-- Screen render details --
Details:
    Screen name: com.zerofall.ezstorage.gui.GuiCraftingCore
    Mouse location: Scaled: (480, 257). Absolute: (960, 513)
    Screen size: Scaled: (960, 514). Absolute: (1920, 1027). Scale factor of 2

-- Affected level --
Details:
    Level name: MpServer
    All players: 1 total; [EntityClientPlayerMP['Banne'/1814, l='MpServer', x=1213.00, y=16.62, z=-686.70]]
    Chunk stats: MultiplayerChunkCache: 441, 441
    Level seed: 0
    Level generator: ID 00 - default, ver 1. Features enabled: false
    Level generator options:
    Level spawn location: World: (126,67,133), Chunk: (at 14,4,5 in 7,8; contains blocks 112,0,128 to 127,255,143), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 20740781 game time, 777437 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: 142 total; [EntitySquid['Squid'/22531, l='MpServer', x=1194.84, y=55.75, z=-746.69], EntitySquid['Squid'/22532, l='MpServer', x=1191.31, y=57.38, z=-746.28], EntitySquid['Squid'/22533, l='MpServer', x=1196.75, y=57.94, z=-745.44], EntitySquid['Squid'/22534, l='MpServer', x=1201.66, y=56.28, z=-741.25], EntitySquid['Squid'/22535, l='MpServer', x=1196.47, y=59.31, z=-744.91], EntitySquid['Squid'/22536, l='MpServer', x=1186.59, y=58.31, z=-739.97], EntitySquid['Squid'/22538, l='MpServer', x=1203.28, y=59.31, z=-747.09], EntitySquid['Squid'/22539, l='MpServer', x=1195.47, y=59.34, z=-747.88], EntitySquid['Squid'/22540, l='MpServer', x=1192.66, y=58.16, z=-744.13], EntitySquid['Squid'/22541, l='MpServer', x=1184.03, y=55.38, z=-733.66], EntitySquid['Squid'/22542, l='MpServer', x=1180.50, y=52.19, z=-740.63], EntitySquid['Squid'/22543, l='MpServer', x=1182.34, y=54.34, z=-738.34], EntitySquid['Squid'/22544, l='MpServer', x=1182.47, y=56.03, z=-745.50], EntitySquid['Squid'/22545, l='MpServer', x=1182.56, y=54.84, z=-735.81], EntitySquid['Squid'/22546, l='MpServer', x=1185.50, y=55.16, z=-734.44], EntitySquid['Squid'/22547, l='MpServer', x=1189.31, y=52.13, z=-729.72], EntityClientPlayerMP['Bannelore'/1814, l='MpServer', x=1213.00, y=16.62, z=-686.70], EntitySquid['Squid'/22548, l='MpServer', x=1192.50, y=54.09, z=-737.41], EntitySquid['Squid'/22549, l='MpServer', x=1185.91, y=56.38, z=-732.84], EntityBat['Bat'/22038, l='MpServer', x=1266.13, y=41.10, z=-711.75], EntitySquid['Squid'/22550, l='MpServer', x=1192.28, y=54.88, z=-735.53], EntityBat['Bat'/22039, l='MpServer', x=1273.62, y=40.22, z=-710.60], EntitySquid['Squid'/22551, l='MpServer', x=1185.22, y=56.28, z=-744.53], EntitySquid['Squid'/22552, l='MpServer', x=1178.31, y=56.38, z=-737.66], EntitySquid['Squid'/22553, l='MpServer', x=1178.59, y=54.66, z=-673.25], EntitySquid['Squid'/22554, l='MpServer', x=1177.06, y=57.19, z=-671.06], EntitySquid['Squid'/22555, l='MpServer', x=1180.63, y=52.19, z=-680.53], EntitySquid['Squid'/22557, l='MpServer', x=1172.59, y=57.38, z=-676.75], EntitySquid['Squid'/22558, l='MpServer', x=1173.97, y=55.78, z=-683.59], EntitySquid['Squid'/22559, l='MpServer', x=1174.84, y=57.19, z=-679.94], EntitySquid['Squid'/22560, l='MpServer', x=1177.50, y=56.91, z=-675.50], EntitySquid['Squid'/22561, l='MpServer', x=1171.91, y=56.69, z=-684.66], EntitySquid['Squid'/22562, l='MpServer', x=1167.03, y=56.72, z=-683.34], EntitySquid['Squid'/22563, l='MpServer', x=1160.66, y=57.38, z=-683.19], EntitySquid['Squid'/22564, l='MpServer', x=1162.97, y=57.34, z=-679.19], EntityBat['Bat'/22058, l='MpServer', x=1202.47, y=26.10, z=-650.50], EntityBat['Bat'/22062, l='MpServer', x=1286.53, y=24.10, z=-605.69], EntityPainting['Painting'/3485, l='MpServer', x=951.00, y=67.50, z=-474.94], EntityPainting['Painting'/3490, l='MpServer', x=963.94, y=86.00, z=-474.50], EntityPainting['Painting'/3483, l='MpServer', x=959.94, y=75.50, z=-471.00], EntityPainting['Painting'/3487, l='MpServer', x=957.06, y=81.50, z=-473.50], EntityMinecartChest['entity.MinecartChest.name'/11342, l='MpServer', x=1181.50, y=28.50, z=-703.50], EntityBat['Bat'/22096, l='MpServer', x=1250.25, y=20.10, z=-642.13], EntityPainting['Painting'/3484, l='MpServer', x=952.00, y=67.50, z=-465.06], EntityPainting['Painting'/3681, l='MpServer', x=964.00, y=57.00, z=-455.06], EntitySpider['Spider'/22123, l='MpServer', x=1227.00, y=18.00, z=-611.59], EntityCreeper['Creeper'/22128, l='MpServer', x=1224.19, y=18.00, z=-610.31], EntitySkeleton['Skeleton'/18055, l='MpServer', x=1156.50, y=28.00, z=-626.50], EntityZombie['Zombie'/22191, l='MpServer', x=1132.88, y=31.00, z=-744.44], EntityCreeper['Creeper'/22214, l='MpServer', x=1148.31, y=34.00, z=-611.31], EntityCreeper['Creeper'/22215, l='MpServer', x=1148.31, y=33.00, z=-612.31], EntityCreeper['Creeper'/22217, l='MpServer', x=1269.69, y=23.00, z=-641.94], EntityPainting['Painting'/3194, l='MpServer', x=960.94, y=71.00, z=-494.00], EntityPainting['Painting'/2905, l='MpServer', x=958.00, y=71.00, z=-496.94], EntityPainting['Painting'/3681, l='MpServer', x=964.00, y=57.00, z=-455.06], EntitySkeleton['Skeleton'/22262, l='MpServer', x=1154.50, y=20.00, z=-666.50], EntityZombie['Zombie'/22263, l='MpServer', x=1158.50, y=20.00, z=-668.50], EntitySkeleton['Skeleton'/22264, l='MpServer', x=1148.06, y=18.00, z=-656.53], EntitySkeleton['Skeleton'/22265, l='MpServer', x=1155.66, y=20.00, z=-664.31], EntitySkeleton['Skeleton'/22266, l='MpServer', x=1156.50, y=20.00, z=-667.50], EntityPainting['Painting'/3483, l='MpServer', x=959.94, y=75.50, z=-471.00], EntityBat['Bat'/22270, l='MpServer', x=1207.59, y=17.10, z=-612.25], EntityBat['Bat'/22273, l='MpServer', x=1131.51, y=43.85, z=-759.25], EntityPainting['Painting'/3484, l='MpServer', x=952.00, y=67.50, z=-465.06], EntitySquid['Squid'/22282, l='MpServer', x=1250.50, y=57.75, z=-673.78], EntitySquid['Squid'/22283, l='MpServer', x=1252.81, y=58.38, z=-676.31], EntitySquid['Squid'/22284, l='MpServer', x=1241.66, y=56.94, z=-672.84], EntitySquid['Squid'/22285, l='MpServer', x=1244.97, y=58.38, z=-675.81], EntitySquid['Squid'/22286, l='MpServer', x=1252.31, y=56.34, z=-675.22], EntitySquid['Squid'/22287, l='MpServer', x=1248.09, y=58.34, z=-675.13], EntitySquid['Squid'/22288, l='MpServer', x=1249.28, y=58.38, z=-671.78], EntityCaveSpider['Cave Spider'/93968, l='MpServer', x=-34.35, y=-49.59, z=17.30], EntitySquid['Squid'/22289, l='MpServer', x=1248.44, y=56.16, z=-676.66], EntitySquid['Squid'/22290, l='MpServer', x=1250.59, y=58.03, z=-674.97], EntitySquid['Squid'/22291, l='MpServer', x=1254.38, y=56.09, z=-665.38], EntitySquid['Squid'/22292, l='MpServer', x=1256.44, y=56.31, z=-666.50], EntitySquid['Squid'/22293, l='MpServer', x=1255.69, y=56.16, z=-668.28], EntitySpider['Spider'/49446, l='MpServer', x=-46.98, y=-34.97, z=2.15], EntityZombie['Zombie'/21808, l='MpServer', x=1152.50, y=26.00, z=-618.94], EntityItem['item.tile.cactus'/21830, l='MpServer', x=1224.19, y=22.13, z=-680.25], EntityItem['item.tile.cactus'/21832, l='MpServer', x=1220.31, y=22.13, z=-678.69], EntityItem['item.tile.cactus'/21833, l='MpServer', x=1220.88, y=22.13, z=-682.81], EntitySquid['Squid'/22345, l='MpServer', x=1225.25, y=50.19, z=-696.34], EntitySquid['Squid'/22346, l='MpServer', x=1225.47, y=52.13, z=-697.03], EntityItem['item.tile.cactus'/21835, l='MpServer', x=1228.31, y=22.13, z=-682.16], EntitySquid['Squid'/22347, l='MpServer', x=1216.56, y=51.81, z=-689.31], EntitySquid['Squid'/22348, l='MpServer', x=1211.53, y=50.81, z=-695.03], EntityItem['item.tile.cactus'/21837, l='MpServer', x=1219.78, y=22.13, z=-680.16], EntitySquid['Squid'/22349, l='MpServer', x=1216.97, y=51.75, z=-698.50], EntityMinecartChest['entity.MinecartChest.name'/21838, l='MpServer', x=1234.50, y=17.50, z=-662.13], EntitySquid['Squid'/22350, l='MpServer', x=1218.19, y=52.38, z=-692.94], EntitySquid['Squid'/22351, l='MpServer', x=1217.84, y=51.19, z=-690.50], EntitySquid['Squid'/22352, l='MpServer', x=1219.19, y=51.72, z=-699.25], EntitySquid['Squid'/22353, l='MpServer', x=1219.75, y=52.28, z=-694.25], EntitySquid['Squid'/22354, l='MpServer', x=1222.66, y=52.38, z=-693.91], EntitySquid['Squid'/22355, l='MpServer', x=1217.84, y=49.34, z=-699.53], EntitySquid['Squid'/22356, l='MpServer', x=1216.66, y=52.34, z=-694.16], EntitySquid['Squid'/22357, l='MpServer', x=1204.97, y=49.31, z=-719.50], EntitySquid['Squid'/22358, l='MpServer', x=1206.13, y=49.00, z=-722.25], EntitySquid['Squid'/22373, l='MpServer', x=1266.47, y=60.34, z=-625.31], EntitySquid['Squid'/22374, l='MpServer', x=1271.06, y=60.19, z=-630.50], EntitySquid['Squid'/22380, l='MpServer', x=1261.59, y=59.66, z=-620.75], EntitySquid['Squid'/22382, l='MpServer', x=1261.47, y=59.81, z=-621.91], EntityPainting['Painting'/3681, l='MpServer', x=964.00, y=57.00, z=-455.06], EntityPainting['Painting'/3248, l='MpServer', x=942.94, y=63.00, z=-486.00], EntityZombie['Zombie'/20343, l='MpServer', x=1156.34, y=26.00, z=-634.66], EntityMinecartChest['entity.MinecartChest.name'/11144, l='MpServer', x=1156.50, y=21.50, z=-610.50], EntityMinecartChest['entity.MinecartChest.name'/21921, l='MpServer', x=1279.50, y=40.34, z=-748.13], EntityMinecartChest['entity.MinecartChest.name'/21924, l='MpServer', x=1241.34, y=20.34, z=-652.88], EntitySquid['Squid'/22438, l='MpServer', x=1203.41, y=49.34, z=-702.38], EntitySquid['Squid'/22439, l='MpServer', x=1207.63, y=51.00, z=-695.88], EntitySquid['Squid'/22440, l='MpServer', x=1209.88, y=51.00, z=-695.16], EntitySquid['Squid'/22441, l='MpServer', x=1201.25, y=48.00, z=-701.66], EntitySquid['Squid'/22442, l='MpServer', x=1201.59, y=51.34, z=-692.22], EntitySquid['Squid'/22443, l='MpServer', x=1206.47, y=51.34, z=-696.09], EntitySquid['Squid'/22444, l='MpServer', x=1201.22, y=50.28, z=-686.50], EntityMinecartChest['entity.MinecartChest.name'/21933, l='MpServer', x=1238.50, y=25.50, z=-636.50], EntitySquid['Squid'/22445, l='MpServer', x=1205.31, y=51.06, z=-698.97], EntitySquid['Squid'/22446, l='MpServer', x=1201.56, y=49.69, z=-697.41], EntityMinecartChest['entity.MinecartChest.name'/21935, l='MpServer', x=1251.66, y=23.34, z=-610.41], EntitySquid['Squid'/22448, l='MpServer', x=1193.41, y=51.34, z=-695.91], EntityMinecartChest['entity.MinecartChest.name'/21937, l='MpServer', x=1218.13, y=18.34, z=-613.38], EntitySquid['Squid'/22449, l='MpServer', x=1199.53, y=50.38, z=-697.56], EntityPainting['Painting'/3488, l='MpServer', x=957.06, y=90.00, z=-479.00], EntityMinecartChest['entity.MinecartChest.name'/21938, l='MpServer', x=1285.63, y=35.34, z=-744.22], EntityPainting['Painting'/3489, l='MpServer', x=957.06, y=90.00, z=-479.00], EntityMinecartChest['entity.MinecartChest.name'/21951, l='MpServer', x=1252.50, y=24.50, z=-638.50], EntityMinecartChest['entity.MinecartChest.name'/21952, l='MpServer', x=1280.13, y=23.34, z=-605.88], EntityBat['Bat'/21987, l='MpServer', x=1171.55, y=36.30, z=-609.22], EntityBat['Bat'/21989, l='MpServer', x=1172.61, y=35.56, z=-611.16], EntityItemFrame['entity.ItemFrame.name'/16870, l='MpServer', x=1206.06, y=16.50, z=-684.50], EntityBat['Bat'/21990, l='MpServer', x=1170.54, y=35.77, z=-611.75], EntityBat['Bat'/21992, l='MpServer', x=1167.50, y=36.51, z=-616.54], EntityItem['item.tile.wood.oak'/16873, l='MpServer', x=1205.94, y=16.13, z=-686.19], EntityBat['Bat'/21993, l='MpServer', x=1179.64, y=31.82, z=-622.35], EntityItemFrame['entity.ItemFrame.name'/16875, l='MpServer', x=1213.94, y=36.50, z=-682.50], EntityItemFrame['entity.ItemFrame.name'/16877, l='MpServer', x=1208.50, y=36.50, z=-674.06], EntityItemFrame['entity.ItemFrame.name'/16878, l='MpServer', x=1209.50, y=36.50, z=-674.06], EntityItemFrame['entity.ItemFrame.name'/16879, l='MpServer', x=1207.50, y=36.50, z=-674.06], EntityItemFrame['entity.ItemFrame.name'/16880, l='MpServer', x=1206.50, y=36.50, z=-674.06], EntityItemFrame['entity.ItemFrame.name'/16881, l='MpServer', x=1205.50, y=36.50, z=-674.06], EntityBat['Bat'/22013, l='MpServer', x=1171.45, y=20.29, z=-713.84]]
    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:373)
    at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2444)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:919)
    at net.minecraft.client.main.Main.main(SourceFile:148)
    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:483)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
    Minecraft Version: 1.7.10
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_25, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 596819056 bytes (569 MB) / 1859649536 bytes (1773 MB) up to 3817865216 bytes (3641 MB)
    JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4096m -Xms256m -XX:PermSize=256m
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    IntCache: cache: 0, tcache: 0, allocated: 15, tallocated: 95
    FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 51 mods loaded, 51 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCHIJA    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
    UCHIJA    FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1614-1.7.10.jar)
    UCHIJA    Forge{10.13.4.1614} [Minecraft Forge] (forge-1.7.10-10.13.4.1614-1.7.10.jar)
    UCHIJA    CodeChickenCore{1.0.7.47} [CodeChicken Core] (minecraft.jar)
    UCHIJA    NotEnoughItems{1.0.5.120} [Not Enough Items] (NotEnoughItems-1.7.10-1.0.5.120-universal.jar)
    UCHIJA    bspkrsCore{6.16} [bspkrsCore] ([1.7.10]bspkrsCore-universal-6.16.jar)
    UCHIJA    ArmorStatusHUD{1.28} [ArmorStatusHUD] ([1.7.10]ArmorStatusHUD-client-1.28.jar)
    UCHIJA    StatusEffectHUD{1.27} [StatusEffectHUD] ([1.7.10]StatusEffectHUD-client-1.27.jar)
    UCHIJA    Treecapitator{1.7.10} [Treecapitator] ([1.7.10]Treecapitator-universal-2.0.4.jar)
    UCHIJA    AppleCore{3.1.0} [AppleCore] (AppleCore-mc1.7.10-3.1.0.jar)
    UCHIJA    Baubles{1.0.1.10} [Baubles] (Baubles-1.7.10-1.0.1.10.jar)
    UCHIJA    Artifacts{1.1.3} [Artifacts] (Artifacts-1.1.3.jar)
    UCHIJA    BiblioCraft{1.11.7} [BiblioCraft] (BiblioCraft[v1.11.7][MC1.7.10].jar)
    UCHIJA    Mantle{1.7.10-0.3.2.jenkins191} [Mantle] (Mantle-1.7.10-0.3.2b.jar)
    UCHIJA    Natura{2.2.0} [Natura] (natura-1.7.10-2.2.0.1.jar)
    UCHIJA    BiblioWoodsNatura{1.5} [BiblioWoods Natura Edition] (BiblioWoods[Natura][v1.5].jar)
    UCHIJA    BuildCraft|Core{7.1.23} [BuildCraft] (buildcraft-7.1.23.jar)
    UCHIJA    BuildCraft|Transport{7.1.23} [BC Transport] (buildcraft-7.1.23.jar)
    UCHIJA    BuildCraft|Factory{7.1.23} [BC Factory] (buildcraft-7.1.23.jar)
    UCHIJA    BuildCraft|Silicon{7.1.23} [BC Silicon] (buildcraft-7.1.23.jar)
    UCHIJA    BuildCraft|Robotics{7.1.23} [BC Robotics] (buildcraft-7.1.23.jar)
    UCHIJA    BuildCraft|Energy{7.1.23} [BC Energy] (buildcraft-7.1.23.jar)
    UCHIJA    BuildCraft|Builders{7.1.23} [BC Builders] (buildcraft-7.1.23.jar)
    UCHIJA    Thaumcraft{4.2.3.5} [Thaumcraft] (Thaumcraft-1.7.10-4.2.3.5.jar)
    UCHIJA    ForgeMultipart{1.2.0.345} [Forge Multipart] (ForgeMultipart-1.7.10-1.2.0.345-universal.jar)
    UCHIJA    chisel{2.9.5.11} [Chisel] (Chisel-2.9.5.11.jar)
    UCHIJA    chocolateQuest{1.0} [Chocolate Quest] (chocolateQuest-1.7.10-1.1d.jar)
    UCHIJA    IC2{2.2.827-experimental} [IndustrialCraft 2] (industrialcraft-2-2.2.827-experimental.jar)
    UCHIJA    CompactSolars{4.4.39.315} [Compact Solar Arrays] (CompactSolars-1.7.10-4.4.39.315-universal.jar)
    UCHIJA    eplus{3.0.2-d} [Enchanting Plus] (EnchantingPlus-1.7.10-3.0.2-d.jar)
    UCHIJA    ezstorage{1.1.0} [EZ Storage] (ezstorage-1.1.0.jar)
    UCHIJA    fastleafdecay{1.4} [Fast Leaf Decay] (FastLeafDecay-1.7.10-1.4.jar)
    UCHIJA    InventoryPets{1.4.9.9} [Inventory Pets] (inventorypets-1.7.10-1.4.9.9-universal.jar)
    UCHIJA    inventorytweaks{1.59-dev-152-cf6e263} [Inventory Tweaks] (InventoryTweaks-1.59-dev-152.jar)
    UCHIJA    ironbackpacks{1.7.10-1.2.20} [Iron Backpacks] (IronBackpacks-1.7.10-1.2.20.jar)
    UCHIJA    IronChest{6.0.62.742} [Iron Chest] (ironchest-1.7.10-6.0.62.742-universal.jar)
    UCHIJA    journeymap{5.1.4p2} [JourneyMap] (journeymap-1.7.10-5.1.4p2-unlimited.jar)
    UCHIJA    cfm{3.4.7} [§9MrCrayfish's Furniture Mod] (MrCrayfishFurnitureModv3.4.7(1.7.10).jar)
    UCHIJA    harvestcraft{1.7.10j} [Pam's HarvestCraft] (Pam's HarvestCraft 1.7.10Lb.jar)
    UCHIJA    MrTJPCoreMod{1.1.0.33} [MrTJPCore] (MrTJPCore-1.1.0.33-universal.jar)
    UCHIJA    ProjRed|Core{4.7.0pre12.95} [ProjectRed Core] (ProjectRed-1.7.10-4.7.0pre12.95-Base.jar)
    UCHIJA    secretroomsmod{4.7.1} [The SecretRoomsMod] (secretroomsmod-1.7.10-4.7.1.413.jar)
    UCHIJA    Waila{1.5.10} [Waila] (Waila-1.5.10_1.7.10.jar)
    UCHIJA    TConstruct{1.7.10-1.8.8.build988} [Tinkers' Construct] (TConstruct-1.7.10-1.8.8.jar)
    UCHIJA    territorychevsky{b12} [Territorial Dealings] (TerritorialDealings_1.7.10_b12.zip)
    UCHIJA    VeinMiner{0.36.0_1.7.10-28a7f13} [Vein Miner] (VeinMiner-1.7.10-0.36.0.496+28a7f13.jar)
    UCHIJA    VeinMinerModSupport{0.36.0_1.7.10-28a7f13} [Mod Support] (VeinMiner-1.7.10-0.36.0.496+28a7f13.jar)
    UCHIJA    weaponmod{v1.14.3} [Balkon's WeaponMod] (weaponmod-1.14.3.jar)
    UCHIJA    Ztones{1.7.10} [Ztones] (Ztones-1.7.10-2.2.1.jar)
    UCHIJA    McMultipart{1.2.0.345} [Minecraft Multipart Plugin] (ForgeMultipart-1.7.10-1.2.0.345-universal.jar)
    UCHIJA    ForgeMicroblock{1.2.0.345} [Forge Microblocks] (ForgeMultipart-1.7.10-1.2.0.345-universal.jar)
    GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13474 Compatibility Profile Context 22.19.162.4' Renderer: 'AMD Radeon HD 7800 Series'
    Mantle Environment: Environment healthy.
    TConstruct Environment: Environment healthy.
    Chisel: Errors like "[FML]: Unable to lookup ..." are NOT the cause of this crash. You can safely ignore these errors. And update forge while you're at it.
    Launched Version: forge-10.13.4.1614
    LWJGL: 2.9.1
    OpenGL: AMD Radeon HD 7800 Series GL version 4.5.13474 Compatibility Profile Context 22.19.162.4, ATI Technologies Inc.
    GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.

    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: []
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Anisotropic Filtering: Off (1)

Edited by Banne
Clarification
  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • So me and a couple of friends are playing with a shitpost mod pack and one of the mods in the pack is corail tombstone and for some reason there is a problem with it, where on death to fire the player will get kicked out of the server and the tombstone will not spawn basically deleting an entire inventory, it doesn't matter what type of fire it is, whether it's from vanilla fire/lava, or from modded fire like ice&fire/lycanites and it's common enough to where everyone on the server has experienced at least once or twice and it doesn't give any crash log. a solution to this would be much appreciated thank you!
    • It is 1.12.2 - I have no idea if there is a 1.12 pack
    • 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() ); } }  
  • Topics

×
×
  • Create New...

Important Information

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