hobune Channels Contact About Donate

[1.12] The Quest for the Bedrock Item

Back to video page | Download comments jsonl

Comments (archived 2022-07-05 11:55; 60 top, 116 total comments)

Info Teddy 2020-07-12 05:54:32

Minecraft: The game where the only reason you can't mine bedrock is because you can't instamine redstone ore.

171 likes
Replies (1)
gam ing 2020-07-27 16:08:55

oof... when a super gold diamond netherite omega super efficiency 50 pick gets added, we could get bedrock easily.

6 likes
Necrosapiens 2020-07-12 01:14:27

It's great to see these insights into the thought processes and details with this sort of development. Thanks for sharing.

29 likes
TFirst 2020-07-11 23:45:49

Mojang checking for the block twice makes me feel like they’re doing this intentionally. So many bugs that are useful are based on such weird code

101 likes
Replies (7)
Earthcomputer 2020-07-12 08:19:32

I simplified the code a bit for the video, it does make a bit more sense when you look at the actual code. It's a bit hard to explain with the actual code because 1) most people can't read Java, 2) there's lots of irrelevant stuff and 3) the relevant code can be spread across more than one location/file.

57 likes
ori61 51 2020-08-01 11:07:59

@Earthcomputer this is called a race condition right?

2 likes
Earthcomputer 2020-08-01 11:43:18

@ori61 51 no

11 likes
ori61 51 2020-08-01 11:46:41

@Earthcomputer is it a kind of race condition?

1 like
* 2020-09-20 11:08:31

@ori61 51 A race condition is if code is executed at the same time (i.e. via threads) where it is not clear/fixed which executes first. Earth Computer mentions an idea with multithreading briefly, but dismisses it. The exploit works on one thread, no race condition. It simply triggers more functions in place before continuing with the block-dropping function

3 likes
magicus 2020-10-08 22:52:18

@ori61 51 It's more of a "time-of-check to time-of-use" issue. 

See https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use.

1 like
ori61 51 2020-10-08 22:57:04

@magicus "In software development, time-of-check to time-of-use (TOCTOU, TOCTTOU or TOC/TOU) is a class of software bugs caused by a race condition..."

1 like
Bluecrab2 2020-07-12 05:45:33

Anoher block with special left-click action: TNT with data value 1. This behaves like TNT before Beta 1.7 and ignites when punched. Interestingly this was also possible in survival previously before 1.7.6 using a block data changer (check a video on my channel for how to). Most likely won't have the correct behavior but maybe worth looking into.

13 likes
Replies (1)
Earthcomputer 2020-07-12 09:22:22 (edited 2020-07-12 09:23:30 )

Unstable TNT actually does its explosion at the end of mining rather than at the start. You don't normally notice because it's always insta-mined, but it makes a difference in this case. The 3 blocks I showed are the only 3 blocks in the game with a left click action in 1.12, I used the IDE to list them all.

11 likes
EDDxample 2020-07-12 01:15:02

That's amazing Earth! I knew there was some clue at minning code after getting this weird setup (inspired by goohz)
I'm still not sure how it works but I believe you have to press the mouse button enough to "mine" the dirt but not enough to mine the iron (even before aiming at the block), then you somehow move bedrock to that location and so
video ID: BvziENGdXJU

42 likes
Replies (4)
gnembon 2020-07-12 02:56:00

Slicedlime showed in his recent half-heart-hardcore challenge how he instabroke the glass while mining sugarcane, so that's probably gonna be looked at.

8 likes
Earthcomputer 2020-07-12 08:40:12

The client keeps track of the block break progress at the block it's currently mining. The server keeps track of something different, the number of client-side ticks that have passed since the player started mining (the client sends a mining packet every tick). This means that the client-side break progress can increment at different rates depending on what block you're hitting, but the server always increments at 1 tick per tick no matter which block. The server will only break the block when enough ticks have passed to break the block that is there at the end.
In your video there, what is probably happening is that the client is incrementing its mining progress according to whatever is there each tick (dirt or iron), but the server is only keeping track of how many ticks mined. The client then thinks it's got enough progress to mine the iron block, but the server knows you've only been mining for X ticks and that's not enough to mine the iron block, so it says no. Then you push down the glass block and the server breaks it because X is enough ticks to mine a glass block.
While definitely cool, this quirk is not enough to mine bedrock, because although it might somehow be possible to trick the client into thinking it's got enough progress to mine it, bedrock requires an infinite number of ticks to mine so you will never mine it server-side.
Just as an aside, the way these hacked clients mine blocks faster is they send more mining tick packets than a vanilla client would, which causes the server to increment the ticks faster.

17 likes
Alexandre J. W. Klaus 2020-09-20 04:02:37

@gnembon ohhhh, so that is how grian broke stone with a shovel in hermitcraft

0 likes
turtle 2020-10-19 23:08:30

@Alexandre J. W. Klaus well it may also be an inventory glitch that happens

0 likes
TheTroll2001 _ 2020-07-12 00:00:48

The day bedrock becomes obtainable, is the day sadness will be erased from the world

55 likes
Replies (6)
sharpfang 2020-07-22 10:40:24

Not erased, just extracted, compressed into a tight ball and forcefully shoved into all the Anarchy servers.

3 likes
TheTroll2001 _ 2020-07-22 14:22:31

@sharpfang The way of doing this isn't possible on anarchy servers, so I have nothing to fear of the anarchy community.

0 likes
AutiAuto 2020-08-04 19:05:25

@TheTroll2001 _ Not necessarily anarchy servers. It's Paper, other forks of Spigot or modded servers in general that prevents stuff like this from functioning.

0 likes
UpsideDownFoxxo 2020-08-20 22:18:27 (edited 2020-08-20 22:18:39 )

thats where youre wrong, its the day at wich sadness starts for everyone that has a base and mean friends

0 likes
PixelatedBrayden 2020-09-06 08:14:54

we meet once again

0 likes
Alexandre J. W. Klaus 2020-09-20 04:01:31

welp, it has been done

1 like
xFrednet 2020-07-12 00:17:18

Awesome, thank you very much for sharing this! I would be happy to see more like this content even if you didn't reach the goal you have set for your self.
I have one more question: is there a reason why you specified 1.12 in the title? Has something special changed in 1.13 or was 1.12 the only one you've looked at?

Keep up the good work! :)

6 likes
Replies (2)
Matthew Bolan 2020-07-12 00:26:40

It's been obtained in 1.8 and one of the more modern versions switched to like a loottable sort of dealio which removed the silk touch oversight IIRC.

4 likes
Earthcomputer 2020-07-12 07:55:25

What Matthew said, and also the fact that it's no longer possible to modify loaded chunks through population. That's not to say getting the bedrock item is necessarily impossible in newer versions, but it would require an entirely different oversight, probably one that didn't exist in 1.12.

3 likes
some beach 2020-07-12 02:39:31

I'm super curious how you modded the things like the redstone to bedrock swap or the dragon egg not teleporting. I know that with fabric, you can use mixins to modify vanilla behavior, however, I don't know how you changed the vanilla code itself and compiled it. Did you just make a jar mod using forge or...idk. With the newer snapshots, its super trivial to decompile the code(well, it always was but there's obf maps now) but I've yet to find a way to re-compile it.

5 likes
Replies (2)
Earthcomputer 2020-07-12 10:55:49

I have a carpetmod workspace setup for 1.12, you can get one too if you clone it and follow the readme. Also for 1.12 there's also MCP. For the mining speed mod at the beginning, since that needed clientside modifications too, I used liteloader with mixins.

4 likes
some beach 2020-07-12 19:44:24

Earthcomputer ah i see, thanks! I am not where near proficient enough with java to understand where to even start with mixens lol. I've tried looking at genmbons carpet mod mixens, all hieroglyphs to me

1 like
Faulty Driver 2020-07-11 23:45:12

Great video, well thought out and presented. Subbed.

5 likes
Replies (1)
Silcrow 2020-07-12 04:14:33

Earth has wack videos. Like they're always really well thought out

0 likes
Manrock1 2020-07-12 00:41:42

If I learned anything from the tech community, It's they do stuff thought to be impossible :) Goodluck!

16 likes
Rays Works 2020-07-12 01:48:13

Great explanation! about time you made this video :p
Your audio gets quieter and quieter as the video goes along.

70 likes
Replies (4)
xi 2020-07-13 09:19:59

Why dont u have the verified tick???????

1 like
Ram Krishan Charan 2020-09-07 21:41:44

@xi he does now

1 like
xi 2020-09-22 17:03:26

@Ram Krishan Charan ohh yeahhh

0 likes
turtle 2020-10-19 23:03:02

@xi you need 100k, idk if he had that of the time of this

0 likes
Xaron11 2020-07-12 12:26:15 (edited 2020-07-12 12:36:29 )

15:50
I've added a line with setBlockState in MCP and I was able to instamine stone and get bedrock from it. I think onBlockClicked method is called for every block in the game, so you don't need haste 9 to mine redstone ore.

2 likes
Replies (2)
Landmining 2020-07-19 07:21:57

It does get called for every block in the game. But for every block except for the mentioned ones, it's an empty method, so it's no use. As you need it to load a chunk/trigger population.

2 likes
Xaron11 2020-07-21 19:14:56

​@Landmining Thanks for the clarification.

0 likes
Favorito HJS 2020-07-12 03:47:55 (edited 2020-07-12 04:08:57 )

So THAT'S what you were talking about in the Discord.
[EDIT1] Also, Could the block damage transfer thingy be useful for this, or did Bedrock Breaking get patched before Mojang added Persistance of Breaking?

3 likes
potato4dawin 2020-07-12 06:28:56

Can you use any of those tricks to fake "instamine" the redstone ore? I'm too lazy to check the code to find out how the mining checks work ;P
Love the videos as always!

1 like
Synical 2020-07-18 20:19:54

Overall, this video was amazing but very hard for my brain to understand how your breaking bedrock lol

0 likes
Rechenmaschine 2020-07-12 18:42:31

First, there is a Hack called click block mining, it incries the mining speed
also the only way to get to a unloadet cunkborder next to some populating bedrock would be in the end and u would need to lagg your game so it almoest freeze

4 likes
Replies (1)
Anton Helsgaun 2020-09-19 21:19:24

Exactly what they did on scicraft

0 likes
Dramwertz 2020-07-12 06:01:26

Great to see another video of you :) <3

3 likes
CasualCraft 2020-07-16 17:15:08

Does it have a block? Crops break instantly with any tool, not sure though if they have the left click option...

1 like
FX - PR0CESS 2020-07-12 02:17:39

Thanks for testing the end portal xD

2 likes
Incog 0 2020-07-11 23:54:17

To someone that dug around minecrafts code. Is there a reason that a specific block is written twice instead of just turning the original block into an entity?

1 like
Jonas Paladin 2020-07-12 01:10:32

Love your content

2 likes
kepler69c 2020-07-21 07:52:15

does this can work with block that can have a left click action with a specific item
like, grass can be clicked with shovel to make grass path
i guess you already had the idea but i would like to know why it wont work in that case

1 like
Replies (1)
Earthcomputer 2020-07-21 08:13:45

The list shown in the video is exhaustive

3 likes
Felix G. 2022-02-10 03:22:37

"I'm about 99.99999% sure that it (falling block) is not gonna work"
Well.. :D

1 like
Super Hase 2020-07-12 00:06:17 (edited 2020-07-12 00:07:29 )

I have a question: Which randomseed is used to calculete which Player picks up a Block when you throw it in a mess of Players and can you influence it so you will always pick up the blocks?

2 likes
Replies (8)
Super Hase 2020-07-12 00:29:49

@Teryllim hm, okay thx

0 likes
_Kayleigh 2020-07-12 03:15:08

its entity id, lowest id gets it every time

2 likes
Super Hase 2020-07-12 12:10:51

@_Kayleigh changes the entity id when you move? or can you somehow influence it that it is always low?

0 likes
_Kayleigh 2020-07-12 13:56:14

@Super Hase no, its assigned when you log on and they are allocated sequentially

0 likes
Super Hase 2020-07-12 14:25:38

​@_Kayleigh xD i dont understand mojang why is this not also used for enchanting or for unbreaking.

0 likes
_Kayleigh 2020-07-12 15:00:40

@Super Hase why would you use entity id for randomness? its inherently non-random

1 like
Super Hase 2020-07-13 15:35:09

@_Kayleigh so you could tecnicly influence it that you have a higher chance of getting an item?

0 likes
_Kayleigh 2020-07-13 15:59:36

@Super Hase just log on before everyone else and you should get all the items, assuming it's a vanilla server

1 like
Matthew Bolan 2020-07-12 00:01:09

Ok but you have to admit the multithreading idea is hilarious

11 likes
Replies (1)
MCR cortex 2020-07-12 08:14:56

best idea ofc

1 like
Hazza Playz 2020-07-12 17:30:45

I had no idea you could do this!!

1 like
Break stair 2022-05-15 18:12:27

im using MPC reborn to try to recreate the mod you made that makes the redstone ore into bedrock, but it seems like the redstone ore code is different then yours in the video. could you give me a link for the mod download?

0 likes
PuffingFish HQ 2020-07-16 15:25:16

I believe I might know a way to get eff 8 or haste 9, however it would require starting the world in 1.8.9, the other issue with this method would be that u could get anything with this exploit so the bedrock would be pointless, however, it’s possible without changing game modes etc so you could get it in 1.8.9 and then do this method in 1.12. If you have a place to talk about it I can msg u there :)

2 likes
Replies (2)
TAXMAN 2020-07-20 13:53:29

doesnt that defeat the point of this then? you can just get the bedrock in 1.8 and people dont want to downgrade etc

0 likes
Сергей Быков 2020-07-25 18:18:26

@TAXMAN Do you mean that method of building flying machines, flying into the ungenerated end chunks and breaking a torch in place where obsidian pillar should generate? Don't you need to repeat it thousands of times before an expected place coincides with the real one? Or is there a more reliable way of getting it in 1.8?

2 likes
Sploshwazere 2020-07-12 12:14:42

Glad to see you are still uploading :) I thought you stopped

1 like
gnembon 2020-07-12 02:53:56

Well, that's a bummer..

46 likes
JayTheYggdrasil 2020-10-21 01:52:28

Hey, so with the noteblock method, have you considered what would happen if you were to desync the client and the server? Such that the client thinks it has an axe that's able to instant mine and the server thinks you have a silk touch pickaxe? I've been messing around with desyncs in more recent versions and it can lead to some interesting things.

0 likes
Replies (1)
Punchster2 2022-04-24 04:18:26

mining duration is handled by the server. if the server thinks you can't instamine then you won't instamine.

though this is from a year ago, you probably figured that much out

0 likes
Ali Khamesy 2020-10-20 00:51:34

how do you view the source code?

0 likes
Ian McBride 2020-07-12 03:55:49

What a pleasant surprise to find an upload from earthcomputer

1 like
FadedWorld06 2020-07-12 09:26:35

An informative and interesting video, and as a keen follower of the Prototech and technical Minecraft community... THANK YOU FOR UPLOADING

1 like
MaJEllico 2020-07-12 00:32:26

Oh shit! Glad to see you're also still alive. <3 Jo Johnson

3 likes
Replies (1)
Prudii Gaming 2020-07-12 04:33:15

We miss both of you. Hope you're both doing okay. :)

0 likes
ZooM 2020-07-12 05:12:22

So ur saying dumb servers with insta mine plugins can just have bedrock minable

11 likes
SuperOof 183 2020-09-26 05:56:50

Can you mine barriers and end portal frames and portals now? Lol

0 likes
Super Hase 2020-07-11 23:50:10

OMG it will be epic

2 likes
honigbrai 2020-07-12 05:54:13

What if you use fastbreak?

1 like
Replies (1)
Earthcomputer 2020-07-12 09:17:02

I mentioned in the video that these hacked clients don't work for getting the bedrock item.

2 likes
Coderx Gamer 2021-05-19 01:10:45

why was there a flash of dirt and grass blocks for a second at 11:40 lol

0 likes
Elvar the Turtle 2020-07-12 00:12:50

Really cool

3 likes
Nooticus 2020-07-11 23:54:20

OMFG EARTH UPLOADED :OOO FFYGUIGFYUGFUGFRNUSNGFNG <3 I'm so hyped to watch this and learn about this insane project!

11 likes
Replies (2)
Nooticus 2020-07-12 13:08:09

This was really well explained, even for a complete non-coder like me! Keep up the great work Earth! ❤️

0 likes
Rechenmaschine 2020-07-12 18:42:55

owo

0 likes
Deathsneeze 2020-07-12 02:26:45

OMG Earth! you're still around!

7 likes
Replies (2)
Chezloc 2020-07-12 06:08:45

Ofc

2 likes
turtle 2020-10-19 23:09:11

Did you think he left?

0 likes
luee lee 2020-07-12 00:15:35

a fellow sublime text gang member i see

3 likes
rbda 2020-07-12 01:23:54

Lol he is back :3

1 like
The Milestone LP 2020-10-12 12:42:04

But why do they do the block = get from world twice?

0 likes
Replies (1)
Alireza Codes! 2021-05-27 03:23:32

Because :Mojank:

0 likes
yankees88888g 2020-07-12 04:01:09

2b2ts 30000 efficiency lol

0 likes
Nugcon 2020-09-25 19:06:29

fools. just use creative mode smh my head

2 likes
chaos 3d 2020-07-12 07:26:56 (edited 2020-07-12 07:28:13 )

wait dude....
who cares about bedrock item
does that mean you just came up with a method to place bedrock blocks?
or was that just something you did for testing?

0 likes
Replies (1)
Jonas Paladin 2020-07-12 07:38:21

bedrock item best scaffolding, very useful as well.

3 likes
EDDxample 2020-07-12 00:05:32

<3

12 likes
Eoin Robson 2020-09-19 16:09:09

Who else is here cuz of ilmango

3 likes
Woo Six 2020-07-12 07:27:49

Not even April fools

0 likes
FLIFFYUNICORN 2.0 2021-07-25 23:11:29

Wait, that’s illegal

0 likes
gam ing 2020-07-27 16:09:23

oof... when a super gold diamond netherite omega super efficiency 50 pick gets added, we could get bedrock easily.

1 like
Judiye - The Revival 2020-07-12 02:41:48

Wooooow

1 like
Yis Pinto 2020-07-11 23:33:12 (edited 2020-07-11 23:34:19 )

Quest? I'm already ona quest! On a quest to make wireless redstone!
That is a joke not a hate comment pelase don't kill me anyone

1 like
Replies (4)
MrMunchkin21 2020-07-11 23:34:13

Illmango has a video on that.

0 likes
kjproductions98 2020-07-12 00:23:53

it is possible to have wireless redstone...

0 likes
Jonas Paladin 2020-07-12 01:23:04

there are multiple ways to do it

0 likes
MCR cortex 2020-07-12 08:15:49

mess detector is best way to do wireless redstone xD

0 likes
Ph Channel sub now 2022-03-01 06:50:19

How

1 like
Woo Six 2020-07-12 07:32:30

4:04 omg who tough mojanck how to program?

1 like
Rohen Tahir 2020-07-11 23:29:36

Hrmm

1 like
兰瑟头颅emm想无 2020-07-12 07:59:17

get

0 likes