Jump to content

Sanysvo

Members
  • Posts

    16
  • Joined

  • Last visited

Sanysvo's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hi, i try get block hardness. In old versions works this code: blockState.getBlockHardness(world, currentPos) But now in 1.20.1 this function cutting.
  2. I have this problem. I create BlockPos with Y position plus 1 (it is air on my block), but i have always 0 return
  3. Yes, i am using 31.2.41. Or compatible only with 31.2.21?
  4. Hi, i am trust launch minecraft with optifine, download needs library and mod, but client was crashed with this error: Before error i have this WARN:
  5. My question not about 1.7. I try launch 1.15.2 Forge client, and get the exception, and ask how solve this problem. My launch arguments you see in log. I am not need help to do my launcher, i need help launch forge 1.15.2 from command line
  6. I must sync mods with my clients and create his account in wordpress site. I work with 1.7.10 server and custom launcher very cool, but now i want upgrade my server and launcher, but i cant solve this problem. Another problem i am solve)
  7. I need custom launcher for my project(
  8. Forge version 31.2.33, download on this site, install on vanilla 1.15.2, after that try launch game from my custom launch and get crash with this log^ [03авг2020 20:54:40.370] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--width, 900, --height, 532, --server, 82.202.249.78, --port, 25575, --accessToken, ????????, --uuid, 5d6dd94ab2ab3030aaac665d39d079d9, --assetIndex, 1.15.2, --userType, mojang, --versionType, modified, --username, Sanysvo, --version, 1.15.2, --gameDir, C:\barscraft\barscraft1.15.2, --assetsDir, C:\barscraft\assets, --launchTarget, fmlclient, --fml.forgeVersion, 31.2.33, --fml.mcVersion, 1.15.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20200515.085601] [03авг2020 20:54:40.374] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 5.1.2+70+master.2845bb9 starting: java version 1.8.0_221 by Oracle Corporation [03авг2020 20:54:40.837] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [03авг2020 20:54:41.991] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlclient' with arguments [--version, 1.15.2, --gameDir, C:\barscraft\barscraft1.15.2, --assetsDir, C:\barscraft\assets, --uuid, 5d6dd94ab2ab3030aaac665d39d079d9, --width, 900, --height, 532, --server, 82.202.249.78, --port, 25575, --accessToken, ????????, --assetIndex, 1.15.2, --userType, mojang, --versionType, modified, --username, Sanysvo] [03авг2020 20:54:42.013] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: java.lang.RuntimeException: java.lang.IllegalArgumentException [03авг2020 20:54:42.014] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:39) [03авг2020 20:54:42.014] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [03авг2020 20:54:42.014] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [03авг2020 20:54:42.014] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [03авг2020 20:54:42.014] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [03авг2020 20:54:42.014] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: Caused by: java.lang.IllegalArgumentException [03авг2020 20:54:42.014] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at org.objectweb.asm.ClassVisitor.<init>(ClassVisitor.java:69) [03авг2020 20:54:42.015] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at org.objectweb.asm.ClassVisitor.<init>(ClassVisitor.java:56) [03авг2020 20:54:42.015] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at org.objectweb.asm.tree.ClassNode.<init>(ClassNode.java:150) [03авг2020 20:54:42.015] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:69) [03авг2020 20:54:42.015] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:247) [03авг2020 20:54:42.015] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:134) [03авг2020 20:54:42.015] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:96) [03авг2020 20:54:42.015] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [03авг2020 20:54:42.015] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at java.lang.Class.forName0(Native Method) [03авг2020 20:54:42.016] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at java.lang.Class.forName(Class.java:348) [03авг2020 20:54:42.016] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [03авг2020 20:54:42.016] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [03авг2020 20:54:42.016] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: ... 4 more I cant understand that is the wrong argument on the launch...
  9. Hi everyone. I am rewrite old mod from 1.12.2 to 1.15.2, and cant find what do this functions and how change it on new versions of forge(
  10. Its not work( I cant get ServerWorld from this event, i get clientside world.
  11. Okay, i am understand. But how me collect objects of SwarmWorld for each dimensions (create only one obj for one world)
  12. I am say you row where i find players. If call getPlayers i get analog result. SwarmWorld.class at 224 row i find players from world
  13. sorry https://yadi.sk/d/02GEZscEK1go8w
  14. https://yadi.sk/d/571C8qxEzA1mZQ SwarmWorld.class at 224 row i find players from world. In nether or another dimension exclude overworld it not find players
  15. @SubscribeEvent public void serverLoad(FMLServerStartingEvent event) { for(ServerWorld ws : event.getServer().getWorlds()) { if(ws == null) continue; SwarmWorld sw = new SwarmWorld(ws); } } Create objects of SwarmWorld for each worlds on server public SwarmWorld(ServerWorld world) { this.world = world; this.digg = new SwarmWorldDigger(this); MinecraftForge.EVENT_BUS.register(this); } Register each object for TickEvent @SubscribeEvent public void onServerTick(TickEvent.ServerTickEvent event) { if (event.phase != TickEvent.Phase.START) return; this.run(); } and in method run() in SwarmWorld.class i am call world.getPlayers(). For OVERWORLD SwarmWorld players get, if players go to nether the SwarmWorld of NETHER not find players and return empty list
×
×
  • Create New...

Important Information

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