Giter Club home page Giter Club logo

stoneblock-dimensions's People

Contributors

modmuss50 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

stoneblock-dimensions's Issues

spawn point in dimensions

Hello
I have a question.
Can I define a spawn point in the mining and end dimensions?
This would be useful so that in large servers where there are world borders, the players do not die by spawning out of the edge, I would like everyone to come by their own means, but to a common location.

Players spawn at the bottom of the Mining dimension when leaving the End

In Multiplayer, players will go to the End from the Mining dimension with no issue, but when they leave the End to go back to the Mining dimension, the Y coordinate they should be spawned at (around 250 Y) sends them to 0 - 3 Y in a wall leading them to suffocate if they cannot recover fast enough. This was tested in Singleplayer and works just fine. The current version of the mod we are using is StoneBlockDimensions-1.0.3

Server details are as follows:
Minecraft: 1.12.2 (Stoneblock 2)
SpongeAPI: 7.2-fe189dcf
Sponge: 1.12.2-7.2.0
SpongeForge: 1.12.2-2838-7.2.0
Minecraft Forge: 14.23.5.2838

Here are the coordinates from when I tried this in Multiplayer:
image
image
(I cleared the wall so I wouldn't be teleported back to the Overworld.)

Reverse options cause endless loop

I dont use sponge.

Forge - 1.12.2-14.23.5.2811
Stone Block Dimensions - 1.0.2

[21:09:25] [Server thread/INFO] [FML]: Loading dimension -7 (New World)
[21:09:41] [Server thread/INFO] [FML]: Unloading dimension -7
[21:09:44] [Server thread/INFO] [FML]: Loading dimension -7 (New World)
[21:09:47] [Server thread/INFO] [FML]: Unloading dimension -7
And the list goes on.

stoneblockdimensions.cfg
# At which Y-level in End dim you'll be teleported to Mining dim
I:endToMining=240

# At which Y-level in Mining dim you'll spawn when coming from the end
I:endToMiningPosition=10

# At which Y-level in Mining dim you'll be teleported to End dim
I:miningToEnd=2

# At which Y-level in End dim you'll be spawn when coming from the Mining dim
I:miningToEndPosition=240

# At which Y-level in Mining dim you'll be teleported to the overworld
I:miningToOver=240

# At which Y-level in overworld you'll be spawn when coming from the Mining dim
I:miningToOverPosition=10

# At which Y-level in the overworld you'll be teleported to Mining dim
I:overToMining=2

# At which Y-level in the Mining dim you'll spawn when coming from the overworld
I:overToMiningPosition=240

[request] safe dimensional teleport

can you add a feature so that when the player encounters the bedrock and is transferred to the next dimension that it tries to find them a safe space to appear in? Right now about 1 in 5 players appear in stone and die from suffocation.

Teleporting is sending to the wrong dimensions

SpongeForge 7.1.5
Forge 2808
StoneBlock 2 - 1.4 (StoneBlock Dimensions 1.0.2)

When going up to the mining dimension it spawns me into the end (at Y50) but within blocks that begin damaging me, if I go directly down from where I started it sends me about 1500 blocks away in the overworld from where I originally started. Completely skips the mining dimension.

After speaking with Phit over at sponge he's made me aware this is a sponge issue that they're aware of and attempting to fix.

Space not being cleared when cross dimension into/from Mining, End.

Awesome Mod. Excellent concept, thank you for all your hard work.
We're having trouble setting up the server, players suffocate because the space for them to spawn in is not being cleared so they can spawn when cross dimension teleports. I have added the normal Minecraft blocks to the config and they are not being cleared. Your help is greatly appreciated.

Using Forge recommended: 1.12.2 - 14.23.5.2768
Also: StoneBlockDimensions-1.0.2.jar

Full mod list here
Full config File here

Also is there a command to "reset" a player's starting cave?

Inefficient Chunk Generation

Please take a look at the following lines of code.

int x1, y1, z1;
for (x1 = 0; x1 < 16; x1++) {
for (y1 = 0; y1 < 256; y1++) {
for (z1 = 0; z1 < 16; z1++) {
primer.setBlockState(x1, y1, z1, y1 == 0 || y1 == 255 ? bedrock : stone);
}
}
}

int x, y, z;
for (x = 0; x < 16; x++) {
for (y = 0; y < 256; y++) {
for (z = 0; z < 16; z++) {
primer.setBlockState(x, y, z, y == 0 || y == 255 ? bedrock : end_stone);
}
}
}

Checking world height in-line is a bad idea, considering it will only return true 512 out of 65,536 times you check it and you check it all 65k times when you need only check the height value 256 times at max (you could even get around this with more creative looping to remove the need for checks in the first place).

Here is what I recommend doing:

for (int x1 = 0; x1 < 16; x1++) {
    for (int z1 = 0; z1 < 16; z1++) {
        primer.setBlockState(x1, 0, z1, bedrock);
    }
}

for (int y1 = 1; y1 < 255; y1++) {
    for (int x1 = 0; x1 < 16; x1++) {
        for (int z1 = 0; z1 < 16; z1++) {
            primer.setBlockState(x1, y1, z1, stone); // This would be "end_stone" for the end dimension
        }
    }
}

for (int x1 = 0; x1 < 16; x1++) {
    for (int z1 = 0; z1 < 16; z1++) {
        primer.setBlockState(x1, 255, z1, bedrock);
    }
}

**Stoneblock 2 Bug**

Stoneblock 2 Bug

  • Version: 1.16.0

  • Issue: When anybody on my server digs up to the Y Coordinate of 252 to be transferred to the Mining Dimension, it shows us a dirt screen and teleports us back to our overworld stoneblock 2 area, where everything is done.

  • Link to Log or Crash File Paste: https://paste.feed-the-beast.com/view/40af2c7a

  • Is it Repeatable?: It repeats every single time we attempt to enter the mining dimension.

  • Mod/s Affected: No sign of any mods causing isuses as it does not

  • Known Fix: I have had 0 luck trying to find a fix. I would like to find one ASAP.

sponge .... no work

Caused by: java.lang.ClassCastException: ftblag.stoneblockdimensions.SBUTeleporter cannot be cast to org.spongepowered.api.world.PortalAgent
at org.spongepowered.common.SpongeImplHooks.registerPortalAgentType(SpongeImplHooks.java:1412) ~[SpongeImplHooks.class:1.12.2-2768-7.1.5-RC3514]
at org.spongepowered.common.entity.EntityUtil.handleDisplaceEntityPortalEvent(EntityUtil.java:351) ~[EntityUtil.class:1.12.2-2768-7.1.5-RC3514]
at org.spongepowered.common.entity.EntityUtil.teleportPlayerToDimension(EntityUtil.java:222) ~[EntityUtil.class:1.12.2-2768-7.1.5-RC3514]
at net.minecraft.entity.player.EntityPlayerMP.changeDimension(EntityPlayerMP.java:5563) ~[oq.class:?]
at ftblag.stoneblockdimensions.SBUEvents.teleport(SBUEvents.java:70) ~[SBUEvents.class:?]
at ftblag.stoneblockdimensions.SBUEvents.move(SBUEvents.java:39) ~[SBUEvents.class:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_601_SBUEvents_move_PlayerTickEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:687) ~[EventBus.class:?]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:641) ~[EventBus.class:?]
at net.minecraftforge.fml.common.FMLCommonHandler.onPlayerPreTick(FMLCommonHandler.java:365) ~[FMLCommonHandler.class:?]
at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:190) ~[aed.class:?]
at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:382) ~[oq.class:?]
... 10 more

Level Spawn in Mining Dimension

Hello
I'm using the StoneBlock 2 modpack on a server with sponge.
The problem is that when I teleport to a mining dimension in layer 255, I immediately teleport to the next resignation. I have reviewed the configuration and should spawn on layer 2.
It seems that the configuration is canceled for some reason

Modpack: v1.3.0
spongeforge-1.12.2-2768-7.1.5-RC3526.jar

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.