GithubHelp home page GithubHelp logo

perfect-spawn's People

Contributors

lumien231 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

perfect-spawn's Issues

default spawn location not working as expected.

Hello! Using your mod and it is almost but not quite working as expected.

It is successfully making players respawn in the nether when they die in the nether, but despite setting a default spawn location, they respawn hundreds of blocks away... in midair over a lava lake. I assigned the respawn at 0, 34, 0. Actual respawn seems to be at -203, 40 (approximate), -32.

My json: https://pastebin.com/Wd6by27a

1.8 version breaks Forge b1405 on Dedicated Server Startup

[10:16:20] [main/INFO] [PerfectSpawnCore]: Patching EntityPlayer Class
[10:16:20] [main/INFO] [PerfectSpawnCore]: - Patched Staying in Bed Check
A problem occurred running the Server launcher.[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: java.lang.reflect.InvocationTargetException
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.reflect.Method.invoke(Method.java:483)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: Caused by: java.lang.NoClassDefFoundError: net/minecraft/entity/player/EntityPlayer
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.Class.getDeclaredMethods0(Native Method)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.Class.privateGetDeclaredMethods(Class.java:2693)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.Class.privateGetMethodRecursive(Class.java:3040)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.Class.getMethod0(Class.java:3010)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.Class.getMethod(Class.java:1776)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:132)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: ... 6 more
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: Caused by: java.lang.ClassNotFoundException: net.minecraft.entity.player.EntityPlayer
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: ... 13 more
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: Caused by: net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer lumien.perfectspawn.Transformer.PSClassTransformer@5baaae4c from coremod PSLoadingPlugin
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:234)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: ... 15 more
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: net.minecraft.entity.EntityLivingBase
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at org.objectweb.asm.ClassWriter.getCommonSuperClass(Unknown Source)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at org.objectweb.asm.ClassWriter.a(Unknown Source)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at org.objectweb.asm.Frame.a(Unknown Source)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at org.objectweb.asm.Frame.a(Unknown Source)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at org.objectweb.asm.tree.MethodNode.accept(Unknown Source)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at org.objectweb.asm.tree.MethodNode.accept(Unknown Source)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at org.objectweb.asm.tree.ClassNode.accept(Unknown Source)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at lumien.perfectspawn.Transformer.PSClassTransformer.patchEntityPlayer(PSClassTransformer.java:115)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at lumien.perfectspawn.Transformer.PSClassTransformer.transform(PSClassTransformer.java:61)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:230)
[10:16:20] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: ... 17 more

Save Hangs at 0%

Hi, I'm having a problem, where whenever I use this file: perfectspawn.zip, PerfectSpawn in loads until it reaches "0%". I'm trying to use a Galacticraft world, version 1.12.2. Thank you, and any help will be greatly appreciated.

java.lang.OutOfMemoryError: PermGen space

I'm running Obscurity modpack v1.1.16 (with non-essential mods disabled for performance).
Perfect Spawn keep accessing and transforming every class in existence and this clutters permgen until java runs out of memory. Also FML is reporting memory leaks. Removing this mod from the pack fixes this issue.
I understand that "it's not a bug, it's a feature" (as pointed out in mod description), but it would be nice to see some solution or workaround for this issue other than removing the mod altogether. Maybe add advanced setup through which user would be able to tell exactly what classes should be patched.

Config no-create

Hey,

I'm under the latest version of "Forge" but I did put your mod "Perfect-Spawn" but the latter does not create any files & also no command is possible with your mod. Possible to have a maj? v. 1.12.2

thank you

Json not working

I'm trying to setup a modpack that has the player traveling through dimensions, but never actually going to the overworld. I have the player starting in the Betweenlands dimension and can travel to other modded dimensions. This is all working as intended except that if the player dies outside of the Betweenlands (for example, the Nether) they end up respawning in the overworld. This happens despite having set /jed setworldspawn command in dim 20 and having used a bed to set the player spawn.

I'd like to do several things:

  1. Reliably start the player at x0 y125 z0 in Dim 20.
  2. Allow the player to sleep in a bed in each dimension, setting their spawn where they see fit, even in the nether.
  3. Guarantee that the player goes back to their set spawn point (bed) or the world spawn point of x0 y125 z0 in Dim 20 when they die.

For some reason that I don't understand this doesn't work.

{ "general": { "initialSpawnDimension": 20 }, "rules": [ { "appliesTo": [ "*" ], "canRespawnHere": true, "canSleepHere": true, "respawnDimension": 20 }, { "appliesTo": [ 20 ], "canRespawnHere": true, "respawnDimension": 20, "spawnPoint": { "posX": 0, "posY": 125, "posZ": 0 } } ] }

suggestion: random spawn location starting at spawn point specified, and smart spawning

even when i have the "exactSpawn": false it still will spawn me exactly there, i'm trying to spawn in the nether.... the only thing that changes is the y cords.... but i would like it to look for a good place to spawn, perhaps looking for non-liquid blocks and maybe 5-10 blocks away if possible..... and some sort of randomness with spawning, like setting a zone to randomly spawn in to like x: -100 to x: 100, z: -100 to z: 100, y:54 to y:90.... tbh i dont know if another mod works like that... and not asking if you know.....

info: for version minecraft 1.7.10, running latest forge, other mods included

Can Seem to get this mod to work.

Well where do I start

  1. I am trying to use Perfect-Spawn to spawn People on Mars from Galacticraft and its not working

  2. Does not seem to work with the new version of forge

  3. Commands listed on the cursedforge website don't work as intended. They just come up with unknown command on single player.

I messaged you and cursedforge with no answer so I decided to post it here

Coordinates not matching up in the End

With

{
"spawnDimension": 1,
"spawnX": 1000,
"spawnY": 29,
"spawnZ": 1000,
"exactSpawn": true,
"forceBed": true,
"spawnProtection": false
}

The spawn point is set to
x=124
y=37
z=256

1.7.10 World Corrupting

PerfectSpawn 1.1
Forge 1403

I have Mystcraft in my Modpack and was planning to use perfect spawn to adjust the starter spawn to world -500... started it up and all seemed fine then I tried to log into my server and client crashed due to mystcraft and I would assume your mod interacting with it? The server map became corrupted.

The Server Console info I have is classified as too big for pastebin... by like 9x... so trying to filter out what seems to be the problem. It's 60k lines to try and find anything so not sure how well it will play out there... 90% of the lines seem to say something about Perfect Spawn.

There have been a few cases where 'Forge' version has been an issue... I have stumbled on a few in the last few months.

If I can I will look though it but I thought in the least I would mention this and give it a day or 2 for maybe its something simple like the forge thing. I can't really go lower though.

EDIT-------------------------------------------
Setting like world 0 and what not seem to work right but Mystcraft worlds are corrupting

Crash on first load with different Dimension

I have Galacticraft installed and I used your mod to change the spawn to dimesnion -28 (which is moon).

Problem is, that on the first start of the world, the minecraft crashes with: http://paste.ee/p/jr9sm
When I restart minecraft and load the world again. Everything is fine. I am at the specified coords in specified dimension.

Only the initial start is annoying.

Happens in 1.7.10 - v1.1 of Perfect Spawn

Skyblock map

World won't open with config:

---- Minecraft Crash Report ----

WARNING: coremods are present:
StepupfixCore (StepupFix-1.12.2-1.0.0.4.jar)
LoadingPlugin (PerfectSpawn-MC1.12.2-2.1.jar)
TransformLoader (DynamicSurroundings-1.12.2-3.6.0.2.jar)
CoreMod (Aroma1997Core-1.12.2-2.0.0.2.jar)
TheBetweenlandsLoadingPlugin (TheBetweenlands-3.5.4-core.jar)
Contact their authors BEFORE contacting forge

// I'm sorry, Dave.

Time: 1/12/20 4:20 PM
Description: Exception in server tick loop

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Perfect Spawn (perfectspawn)
Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 14 column 4 path $.rules[0].respawnDimension
at com.google.gson.internal.Streams.parse(Streams.java:60)
at com.google.gson.JsonParser.parse(JsonParser.java:84)
at com.google.gson.JsonParser.parse(JsonParser.java:59)
at lumien.perfectspawn.config.PSConfigHandler.loadConfig(PSConfigHandler.java:95)
at lumien.perfectspawn.config.PSConfigHandler.reloadConfig(PSConfigHandler.java:61)
at lumien.perfectspawn.config.PSConfigHandler.serverStarting(PSConfigHandler.java:39)
at lumien.perfectspawn.PerfectSpawn.serverStarting(PerfectSpawn.java:44)
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.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:637)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)
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 com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136)
at net.minecraftforge.fml.common.Loader.serverStarting(Loader.java:792)
at net.minecraftforge.fml.common.FMLCommonHandler.handleServerStarting(FMLCommonHandler.java:297)
at net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:158)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 14 column 4 path $.rules[0].respawnDimension
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559)
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:505)
at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:414)
at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:738)
at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:731)
at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739)
at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:714)
at com.google.gson.internal.Streams.parse(Streams.java:48)
... 40 more

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

-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 1815236608 bytes (1731 MB) / 3312451584 bytes (3159 MB) up to 7635730432 bytes (7282 MB)
JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx8192m -Xms256m -XX:PermSize=256m
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
FML: MCP 9.42 Powered by Forge 14.23.5.2831 65 mods loaded, 65 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                                |
|:------- |:------------------------------ |:------------- |:--------------------------------------------- |:---------------------------------------- |
| LCHIJA  | minecraft                      | 1.12.2        | minecraft.jar                                 | None                                     |
| LCHIJA  | mcp                            | 9.42          | minecraft.jar                                 | None                                     |
| LCHIJA  | FML                            | 8.0.99.99     | forge-1.12.2-14.23.5.2831.jar                 | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| LCHIJA  | forge                          | 14.23.5.2831  | forge-1.12.2-14.23.5.2831.jar                 | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| LCHIJA  | aroma1997core                  | 2.0.0.2       | Aroma1997Core-1.12.2-2.0.0.2.jar              | dfbfe4c473253d8c5652417689848f650b2cbe32 |
| LCHIJA  | nibbler                        | 0.4.1         | nibbler-1.12.2-0.4.1.jar                      | None                                     |
| LCHIJA  | barkbooks                      | 1.2           | barkbooks-1.12.2-1.2.jar                      | None                                     |
| LCHIJA  | baubles                        | 1.5.2         | Baubles-1.12-1.5.2.jar                        | None                                     |
| LCHIJA  | bsb                            | 1.0           | BetweenlandsStorage.jar                       | None                                     |
| LCHIJA  | redstoneflux                   | 2.1.0         | RedstoneFlux-1.12-2.1.0.6-universal.jar       | 8a6abf2cb9e141b866580d369ba6548732eff25f |
| LCHIJA  | cofhcore                       | 4.6.3         | CoFHCore-1.12.2-4.6.3.27-universal.jar        | None                                     |
| LCHIJA  | cofhworld                      | 1.3.1         | CoFHWorld-1.12.2-1.3.1.7-universal.jar        | 8a6abf2cb9e141b866580d369ba6548732eff25f |
| LCHIJA  | jei                            | 4.15.0.291    | jei_1.12.2-4.15.0.291.jar                     | None                                     |
| LCHIJA  | tombmanygraves                 | 1.12-4.2.0    | TombManyGraves-1.12-4.2.0.jar                 | None                                     |
| LCHIJA  | tombmanygraves2api             | 1.12.2-1.0.0  | tombmanygraves2api-1.12.2-1.0.0.jar           | None                                     |
| LCHIJA  | thebetweenlands                | 3.5.4         | TheBetweenlands-3.5.4-universal.jar           | 38067d6878811efb38b6a045521cfd80b9b60b38 |
| LCHIJA  | betweenores                    | 1.4.2         | BetweenOres-1.4.2.jar                         | None                                     |
| LCHIJA  | bookshelf                      | 2.3.590       | Bookshelf-1.12.2-2.3.590.jar                  | d476d1b22b218a10d845928d1665d45fce301b27 |
| LCHIJA  | codechickenlib                 | 3.2.3.358     | CodeChickenLib-1.12.2-3.2.3.358-universal.jar | f1850c39b2516232a2108a7bd84d1cb5df93b261 |
| LCHIJA  | controlling                    | 3.0.7         | Controlling-3.0.7.jar                         | None                                     |
| LCHIJA  | craftableglowstone             | 1.0           | craftableglowstone-1.12.2.jar                 | None                                     |
| LCHIJA  | crafttweaker                   | 4.1.20        | CraftTweaker2-1.12-4.1.20.jar                 | None                                     |
| LCHIJA  | ctgui                          | 1.0.0         | CraftTweaker2-1.12-4.1.20.jar                 | None                                     |
| LCHIJA  | crafttweakerjei                | 2.0.3         | CraftTweaker2-1.12-4.1.20.jar                 | None                                     |
| LCHIJA  | waila                          | 1.8.26        | Hwyla-1.8.26-B41_1.12.2.jar                   | None                                     |
| LCHIJA  | darkutils                      | 1.8.230       | DarkUtils-1.12.2-1.8.230.jar                  | d476d1b22b218a10d845928d1665d45fce301b27 |
| LCHIJA  | orelib                         | 3.6.0.1       | OreLib-1.12.2-3.6.0.1.jar                     | 7a2128d395ad96ceb9d9030fbd41d035b435753a |
| LCHIJA  | dsurround                      | 3.6.0.2       | DynamicSurroundings-1.12.2-3.6.0.2.jar        | 7a2128d395ad96ceb9d9030fbd41d035b435753a |
| LCHIJA  | dynamictrees                   | 1.12.2-0.9.6  | DynamicTrees-1.12.2-0.9.6.jar                 | None                                     |
| LCHIJA  | roots                          | 1.12.2-3.0.21 | Roots-1.12.2-3.0.21.jar                       | None                                     |
| LCHIJA  | dynamictreesroots              | 0.2.1         | dynamicTreesRoots-0.2.1.jar                   | None                                     |
| LCHIJA  | eleccore                       | 1.9.453       | ElecCore-1.12.2-1.9.453.jar                   | None                                     |
| LCHIJA  | erosion                        | 2.2.1         | Erosion-2.2.1.jar                             | None                                     |
| LCHIJA  | gottschcore                    | 1.9.0         | GottschCore-mc1.12.2-f14.23.5.2768-v1.9.0.jar | None                                     |
| LCHIJA  | fastladder                     | 1.1.1         | FastLadder-mc1.12.2-f14.23.5.2768-v1.1.1.jar  | None                                     |
| LCHIJA  | fastleafdecay                  | v14           | FastLeafDecay-v14.jar                         | None                                     |
| LCHIJA  | fastbench                      | 1.7.3         | FastWorkbench-1.12.2-1.7.3.jar                | None                                     |
| LCHIJA  | gamestages                     | 2.0.115       | GameStages-1.12.2-2.0.115.jar                 | d476d1b22b218a10d845928d1665d45fce301b27 |
| LCHIJA  | huds                           | #VERSION#     | Huds-1.12.2-1.0.6.jar                         | None                                     |
| LCHIJA  | huskspawn                      | 1.0           | huskspawn_1.12-1.0.jar                        | None                                     |
| LCHIJA  | ichunutil                      | 7.2.2         | iChunUtil-1.12.2-7.2.2.jar                    | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |
| LCHIJA  | inventorysorter                | 1.13.3+57     | inventorysorter-1.12.2-1.13.3+57.jar          | None                                     |
| LCHIJA  | journeymap                     | 1.12.2-5.5.6  | journeymap-1.12.2-5.5.6.jar                   | None                                     |
| LCHIJA  | jeresources                    | 0.9.2.60      | JustEnoughResources-1.12.2-0.9.2.60.jar       | None                                     |
| LCHIJA  | leavestosaplings               | 3             | leavestosaplings-1.12.2-3.jar                 | None                                     |
| LCHIJA  | magicclover                    | 1.12-0.7.8    | magicclover-1.12-0.7.8.jar                    | None                                     |
| LCHIJA  | mobdismemberment               | 7.0.0         | MobDismemberment-1.12.2-7.0.0.jar             | None                                     |
| LCHIJA  | monk                           | 1.4           | monk-mod-1.4.jar                              | None                                     |
| LCHIJA  | moreoverlays                   | 1.15.1        | moreoverlays-1.15.1-mc1.12.2.jar              | None                                     |
| LCHIJA  | mysticalworld                  | 1.12.2-1.6.1  | mysticalworld-1.12.2-1.6.1.jar                | None                                     |
| LCHIJA  | nei                            | 2.4.3         | NotEnoughItems-1.12.2-2.4.3.245-universal.jar | f1850c39b2516232a2108a7bd84d1cb5df93b261 |
| LCHIJA  | patchouli                      | 1.0-20        | Patchouli-1.0-20.jar                          | None                                     |
| LCHIJAE | perfectspawn                   | 2.1           | PerfectSpawn-MC1.12.2-2.1.jar                 | None                                     |
| LCHIJA  | placebo                        | 1.6.0         | Placebo-1.12.2-1.6.0.jar                      | None                                     |
| LCHIJA  | regrowableleaves               | 4.0.0         | regrowableleaves-1.12.2-4.0.0.jar             | None                                     |
| LCHIJA  | stg                            | 1.12.2-1.2.3  | stg-1.12.2-1.2.3.jar                          | None                                     |
| LCHIJA  | strayspawn                     | 1.0           | strayspawn_1.12-1.0.jar                       | None                                     |
| LCHIJA  | tombmanypluginsthebetweenlands | 1.0.0         | tombmanypluginsthebetweenlands-1.0.0.jar      | None                                     |
| LCHIJA  | totemic                        | 1.12.2-0.11.6 | Totemic-1.12.2-0.11.6.jar                     | 21d11d7bf4d97b465382a1f95428029aac6daaea |
| LCHIJA  | wailastages                    | 2.0.24        | WailaStages-1.12.2-2.0.24.jar                 | d476d1b22b218a10d845928d1665d45fce301b27 |
| LCHIJA  | waim                           | 1.0.0         | WAIM-1.0.0.jar                                | None                                     |
| LCHIJA  | wawla                          | 2.5.273       | Wawla-1.12.2-2.5.273.jar                      | d476d1b22b218a10d845928d1665d45fce301b27 |
| LCHIJA  | waystones                      | 4.0.72        | Waystones_1.12.2-4.0.72.jar                   | None                                     |
| LCHIJA  | eleccoreloader                 | 1.9.453       | ElecCore-1.12.2-1.9.453.jar                   | None                                     |
| LCHIJA  | mysticallib                    | 1.12.2-1.4.0  | mysticallib-1.12.2-1.4.0.jar                  | None                                     |

Loaded coremods (and transformers): 

StepupfixCore (StepupFix-1.12.2-1.0.0.4.jar)

LoadingPlugin (PerfectSpawn-MC1.12.2-2.1.jar)
lumien.perfectspawn.asm.ClassTransformer
TransformLoader (DynamicSurroundings-1.12.2-3.6.0.2.jar)

CoreMod (Aroma1997Core-1.12.2-2.0.0.2.jar)

TheBetweenlandsLoadingPlugin (TheBetweenlands-3.5.4-core.jar)
thebetweenlands.core.TheBetweenlandsClassTransformer
GL info: ERROR RuntimeException: No OpenGL context found in the current thread.
Profiler Position: N/A (disabled)
Player Count: 0 / 8; []
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'

perfectspawn.txt

Exploding beds in overworld

Well, subj. Trying to use the mod on server.
Here's my perfectspawn.json:
{ "general": { "initialSpawnDimension": 0 }, "rules": [ { "appliesTo": [ "*" ], "canSleepHere": true, "canRespawnHere": true }, { "appliesTo": [ 0 ], "canSleepHere": true, "canRespawnHere": true, "spawnPoint": { "posX": -860, "posY": 67, "posZ": 318 } } ] }

Server crash on returning to the Overworld when no .json file is created

Tested from a fresh install of Minecraft with only Perfect Spawn installed. I did not create the .json file initially since I had no idea what I was doing at the time, so my modpack repeatedly crashed every time I went back to the overworld from any dimension.

Since then, I learned how to use the mod and it is working as I need it to, but it left a bad taste in my mouth. As easy as it is to create and configure the .json file, I spent at least 4 hours trying to figure out what was causing my modpack to crash as I had added roughly 150 mods to my pack initially. While not necessary, adding some kind of config file to create a blank .json file that essentially recreates vanilla spawn conditions in newly created worlds would be quite user friendly and would prevent this crash from happening.

Steps to reproduce:

  1. Install Perfect Spawn, but do not create the .json file
  2. Travel to a dimension other than the Overworld.
  3. Attempt to return to the Overworld.

---- Minecraft Crash Report ----

WARNING: coremods are present:
LoadingPlugin (PerfectSpawn-MC1.12.2-2.0.jar)
Contact their authors BEFORE contacting forge

// My bad.

Time: 3/8/18 5:48 PM
Description: Exception ticking world

java.lang.NoSuchFieldError: world
at net.minecraft.world.gen.ChunkProviderServer.func_73156_b(ChunkProviderServer.java:276)
at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:207)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:754)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:666)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:185)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:524)
at java.lang.Thread.run(Thread.java:745)

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

-- Head --
Thread: Server thread
Stacktrace:
at net.minecraft.world.gen.ChunkProviderServer.func_73156_b(ChunkProviderServer.java:276)
at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:207)

-- Affected level --
Details:
Level name: New World
All players: 0 total; []
Chunk stats: ServerChunkCache: 0 Drop: 1
Level seed: -2855655428947090118
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options:
Level spawn location: World: (0,0,0), Chunk: (at 0,0,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 0 game time, 0 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: ERROR NullPointerException: null
Stacktrace:
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:754)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:666)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:185)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:524)
at java.lang.Thread.run(Thread.java:745)

-- System Details --
Details:
Minecraft Version: 1.12.2
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: 211228008 bytes (201 MB) / 1608515584 bytes (1534 MB) up to 4772593664 bytes (4551 MB)
JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx5120m -Xms256m -XX:PermSize=256m
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
FML: MCP 9.42 Powered by Forge 14.23.2.2624 5 mods loaded, 5 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                                |
|:--------- |:------------ |:------------ |:----------------------------- |:---------------------------------------- |
| UCHIJAAAA | minecraft    | 1.12.2       | minecraft.jar                 | None                                     |
| UCHIJAAAA | mcp          | 9.42         | minecraft.jar                 | None                                     |
| UCHIJAAAA | FML          | 8.0.99.99    | forge-1.12.2-14.23.2.2624.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UCHIJAAAA | forge        | 14.23.2.2624 | forge-1.12.2-14.23.2.2624.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UCHIJAAAA | perfectspawn | 2.0          | PerfectSpawn-MC1.12.2-2.0.jar | None                                     |

Loaded coremods (and transformers): 

LoadingPlugin (PerfectSpawn-MC1.12.2-2.0.jar)
lumien.perfectspawn.asm.ClassTransformer
GL info: ERROR RuntimeException: No OpenGL context found in the current thread.
Profiler Position: N/A (disabled)
Player Count: 1 / 8; [EntityPlayerMP['Dialupman'/1213, l='New World', x=137.10, y=68.00, z=244.67]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'

Having problems with Twilight Forest & Hunting Dims

I have set my custom spawn and Respawn Points in AbyssalCraft Wasteland DIM but No matter what I do when Re-entering The Twilight Portal inside the Twilight it sends me back to DIM 0 AKA Overworld and When I go and Re-Enter the Hunting Dim Portal inside the Hunting Dim it sends me back to the Overworld AKA DIM 0 when I have it set in the perfect-spawn json to send me back to AbyssalCraft wasteland but it won't send me back to AbyssalCraft wasteland if I re-enter any of those portals inside there Dims.

Class transformer crash with Galacticraft's WorldProviderSpace

Hey @lumien231

micdoodle8/Galacticraft#2824

The NoClassDefFound error seen there is most likely in fact an Exception thrown inside a ClassTransformer on the attempt to load the class (I hate how Java doesn't report the full cause of the issue)

I think it's likely that the cause of the crash is the attempt to transform our overridden methods in WorldProvider

A simple solution could be to blacklist any instance of WorldProviderSpace from your class transformer?

Note that Galacticraft and its add-ons will add many new WorldProvider classes which are sub-classes of WorldProviderSpace - basically each planet has its own WorldProvider class, and we currently have 4 planets + space stations, and Galacticraft add-on mods written by other authors add a whole lot more.

Beds Explode in the Overworld

I used the example config and changed the dimension to 0, set up the X, Y, and Z coords and left the options set to true on the optional things and when I place a bed down in the overworld it explodes!

Please FIX this!

Excessive DEBUG log messages.

https://github.com/lumien231/Perfect-Spawn/blob/master/src/main/java/lumien/perfectspawn/Transformer/PSClassTransformer.java#L41

While looking at a log for a problem related to one of my mods, I found myself having trouble finding information due to at least 50% of the log file consisting of your transformer logs.

I know 10,000+ log messages may seem reasonable. And I know it's not much of a problem since its in debug and therefore only written to the log files. Surely this much information cannot be useful though? Please, can you only print classes you are actually transforming, and not every single class that passes through your transformer method? Unless you need that much information for something?

Beds still explode in Nether

Minecraft 1.12.2
Forge 2847
Perfect Spawn 1.12.2-2.1

Hello, I greatly need your mod for my specialty world and modpack. Unfortunately even with a perfectspawn.json set to :

"canRespawnHere": true,
"canSleepHere": true,
"respawnDimension": -1,

for DIM -1, trying to sleep in a bed in the Nether still makes the bed explode.

The same settings for the End, but for DIM "1" ofc, works fine. I can sleep in beds there just fine with no explosions and the spawn is set to that location.

I have tested this setup both in Cubic Chunks (CC) worlds as well as normal ones without CC installed but the results are the same. Please fix this. If fixed your mod will be put to very good use in a wonderous world with modpack.

Thank you!

Here is the test json I am using, it is in the main level of the world folder I am testing in:

{
"general": {
"initialSpawnDimension": 0
},
"rules": [
{
"appliesTo": [
0
],
"canRespawnHere": true,
"canSleepHere": true,
"respawnDimension": 0,
"spawnPoint": {
"posX": 0,
"posY": 112,
"posZ": 5
}
},
{
"appliesTo": [
-1
],
"canRespawnHere": true,
"canSleepHere": true,
"respawnDimension": -1,
"spawnPoint": {
"posX": 0,
"posY": 112,
"posZ": 5
}
},
{
"appliesTo": [
1
],
"canRespawnHere": true,
"canSleepHere": true,
"respawnDimension": 1,
"spawnPoint": {
"posX": 0,
"posY": 65,
"posZ": 5
}
}
]
}
`

[Suggestion] Optional Y

I want to spawn player at x=0 z=0 but I don't want to specify Y. Maybe you can make "posY" optional?
"spawnPoint": { "posX": 0, "posZ": 0 }

Suggestion: Spawn command

Would it be possible to add a spawn command that could take you back to the spawn when used? Also somehow make it possible for non-opped players to use the command (maybe through a config option)? This is a suggestion for the 1.7.10 version of the mod.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.