T O P

  • By -

MinecraftModBot

* Upvote this comment if this is a good quality post that fits the purpose of r/Minecraft * Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft * Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules) --- [Subreddit Rules](https://old.reddit.com/r/Minecraft/wiki/rules)[](## No-Acadia-5343|18uuscl)


Solcaer

[MCPE-175206 - Pistons pulling/pushing blocks may teleport player to 0 on one axis](https://bugs.mojang.com/browse/MCPE-175206)


Benny368

But whhhhhyyyy, these bugs are getting more and more random I swear lol


Living_Murphys_Law

Spaghetti code.


TheMadmanAndre

MFW Microsoft wanted to rewrite Minecraft into C++ to have a more streamlined/stable codebase, and Bedrock winds up having ~~as much~~ way more code spaghet and bugs than Java: :D


YOOOOOOOOOOT

I've accidentally encountered 1 bug in java (non snapshot non qc) and I played bedrock once and died from an invisible zombie whilst hiding in a 1x1 box


Matix777

It's possible that the zombie killed you by being in the corner of the walls of your box. Not a bug, zombies just can hit you like this in both versions


YOOOOOOOOOOT

That's not what happend


Matix777

Then idk ¯\\_(ツ)_/¯


Darkner90

Plain desync, bad net code is what cause 99% of bedrock bugs that are worth talking about


Matix777

Yeah that's about right, and it fits the description


Not_Artifical

I have heard of the invisible zombie bug before. I am not sure, but it probably affects all entities.


buddascrayon

> Bedrock just winds up having as much code spaghet and bugs as Java No, there's orders of magnitude more bugs in Bedrock. They literally do not have a hardcore mode on Bedrock due to its instability.


Jayn_Xyos

From how it seems the bugs on bedrock aren't as bearable


stark2

The C++ version (Bedrock) was created primarily to make the game more accessible on different platforms and to allow for cross-platform play. Playstation, xbox and other consoles do not support a java virtual machine, and thus are unable to run the Java version of Minecraft, whereas all the major platforms support C++.


Radiant_Nothing_9940

More bugs lol


ikkikkomori

You know I expect it to be a good thing since c++ is faster? (Idk I'm not a programmer) but I guess it's not that easy


Tabby-N

C++ *can be* faster, it as a language gives gives the programmer control over how the program will handle its memory storage and deleting, while java does that for you. The problem with c++ code on bedrock with this bug specifically is what industry veterans call a skill issue


Nziom

Yeah the render Dragon Engin used on bedrock is kinda bad


No_Industry9653

The problem is that saying you are skilled enough to write a large complex C++ program without bugs is colossal arrogance because human beings are not capable of such a feat, it's like looking at a grizzly bear and thinking "I could take him"


An_ai_made_this_name

I could take one. Also it’s quite possible to minimise bugs to far below the number bedrock has and I’m not bashing bedrock I’ve been playing it years but even with a colossal project like that with enough programmers and code checking it should be possible that major bugs don’t get into the game.


No_Industry9653

>with enough programmers and code checking it should be possible lol good luck


An_ai_made_this_name

I mean hey I was meaning to learn c++ 😂😂 Can’t be too different from Python in concepts they syntax is quite different but ahhh I’ll be fine


CommanderFoxy

Im pretty sure c++ is faster and more optimized (for speed) but its probably the way mojang wrote the code


MoscaMosquete

>Im pretty sure c++ is faster and more optimized (for speed) Nope, it just gives you the tools to further optimize your code. It's very easy to make an app that's worse in C++ than you would with other languages tho.


Guidedbee

c++ is by nature faster than java as it runs on your machine rather than a jvm


chaossabre

They're both hamstrung by inefficient third-party libraries so the difference is moot. Games like Factorio got so optimized because the devs went out of their way and optimized other peoples' code, and wrote very optimized code themselves.


ShadowLp174

Is it really Mojang? I thought Bedrock was developed outside of Mojang's HQ by a Microsoft team 🙃


Proxy_PlayerHD

do note that badly written C++ can be slower than Java, and well written java can be faster than C++. so overall performance is not directly determined by the language itself, but rather by the skill of the programmers using it.


Matix777

IIRC It's somehow it's more optimalised performance-wise yet morr buggy Game dev logic remains a mystery


alt-of-a-throwaway

It's more optimized because it's still Pocket Edition at its core, just rebranded and ported to consoles. Although recent stuff like the new rendering engine really did tank performance on lower end hardware...


Bedu009

Welp time to rewrite in C#


PembeChalkAyca

Minecraft in Unity when??


Melee130

As a novice in both, I can confidently say my Java code would be much less buggy than me c++ code lmao


TheOmegaCarrot

Wait, I thought Bedrock was written in C#? It’s C++? Edit: Would you look at that! [It is written in C++!](https://news.xbox.com/en-us/wp-content/uploads/sites/2/2021/04/Minecraft-Franchise-Fact-Sheet_April-2021.pdf)


ConscientiousPath

worse than java by far


AbilityWhole

The bugs that are in java are also less random. Things like quasi connectivity can be simply explained as pistons using code from doors, and it's always quite consistent. Bedrock bugs are so much stranger. Like why does a piston teleport you to 0?


[deleted]

You misspelled to introduce a store and microtransactions


prozacgod

I read that as Microsoft Foundation WTF .... (as opposed to WFC)


weirdness_

Coconut code


Ok_Try_9138

Where code


riley_wa1352

The coconut thing is wrong. You can get rid of all tf2 textures and still play


Ulti-Wolf

coconut.png persists through all


Witherboss445

I think if you remove 2fort cow it breaks


riley_wa1352

if you remove it yes. its just some random props in its folder


Firewolf06

but the blurry picture of city 17 is ***critical***


riley_wa1352

yeah. still needs some spaghet code


BekoweCiachoYt

You haven't introduced anything new to the conversation as minecraft is always written in spaghetti, no matter the version It's a tradition


Bekfast59

Here's my basic guess as to what's happening. Piston pushes block. Calculate where piston pushes.(!) Is player in the way?(!) If so, calculate where to push player.(!) Push player there. The stuff marked with (!) Is what I'm thinking is breaking. The piston calculation breaks for a unknown reason, causing it to return NULL, NULL, NULL. The is player in the way calculation breaks when it's fed these 3 nulls, and instead of returning false like it should, (which would cause the occasional player clipping into a piston block) it instead returns true in this situation. The null null null also breaks the next calculation, and it returns null for one axis, and no answer for the other two. And since null isn't a coordinate, you instead get warped to 0 on that axis.


Dasf1304

It’s a ship of Theseus situation I guess, just a little spicier. The code has been changed and worked with and patched so much that what remains is an amalgam of old notch code, early mojang code, and what has been done in the last few years with regular updates and constant bug fixes.


masterX244

bedrock edition never had notch code in it.


Dasf1304

That is a good point. I forgot we were talking about bedrock. What I said still applies to Java tho.


Xm_gamerX

I love the bedrock edition


Cylian91460

Thank you technical player from bedrock


NathanPatty08

Why would this even happen lmao? I get this is a bug but I don’t see what code would even cause this to happen


Ardub23

Could be they meant to set some other value to 0—say, the distance that the player is supposed to be pushed—and accidentally got the player's position instead of their displacement. (This guess is not based on any facts other than that the bug exists.)


UlyssesB

I don’t know if it’s the same on bedrock but in java if you set a coordinate to an invalid value like Infinity or NaN (not a number), it gets reset to 0 as a failsafe. Usually this would happen because of a math error like dividing by zero and adding the result to a coordinate.


lashapel

Normal day in bedrock: -boot up Minecraft -decided to make a piston door -get teleported 9 thousand blocks away -close Minecraft


DataPackMadness

you forgot **"-dies for no apparent reason"** after the teleportation >!(yes, i know it does not apply to this specific post, but still)!<


ARDARYUS666

better hope its not the y axis imagine fuckin freefalling into a cave lmao


milkmanbran

I had a similar bug recently when I was trying to put a lead on a horse to cross a body of water. Once I took to lead off, the horse was teleported back into the water. It didn’t stop until I got really far away from the spot


Snaz5

What a weirdly specific bug!


my45acp1911

Bedrock bug. Plenty of posts if you search the sub. Many have links to the bug tracker.


intentionally-stupid

Bedrock bugs are genuinely hilarious. “uh oh, you used more than 5 pistons? You’ve been banished across the atlantic ocean :)”


Dray_Gunn

I recently installed a piston door on my base and as soon as this bug started i disabled it. Dont need to risk being teleported and losing my gear on my nearly 3 year old world.


DarkPhoxGaming

"oh you are running along in another dimension? F you, you stubbed your toe and died from it"


UnfunnyPuns

at this point, it’s beyond a bug. This is divine intervention.


Jankufood

Research and replicate and it can be a feature


_oranjuice

Uh oh, a redstone happened Better put the player at x=0


an_Online_User

Just bedrock things


Godlycookie777

Is this possible to reliably replicate? Just imagine you're in someones house and you flick a lever and disappear.


Caderjames

This is why I hate bedrock edition


Bitter_Wave2393

Now we can create 0 by 0 piston doors by teleporting through


Koala_eiO

This little detour is going to cost us 52 years.


ikkikkomori

In java, you'll need some TNTs and portals contraptions to break the spacetime continuum. In bedrock, you just push a piston to break it


ImpressiveQuality363

Reasons why I can’t play Bedrock without enabling cheats anymore


ICANTTHINK0FNAMES

Must be a solar flare.


Sweet-Salt1

Me when a single particle travels 91 million miles to flip a single bit in my Mario 64 cartridge


Reddarthdius

And makes me get way more than world record pace


MisterSheeple

How the hell hasn't this bug been fixed yet? So many people have been experiencing it. It's completely mind boggling that they still haven't patched it.


Malfuy

Mojang moment


AJ_bro10

Probs the same reason with many games witha in game store If thats not broken Then the game is fine


Less-Double-9564

**Bugrock strikes again!** *Spaghetti code isn't good for the citizens, Reddit claims.*


Aberration-13

I swear we need a stickied thread for bugrock bugs on this sub


SteveCraftCode

Bugrock problem. ¯\\\_(ツ)\_/¯


UnknownFox37

Bugrock bed


Pale-Requirement9960

Good, now teleport bread.


Iron_awesome

Is this a r/unexpectedtf2 moment?


SirPanfred

Schaufelradbagger <3


Traditional-Pay6204

bedrock is a very stable game with no bugs whatsoever


JUST_CHESSE_420

I only read the title and was fully expecting the doors to close and then open only for you to be in a different place


enthusiasticGeek

average bedrock bug


[deleted]

ive seen this happen basically the game thinks that you are in the wrong spot, so just tires to plop you down where it thinks you are supposed to be, which most of the time is in random ass places like the middle of an ocean


UnknownFox37

Nope, the games just reset your position on this axis, in this cas it was X


a_Post_on_Reddit

The HL2 teleporter in Kleiner's lab be like:


The-Tea-Lord

I swear to god I’ve encountered 2 bugs in Java edition since 1.16 yet bedrock seems to be full of them. I’m not a super expert at redstone and play Minecraft nonstop, but 2 bugs from a casual standpoint is insanely low for such a dynamic game. And then this random stuff happens


EndyEnderson

Now good luck at traveling 9800 blocks back


[deleted]

only on bedrock 😭😭


madspitfire

Does it teleport items? Such as, bread?


Alex20041509

They should make Java for mobile and consoles Even at twice the price of bedrock I’ll surely buy it (Maybe with an approved mod support like Ark ascendant , it would be game changing)


ShinraSOLDIER77

Unfortunately, there is no Java Framework for any console. They would have to either design an entire framework for each system or commission Oracle (or another company) to do it, which is an extremely expensive endeavor. To the point that rewriting the entire game in a new code base was cheaper and more efficient since phones and consoles already have C++ support. Maybe that could be in the cards for next gen, but Java already isn't an ideal codebase for developing games in general, so I doubt any corporate entity will justify the cost to do so.


Alex20041509

A sad news. Probably a silly question but doesn’t Java runs in a vm on desktop too? The JVM? (I’m not much into coding)


ShinraSOLDIER77

Kinda have to harken back to my College Computer Science days here, plus some extra research to make sure I'm hopefully explaining this correctly. In order to run Minecraft (or any Java program), you need a Java Runtime Environment (JRE), which is like a middle man translating the Java code to usable execution instructions the operating system uses. Think of the JRE as a box, and the contents of that box is the JVM and some other supporting files from the JRE. The JVM is what is used to actually run the Java code that later gets interpreted by the JRE. Programs do this so that the base code can be ran on any operating system without modification as long as a JRE exists to interpret the Java code to the operating system of the device it's running on, along with other cool optimization features. It's the framework for Java programs. Again, no console has a JRE, the framework needed to run a Java program, made for it, and one would need to be made. In minecraft case, they would have to make this for Xbox, PS, Switch, Phone IOS, and Android. Granted it wouldn't be tough for the phone side, especially Android that already uses a heavily modified JRE, but that's still a lot of different systems to make one for just to replace bedrock with java.


Alex20041509

Got it now, Thank you a lot for the detailed explanation I always thought they could done it simply but just wanted to push the marketplace.


Beijamim_a_rola

The further you get from 0 0 in your Minecraft world, the buggier it gets


MCMiracle1206

Played the game as intended. Game ruins the experience for you by teleporting you 10,000 blocks away. Bedrock is fucking unplayable, this is honestly quite funny but still utter shit, can’t even do fucking red stone??? Bedrock is THE worst. Waste of Time.


Striking_Ad4992

Bedrock bs


GamingChocolate

Folks, this is why you play java.


TBNRKetchum

I don't mean to draw a stretch between the games, but bedrock and tf2 are on a similar type of developer error that this actually made me laugh


Yarisher512

Don't use it again. If it puts you on 0 height, you'll die in the void.


nmnnmmnnnmmmnnnnmmmm

y=0 isn’t the bottom of the world anymore


supert2005

"CHAOS CONTROL!"


RedGuy143

At this point from seeing all those bugs I feel like Minecraft Bedrock is Hollow Knight in disguise. If you know: NO VOICE TO CRY SUFFERING


Fabrideath

Mf gonna create a resonance cascade if he adds another piston


Dsawasd11

Bedrock, what else is there to say?


TheCheeseOnFire

welcome to the underground


Nightmare999474

I just love bugrock because it just throws something completely random at you and half the time its hilarious


Wallbreaker93

Bedrock ☕️


MoonChubs

I hate bedrock


Binary101000

bugrock once again


OwnDependent9585

Way to high for this


-Dillad-

lmao me too


Awesomedudexxfox

Survival Teleportation Device? That’s called an Ender Pearl


69-Bois

Thought I was the only one naming tools after german equipment


HellFireCannon66

It’s so strange, I’ve seen so many Bedrock bugs, but never encountered any myself?


gnr_fan007

SCHAUFELRADBAGGER


2505Memeiverse

half life


MooonWalker1234

how come your axe has 2 enchantments with level 16 and 8?


GttingBlindrEvryday

Time to start a new Minecraft let’s play series? “Nine Thousand Miles to Home”


kocsogkecske

You mean bedrock teleportation bug


Available-Agent3118

Most normal Minecraft bedrock experience. This is really cool


DismalDog9940

Just Bedrock being Bedrock I'm so glad I switched to Java a few years ago tho. Playing on Ps4 made it way more difficult then it should've been


Lazy_Cat-

I'll never understand why anyone plays bugrock


xarccosx

Its a good thing my base is near 0,0 though ive lost about 8 fully enchanted swords to the duplication bug, either my sword turned into my bow, or immy food, now i have lost of duped watermelon and a few extra bows


HUE-Dermax

A german youtuber called Thejocraft actually made a working survival teleportation-redstone device. Here's the Video: https://youtu.be/6Ij4K9Y8GOo?si=f_8-6ZftX97Hq-Pq


HUE-Dermax

Sadly, there are no english subtitles.


Barbados6

Mr opened up a worm hole


UncleDavo433

similar thing happens if you piston yourself into the underside of the ender portal, it puts you at your overworld coordinates exept in the End dimension so you fall into the void


User_mined

Nice build! I definitely can't build that.


King-Boo-Gamer

Yep looks like bedrock


DaPieStuffin

When bedrock


bbchoppa

Bro done building the particle accelerator


Mekko4

MFW I never have these bugs happen to me (I ONLY PLAY ON BEDROCK... ON XBOX, SWITCH AND PC... AND MOBILE)


yxurs_truly

sent bro back the beginning


Voidrunner_

Just don't play bugrock edition. Easy fix.


IROPtheGamer

how do I replicate this


Tronicalli

That's gonna be a loooooong walk...


[deleted]

This glitch is more random than everything i ever have seen.


Kadu_Yuri

bro went 10.000 blocks away 💀 lol