Skip to content

[Bug]: something went wrong while trying to teleport #461

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
HyperCodec opened this issue Feb 17, 2025 · 5 comments
Open

[Bug]: something went wrong while trying to teleport #461

HyperCodec opened this issue Feb 17, 2025 · 5 comments
Assignees
Labels

Comments

@HyperCodec
Copy link

HyperCodec commented Feb 17, 2025

What happened?

I tried to go through a portal in one of the naturally spawning structures. It immediately turned into a rift and a chat message was sent telling me to report the bug.

Mod Version

5.4.1

What versions of Minecraft does this issue happen on?

1.20.1 (neoforge 47.1.106)

Log

[17Feb2025 12:06:49.109] [Server thread/INFO] [org.dimdev.dimdoors.pockets.generator.SchematicGenerator/]: Generating pocket from template dimdoors:dungeon/ruins_target_practise at location BlockPos{x=1760, y=0, z=240}
[17Feb2025 12:06:49.122] [Server thread/ERROR] [org.dimdev.dimdoors.block.entity.RiftBlockEntity/]: Teleporting failed with the following exception: 
java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
	at org.dimdev.dimdoors.util.schematic.RelativeBlockSample.<init>(RelativeBlockSample.java:80) ~[dimdoors-5.4.1-1.20.1-forge.jar%23310!/:?]
	at org.dimdev.dimdoors.util.schematic.Schematic.getBlockSample(Schematic.java:155) ~[dimdoors-5.4.1-1.20.1-forge.jar%23310!/:?]
	at org.dimdev.dimdoors.util.schematic.SchematicPlacer.getAbsoluteRifts(SchematicPlacer.java:45) ~[dimdoors-5.4.1-1.20.1-forge.jar%23310!/:?]
	at org.dimdev.dimdoors.pockets.PocketTemplate.getAbsoluteRifts(PocketTemplate.java:74) ~[dimdoors-5.4.1-1.20.1-forge.jar%23310!/:?]
	at org.dimdev.dimdoors.pockets.generator.SchematicGenerator.prepareAndPlacePocket(SchematicGenerator.java:149) ~[dimdoors-5.4.1-1.20.1-forge.jar%23310!/:?]
	at org.dimdev.dimdoors.pockets.virtual.reference.PocketGeneratorReference.prepareAndPlacePocket(PocketGeneratorReference.java:157) ~[dimdoors-5.4.1-1.20.1-forge.jar%23310!/:?]
	at org.dimdev.dimdoors.pockets.PocketGenerator.generatePocketV2(PocketGenerator.java:59) ~[dimdoors-5.4.1-1.20.1-forge.jar%23310!/:?]
	at org.dimdev.dimdoors.pockets.PocketGenerator.generateFromPocketGroupV2(PocketGenerator.java:49) ~[dimdoors-5.4.1-1.20.1-forge.jar%23310!/:?]
	at org.dimdev.dimdoors.pockets.PocketGenerator.generateDungeonPocketV2(PocketGenerator.java:63) ~[dimdoors-5.4.1-1.20.1-forge.jar%23310!/:?]
	at org.dimdev.dimdoors.rift.targets.RandomTarget.generatePocket(RandomTarget.java:192) ~[dimdoors-5.4.1-1.20.1-forge.jar%23310!/:?]
	at org.dimdev.dimdoors.rift.targets.RandomTarget.receiveOther(RandomTarget.java:173) ~[dimdoors-5.4.1-1.20.1-forge.jar%23310!/:?]
	at org.dimdev.dimdoors.api.rift.target.Target.as(Target.java:16) ~[dimdoors-5.4.1-1.20.1-forge.jar%23310!/:?]
	at org.dimdev.dimdoors.block.entity.RiftBlockEntity.teleport(RiftBlockEntity.java:210) ~[dimdoors-5.4.1-1.20.1-forge.jar%23310!/:?]
	at org.dimdev.dimdoors.block.entity.EntranceRiftBlockEntity.innerTeleport(EntranceRiftBlockEntity.java:89) ~[dimdoors-5.4.1-1.20.1-forge.jar%23310!/:?]
	at org.dimdev.dimdoors.block.entity.EntranceRiftBlockEntity.teleport(EntranceRiftBlockEntity.java:85) ~[dimdoors-5.4.1-1.20.1-forge.jar%23310!/:?]
	at org.dimdev.dimdoors.block.DimensionalPortalBlock.m_7892_(DimensionalPortalBlock.java:54) ~[dimdoors-5.4.1-1.20.1-forge.jar%23310!/:?]
	at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.m_60682_(BlockBehaviour.java:766) ~[client-1.20.1-20230612.114412-srg.jar%23392!/:?]
	at net.minecraft.world.entity.Entity.m_20101_(Entity.java:998) ~[client-1.20.1-20230612.114412-srg.jar%23392!/:?]
	at net.minecraft.world.entity.Entity.m_146872_(Entity.java:773) ~[client-1.20.1-20230612.114412-srg.jar%23392!/:?]
	at net.minecraft.world.entity.Entity.m_6478_(Entity.java:718) ~[client-1.20.1-20230612.114412-srg.jar%23392!/:?]
	at net.minecraft.world.entity.LivingEntity.m_21074_(LivingEntity.java:2193) ~[client-1.20.1-20230612.114412-srg.jar%23392!/:?]
	at net.minecraft.world.entity.LivingEntity.m_7023_(LivingEntity.java:2130) ~[client-1.20.1-20230612.114412-srg.jar%23392!/:?]
	at net.minecraft.world.entity.player.Player.m_7023_(Player.java:1424) ~[client-1.20.1-20230612.114412-srg.jar%23392!/:?]
	at net.minecraft.world.entity.LivingEntity.m_8107_(LivingEntity.java:2603) ~[client-1.20.1-20230612.114412-srg.jar%23392!/:?]
	at net.minecraft.world.entity.player.Player.m_8107_(Player.java:501) ~[client-1.20.1-20230612.114412-srg.jar%23392!/:?]
	at net.minecraft.world.entity.LivingEntity.m_8119_(LivingEntity.java:2296) ~[client-1.20.1-20230612.114412-srg.jar%23392!/:?]
	at net.minecraft.world.entity.player.Player.m_8119_(Player.java:241) ~[client-1.20.1-20230612.114412-srg.jar%23392!/:?]
	at net.minecraft.server.level.ServerPlayer.m_9240_(ServerPlayer.java:467) ~[client-1.20.1-20230612.114412-srg.jar%23392!/:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.m_9933_(ServerGamePacketListenerImpl.java:262) ~[client-1.20.1-20230612.114412-srg.jar%23392!/:?]
	at net.minecraft.network.Connection.m_129483_(Connection.java:263) ~[client-1.20.1-20230612.114412-srg.jar%23392!/:?]
	at net.minecraft.server.network.ServerConnectionListener.m_9721_(ServerConnectionListener.java:142) ~[client-1.20.1-20230612.114412-srg.jar%23392!/:?]
	at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:907) ~[client-1.20.1-20230612.114412-srg.jar%23392!/:?]
	at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:814) ~[client-1.20.1-20230612.114412-srg.jar%23392!/:?]
	at net.minecraft.client.server.IntegratedServer.m_5705_(IntegratedServer.java:89) ~[client-1.20.1-20230612.114412-srg.jar%23392!/:?]
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661) ~[client-1.20.1-20230612.114412-srg.jar%23392!/:?]
	at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[client-1.20.1-20230612.114412-srg.jar%23392!/:?]
	at java.lang.Thread.run(Unknown Source) ~[?:?]
[17Feb2025 12:06:49.128] [Render thread/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [System] [CHAT] Something went wrong while trying to teleport you, please report this bug.
@HyperCodec
Copy link
Author

here are the mods that i was playing with, if that helps:

[17Feb2025 11:50:19.593] [main/INFO] [Puzzles Lib/]: Loading 127 mods:
--
180 | - accelerateddecay 3.0.1+mc1.20.1
181 | - alexs_mobs_extra_music 1.1.0
182 | - alexscaves 2.0.2
183 | - alexsmobs 1.22.9
184 | - ambientsounds 6.1.4
185 | - appleskin 2.5.1+mc1.20.1
186 | - architectury 9.2.14
187 | - azurelibarmor 2.0.14
188 | - backported_wolves 1.0.3-1.20.1
189 | - battlemusic 1.20.1-1.1.0
190 | - bellsandwhistles 0.4.3-1.20.x
191 | - boatbreakfix 1.0.2
192 | - bookshelf 20.2.13
193 | - caelus 3.2.0+1.20.1
194 | - citadel 2.6.1
195 | - cloth_config 11.1.136
196 | - collective 7.91
197 | - configured 2.2.3
198 | - conjurer_illager 1.1.6
199 | - controlling 12.0.2
200 | - corgilib **.**.**.**
201 | - coroutil 1.20.1-1.3.7
202 | - corpse 1.20.1-1.0.9
203 | - crabbersdelight 1.1.7d
204 | - cratedelight 24.11.29-1.20-forge
205 | - create 0.5.1.j
206 | \-- flywheel 0.6.11-13
207 | - create_central_kitchen 1.3.12
208 | \-- create_dragon_lib 1.4.3
209 | - create_deep_dark 1.7.0
210 | - create_simple_ore_doubling 1.5.0
211 | - create_ultimate_factory 1.9.0
212 | - createframed 1.5.6
213 | - createliquidfuel 2.0.2-1.20.1
214 | - createmoredrillheads 2.0.3-1.20.1
215 | - creativecore 2.12.31
216 | - cristellib 1.1.5
217 | - curios 5.11.1+1.20.1
218 | - dimdoors 5.4.1
219 | - do_a_barrel_roll 3.5.6+1.20.1
220 | - doubledoors 6.1
221 | - dragonseeker 1.2.0-1.20.1
222 | - dynamic_fps 3.7.6
223 | - dynamicvillage 0.4
224 | - e4mc_minecraft 4.0.1
225 | - elytraslot 6.4.0+1.20.1
226 | \-- mixinsquared 0.1.2-beta.6
227 | - embeddium 0.3.31+mc1.20.1
228 | \-- rubidium 0.7.1
229 | - enchdesc 17.1.19
230 | - enhanced_boss_bars 1.20.1-1.0.0
231 | - enhancedcelestials 1.20.1-5.0.2.3
232 | - enhancedvisuals 1.8.2
233 | - entity_model_features 2.4.1
234 | - entity_texture_features 6.2.9
235 | - expandedstorage 10.3.0-beta.5
236 | - explorify 1.6.2
237 | - extendedgears 2.1.1-1.20.1-0.5.1.f-forge
238 | - eyesoficeandfire 1.1.0-1.20.1
239 | - farmersdelight 1.20.1-1.2.5
240 | - ferritecore 6.0.1
241 | - forge 47.1.106
242 | - geckolib 4.4.9
243 | - guardvillagers 1.20.1-1.6.10
244 | - healingcampfire 6.2
245 | - iceandfire 2.1.13-1.20.1
246 | - itemphysic 1.8.4
247 | - jade 11.12.3+forge
248 | - jadeaddons 5.3.1+forge
249 | - jei **.**.**.**
250 | - jeresources **.**.**.**
251 | - journeymap 5.9.18
252 | - justhammers 2.0.4+mc1.20.1
253 | - kotlinforforge 4.11.0
254 | - ksyxis 1.3.3
255 | - mantle 1.11.36
256 | - medievalorigins 6.5.1+1.20.1-forge
257 | \-- apugli 2.10.2+1.20.1-forge
258 | - minecraft 1.20.1
259 | - modernfix 5.18.6+mc1.20.1
260 | - modonomicon 1.77.6
261 | - mowziesmobs 1.7.0
262 | - mr_tidal_towns 1.3.4
263 | - mutantmonsters 8.0.7
264 | - necronomicon 1.6.0
265 | - noisium 2.3.0+mc1.20-1.20.1
266 | - occultism 1.141.2
267 | - oculus 1.8.0
268 | - origins 1.20.1-1.10.0.9
269 | \|-- additionalentityattributes **.**.**.**+1.20.1
270 | \|-- apoli 1.20.1-2.9.0.8
271 | \-- calio 1.20.1-1.11.0.5
272 | - origins_classes 1.2.1
273 | - pehkui 3.8.2+1.20.1-forge
274 | \-- mixinextras 0.3.6
275 | - puzzleslib 8.1.25
276 | \-- puzzlesaccessapi 8.0.7
277 | - railways 1.6.7+forge-mc1.20.1
278 | - rats 1.20.1-8.1.3
279 | - retrodamageindicators 1.0.1
280 | - rightclickharvest 3.2.3+1.20.1-forge
281 | - sculk_expansion_mr 1.3.2
282 | - searchables 1.0.3
283 | - smartbrainlib 1.15
284 | - sound_physics_remastered 1.20.1-1.3.0
285 | - spartanfire 2.1.0
286 | - spartanshields 3.1.1
287 | - spartantoolkit 1.5.1
288 | - spartantwilight 3.1.0
289 | - spartanweaponry 3.1.3
290 | - spidersproducewebs 3.6
291 | - starlight 1.1.2+forge.1cda73c
292 | - structure_gel 2.16.2
293 | - t_and_t 0.0NONE
294 | - tconstruct **.**.**.**
295 | - tectonic 2.4.1
296 | - torchhit **.**.**.**
297 | - travelersbackpack 9.1.16
298 | - twilightforest 4.3.2508
299 | - usefulslime 1.7.1
300 | - veinmining 1.5.0+1.20.1
301 | \-- spectrelib 0.13.15+1.20.1
302 | - villagernames 8.2
303 | - villagespawnpoint 4.5
304 | - voicechat 1.20.1-2.4.32
305 | - xpbook 2.2.1
306 | - yeetusexperimentus 2.3.1-build.6+mc1.20.1
307 | - zume 1.1.4

@HyperCodec
Copy link
Author

HyperCodec commented Feb 17, 2025

This seems to be specific to whatever structure it's generating/teleporting to, as I can go through other portals just fine.

@joebobthethird
Copy link

i've also had this issue, but on 1.20.1 forge 47.2.0

mods that we both had:
alex's caves
alex's mobs
appleskin
architectury
citadel
cloth config
corgilib
curios
dimdoors (duh)
embeddium
enchdesc
geckolib
jei
jeresources
puzzleslib
starlight
tectonic

hopefully this helps a bit

@CodeBot101
Copy link

CodeBot101 commented Mar 30, 2025

I also just had the same issue, log here: https://mclo.gs/df98TAS

Mods that joebobthethird and I both had:

alex's caves
alex's mobs
appleskin
architectury
citadel
cloth config

curios
dimdoors (duh)
embeddium
enchdesc
geckolib
jei

puzzleslib
starlight
tectonic

@ItsNotAsh94
Copy link

Pretty sure this is semi common, some of the doors just dont work sometimes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants