Jump to content

Recommended Posts

Posted
2012-08-30 16:11:26 [iNFO] [ForgeModLoader] Forge Mod Loader version 3.0.80.291 for Minecraft client:1.3.2, server:1.3.2 loading
2012-08-30 16:11:26 [FINEST] [ForgeModLoader] All core mods are successfully located
2012-08-30 16:11:26 [FINEST] [ForgeModLoader] Discovering coremods
2012-08-30 16:11:26 [FINEST] [ForgeModLoader] Found library file argo-2.25.jar present and correct in lib dir

2012-08-30 16:11:26 [FINEST] [ForgeModLoader] Found library file guava-12.0.1.jar present and correct in lib dir

2012-08-30 16:11:26 [FINEST] [ForgeModLoader] Found library file asm-all-4.0.jar present and correct in lib dir

2012-08-30 16:11:26 [FINEST] [ForgeModLoader] Running coremod plugins
2012-08-30 16:11:26 [FINEST] [ForgeModLoader] Running coremod plugin FMLCorePlugin
2012-08-30 16:11:26 [FINEST] [ForgeModLoader] Coremod plugin FMLCorePlugin run successfully
2012-08-30 16:11:26 [FINEST] [ForgeModLoader] Running coremod plugin FMLForgePlugin
2012-08-30 16:11:26 [FINEST] [ForgeModLoader] Coremod plugin FMLForgePlugin run successfully
2012-08-30 16:11:26 [FINEST] [ForgeModLoader] Validating minecraft
2012-08-30 16:11:26 [FINEST] [ForgeModLoader] Minecraft validated, launching...
2012-08-30 16:11:28 [iNFO] [sTDOUT] 27 achievements
2012-08-30 16:11:28 [iNFO] [sTDOUT] 195 recipes
2012-08-30 16:11:29 [iNFO] [sTDOUT] Setting user: Player492, -
2012-08-30 16:11:29 [iNFO] [sTDERR] Client asked for parameter: server
2012-08-30 16:11:29 [iNFO] [sTDOUT] LWJGL Version: 2.4.2
2012-08-30 16:11:30 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization
2012-08-30 16:11:30 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization
2012-08-30 16:11:30 [FINE] [ForgeModLoader] Building injected Mod Containers [cpw.mods.fml.common.FMLDummyContainer, net.minecraftforge.common.ForgeDummyContainer]
2012-08-30 16:11:30 [FINE] [ForgeModLoader] Attempting to load mods contained in the minecraft jar file and associated classes
2012-08-30 16:11:30 [FINE] [ForgeModLoader] Found a minecraft related file at C:\Users\Donovan\AppData\Roaming\.minecraft\bin\minecraft.jar, examining for mod candidates
2012-08-30 16:11:30 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Donovan\AppData\Roaming\.minecraft\bin\lwjgl.jar
2012-08-30 16:11:30 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Donovan\AppData\Roaming\.minecraft\bin\lwjgl_util.jar
2012-08-30 16:11:30 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Donovan\AppData\Roaming\.minecraft\bin\jinput.jar
2012-08-30 16:11:30 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Donovan\AppData\Roaming\.minecraft\lib\argo-2.25.jar
2012-08-30 16:11:30 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Donovan\AppData\Roaming\.minecraft\lib\guava-12.0.1.jar
2012-08-30 16:11:30 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Donovan\AppData\Roaming\.minecraft\lib\asm-all-4.0.jar
2012-08-30 16:11:30 [FINE] [ForgeModLoader] Minecraft jar mods loaded successfully
2012-08-30 16:11:30 [iNFO] [ForgeModLoader] Searching C:\Users\Donovan\AppData\Roaming\.minecraft\mods for mods
2012-08-30 16:11:30 [FINE] [ForgeModLoader] Found a candidate zip or jar file minema_v1.5_mc1.3.2.zip
2012-08-30 16:11:30 [FINE] [ForgeModLoader] Examining file minecraft.jar for potential mods
2012-08-30 16:11:30 [iNFO] [ForgeModLoader] The mod container minecraft.jar appears to be missing an mcmod.info file
2012-08-30 16:11:30 [FINE] [ForgeModLoader] Identified a BaseMod type mod mod_SCP
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Examining file minema_v1.5_mc1.3.2.zip for potential mods
2012-08-30 16:11:31 [FINER] [ForgeModLoader] Located mcmod.info file in file minema_v1.5_mc1.3.2.zip
2012-08-30 16:11:31 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 3 mods to load
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Received a system property request ''
2012-08-30 16:11:31 [FINE] [ForgeModLoader] System property request managing the state of 0 mods
2012-08-30 16:11:31 [FINE] [ForgeModLoader] After merging, found state information for 0 mods
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Verifying mod requirements are satisfied
2012-08-30 16:11:31 [FINE] [ForgeModLoader] All mod requirements are satisfied
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Sorting mods into an ordered list
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Mod sorting completed successfully
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Mod sorting data:
2012-08-30 16:11:31 [FINE] [ForgeModLoader] 	mod_SCP(mod_SCP): minecraft.jar ()
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Activating mod FML
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Activating mod Forge
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Enabling mod mod_SCP
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Activating mod mod_SCP
2012-08-30 16:11:31 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLConstructionEvent@84e4f3 to mod FML
2012-08-30 16:11:31 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLConstructionEvent@84e4f3 delivered to mod FML
2012-08-30 16:11:31 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLConstructionEvent@84e4f3 to mod Forge
2012-08-30 16:11:31 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLConstructionEvent@84e4f3 delivered to mod Forge
2012-08-30 16:11:31 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLConstructionEvent@84e4f3 to mod mod_SCP
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /terrain.png @ 26 with /blox/KeyslotTop.png. 31 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /terrain.png @ 27 with /blox/KeyslotTop1.png. 30 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /terrain.png @ 41 with /blox/KeyslotTop2.png. 29 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /terrain.png @ 42 with /blox/KeyslotTop3.png. 28 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /terrain.png @ 57 with /blox/KeyslotSides.png. 27 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /terrain.png @ 58 with /blox/KeyslotFront.png. 26 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /terrain.png @ 184 with /blox/SmokeTop.png. 25 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /terrain.png @ 185 with /blox/SmokeSides.png. 24 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /terrain.png @ 186 with /blox/SmokeSides1.png. 23 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /terrain.png @ 187 with /blox/SmokeSides2.png. 22 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /terrain.png @ 188 with /blox/SmokeSides3.png. 21 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /terrain.png @ 189 with /blox/SmokeBottom.png. 20 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /terrain.png @ 190 with /SCPItems/ItemKeyslot.png. 19 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 102 with /SCPItems/SCP500.png. 70 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /terrain.png @ 191 with /SCPItems/SmokeBlockIcon.png. 18 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 118 with /SCPItems/Keter.png. 69 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 119 with /SCPItems/Euclid.png. 68 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 120 with /SCPItems/Safe.png. 67 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /terrain.png @ 200 with /blox/bloodblock.png. 17 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /terrain.png @ 201 with /blox/RefinedIron.png. 16 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /terrain.png @ 202 with /blox/Machinery.png. 15 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /terrain.png @ 203 with /blox/PocketStone.png. 14 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 134 with /SCPItems/GasMask.png. 66 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 144 with /SCPItems/ClassDShirt.png. 65 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 145 with /SCPItems/ClassDPants.png. 64 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 146 with /SCPItems/ClassDShoes.png. 63 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 147 with /SCPItems/CupEmpty.png. 62 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 148 with /SCPItems/Pearl458.png. 61 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 150 with /SCPItems/SCP912Head.png. 60 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 152 with /SCPItems/SCP912Shirt.png. 59 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 160 with /SCPItems/SCP912Pants.png. 58 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 161 with /SCPItems/SCP912Shoes.png. 57 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 162 with /SCPItems/SCP217.png. 56 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 163 with /SCPItems/VirusPig.png. 55 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 164 with /SCPItems/VirusSpider.png. 54 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 166 with /SCPItems/VirusZombie.png. 53 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 168 with /SCPItems/Wrench.png. 52 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 176 with /SCPItems/VirusCow.png. 51 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 177 with /SCPItems/Keycard1.png. 50 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 178 with /SCPItems/Keycard2.png. 49 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 179 with /SCPItems/Keycard3.png. 48 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 180 with /SCPItems/KeycardOmni.png. 47 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 182 with /SCPItems/SmokeBlockIcon.png. 46 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 183 with /SCPItems/GodlyWrench.png. 45 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 184 with /SCPItems/Joint.png. 44 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 192 with /SCPItems/Pearl354.png. 43 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 193 with /SCPItems/Pearl096.png. 42 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 194 with /SCPItems/Pearl261.png. 41 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 195 with /SCPItems/Pearl629.png. 40 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 196 with /SCPItems/Pearl1000.png. 39 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 197 with /SCPItems/Pearl131.png. 38 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 198 with /SCPItems/Pearl999.png. 37 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 199 with /SCPItems/Pearl049.png. 36 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 200 with /SCPItems/Pearl087.png. 35 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 201 with /SCPItems/Pearl173.png. 34 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 202 with /SCPItems/Pearl111.png. 33 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 203 with /SCPItems/Pearl294.png. 32 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 208 with /SCPItems/Pearl019.png. 31 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 209 with /SCPItems/Pearl457.png. 30 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 210 with /SCPItems/Pearl513.png. 29 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 211 with /SCPItems/Pearl914.png. 28 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 212 with /SCPItems/Pearl106.png. 27 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 213 with /SCPItems/Pearl538.png. 26 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 214 with /blox/SCPTab.png. 25 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 215 with /SCPItems/Pearl280.png. 24 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 216 with /SCPItems/Pearl080.png. 23 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 217 with /SCPItems/CupBlood.png. 22 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 218 with /SCPItems/CupMycelium.png. 21 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 219 with /SCPItems/CupNetherrack.png. 20 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 220 with /SCPItems/CupCoal.png. 19 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 221 with /SCPItems/CupGlowstone.png. 18 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 222 with /SCPItems/CupGold.png. 17 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 223 with /SCPItems/CupAppleGold.png. 16 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 224 with /SCPItems/CupCactus.png. 15 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 225 with /SCPItems/CupSlowSand.png. 14 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 226 with /SCPItems/CupObsidian.png. 13 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 227 with /SCPItems/CupFeather.png. 12 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 228 with /SCPItems/CupSpiderEye.png. 11 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 229 with /SCPItems/CupGlass.png. 10 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 230 with /SCPItems/CupPumpkin.png. 9 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 231 with /SCPItems/CupApple.png. 8 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 232 with /SCPItems/CupStone.png. 7 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 233 with /SCPItems/CupClay.png. 6 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 234 with /SCPItems/CupSugar.png. 5 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 235 with /SCPItems/CupRotten.png. 4 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 236 with /SCPItems/CupIron.png. 3 slots remaining
2012-08-30 16:11:31 [FINE] [ForgeModLoader] Overriding /gui/items.png @ 237 with /SCPItems/CupDiamond.png. 2 slots remaining
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field CupGoldId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field CupRottenFleshId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field WrenchId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field CupNetherrackId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field SpiderDNAId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field CoffeeMachineItemId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field SCP999DocId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field CupMyceliumId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field CowDNAId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field SCP914Id in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field GasMaskId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field GodlyWrenchId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field BloodBlockId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field CupAppleGoldId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field CupAppleId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field CupDiamondId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field CoffeeMachineId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field SCP294DocId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field Pearl629Id in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field CupPumpkinId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field Pearl538Id in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field Pearl106Id in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field SmokeBlockId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field SCP096DocId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field SCP500SafeId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field PigDNAId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field SCP283Id in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field SCP538DocId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field PizzaId in mod mod_SCP
2012-08-30 16:11:31 [WARNING] [ForgeModLoader] An error occured trying to access field KeycardBlockId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field DocumentCrafterId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field KeycardBlockId3 in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SWATPantsId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field Pearl294Id in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field MachineBlockId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field ClassDShirtId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SCP131DocId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field Pearl914Id in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SCP420JId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field MonsterPotId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SCP280DocId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field VendingItemId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field CupCoalId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field BloodWaterStillId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field KeycardBlockId2 in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SWATHelmId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SCP629DocId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field EmptyCupId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field CupStoneId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field Pearl173Id in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field CupObsidianId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SCP080DocId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SCP513DocId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field ClassDShoesId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field Pearl080Id in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field CupSpiderEyeId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field Pearl096Id in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field Pearl457Id in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field CupIronId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SCP914DocId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SCP019DocId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field KeycardBlockIdOmni in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field CupCactusId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field Pearl280Id in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field Pearl049Id in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SCP457DocId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SCP111DocId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field CupGlowstoneId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field KeycardL2Id in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field KeycardOmniId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SCP049DocId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field CupSlowSandId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field PocketPortalId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field Pearl354Id in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field ItemSCPTab in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field CupBloodId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SmokeBlockItemId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field CupSugarId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field CupGlassId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field KeycardL3Id in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field VirusInAJarId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field Pearl513Id in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SCP1000DocId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SCP087DocId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field ReinforcedIronId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field BloodWaterFlowingId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field MonsterPotItemId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field Pearl019Id in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field Pearl1000Id in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SCP106DocId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field ZombieDNAId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field KeycardL1Id in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field ClassDPantsId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field Pearl131Id in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SCP261DocId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field CupFeatherId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field Pearl087Id in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field CupClayId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field PocketPortalFrameBlockId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SCP354DocId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field Pearl999Id in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SCP173DocId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SCP500DangerousId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SWATShoesId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field Pearl261Id in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SWATShirtId in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field SCP261Id in mod mod_SCP
2012-08-30 16:11:32 [WARNING] [ForgeModLoader] An error occured trying to access field Pearl111Id in mod mod_SCP
2012-08-30 16:11:32 [FINE] [ForgeModLoader] No MLProp configuration for mod_SCP found or required. No file written
2012-08-30 16:11:32 [FINE] [ForgeModLoader] Attempting to inject @SidedProxy classes into mod_SCP
2012-08-30 16:11:32 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLConstructionEvent@84e4f3 delivered to mod mod_SCP
2012-08-30 16:11:32 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLPreInitializationEvent@e92fea to mod FML
2012-08-30 16:11:32 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLPreInitializationEvent@e92fea delivered to mod FML
2012-08-30 16:11:32 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLPreInitializationEvent@e92fea to mod Forge
2012-08-30 16:11:32 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLPreInitializationEvent@e92fea delivered to mod Forge
2012-08-30 16:11:32 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLPreInitializationEvent@e92fea to mod mod_SCP
2012-08-30 16:11:32 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLPreInitializationEvent@e92fea delivered to mod mod_SCP
2012-08-30 16:11:32 [iNFO] [sTDOUT] Starting up SoundSystem...
2012-08-30 16:11:33 [iNFO] [sTDOUT] Initializing LWJGL OpenAL
2012-08-30 16:11:33 [iNFO] [sTDOUT]     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
2012-08-30 16:11:33 [iNFO] [sTDOUT] OpenAL initialized.
2012-08-30 16:11:34 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLInitializationEvent@11788f4 to mod FML
2012-08-30 16:11:34 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLInitializationEvent@11788f4 delivered to mod FML
2012-08-30 16:11:34 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLInitializationEvent@11788f4 to mod Forge
2012-08-30 16:11:34 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLInitializationEvent@11788f4 delivered to mod Forge
2012-08-30 16:11:34 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLInitializationEvent@11788f4 to mod mod_SCP
2012-08-30 16:11:34 [iNFO] [sTDERR] Exception in thread "Minecraft main thread" java.lang.NoSuchMethodError: ModLoader.registerContainerID(LBaseMod;I)V
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at mod_SCP.load(mod_SCP.java:647)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at cpw.mods.fml.common.modloader.ModLoaderModContainer.init(ModLoaderModContainer.java:523)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.post(EventBus.java:268)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:123)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.post(EventBus.java:268)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:81)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at cpw.mods.fml.common.Loader.initializeMods(Loader.java:590)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:158)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.a(Minecraft.java:447)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.run(Minecraft.java:734)
2012-08-30 16:11:34 [iNFO] [sTDERR] 	at java.lang.Thread.run(Unknown Source)

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

    • 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

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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