WEBVTT
Kind: captions
Language: en

00:00:00.080 --> 00:00:02.230 align:start position:0%
 
The<00:00:00.240><c> Minecraft</c><00:00:00.800><c> code</c><00:00:01.280><c> kind</c><00:00:01.520><c> of</c><00:00:01.680><c> sucks,</c><00:00:02.080><c> and</c>

00:00:02.230 --> 00:00:02.240 align:start position:0%
The Minecraft code kind of sucks, and
 

00:00:02.240 --> 00:00:03.750 align:start position:0%
The Minecraft code kind of sucks, and
I'm<00:00:02.399><c> going</c><00:00:02.480><c> to</c><00:00:02.560><c> show</c><00:00:02.720><c> you</c><00:00:02.879><c> why.</c><00:00:03.360><c> This</c><00:00:03.600><c> all</c>

00:00:03.750 --> 00:00:03.760 align:start position:0%
I'm going to show you why. This all
 

00:00:03.760 --> 00:00:05.190 align:start position:0%
I'm going to show you why. This all
started<00:00:04.000><c> when</c><00:00:04.240><c> one</c><00:00:04.400><c> of</c><00:00:04.480><c> the</c><00:00:04.640><c> members</c><00:00:04.880><c> of</c><00:00:05.040><c> my</c>

00:00:05.190 --> 00:00:05.200 align:start position:0%
started when one of the members of my
 

00:00:05.200 --> 00:00:06.869 align:start position:0%
started when one of the members of my
server<00:00:05.520><c> needed</c><00:00:05.839><c> copper</c><00:00:06.160><c> to</c><00:00:06.319><c> build</c><00:00:06.480><c> our</c><00:00:06.720><c> town</c>

00:00:06.869 --> 00:00:06.879 align:start position:0%
server needed copper to build our town
 

00:00:06.879 --> 00:00:08.549 align:start position:0%
server needed copper to build our town
hall,<00:00:07.120><c> and</c><00:00:07.359><c> she</c><00:00:07.520><c> needed</c><00:00:07.759><c> lots</c><00:00:07.919><c> of</c><00:00:08.000><c> it.</c><00:00:08.240><c> So,</c><00:00:08.400><c> I</c>

00:00:08.549 --> 00:00:08.559 align:start position:0%
hall, and she needed lots of it. So, I
 

00:00:08.559 --> 00:00:11.190 align:start position:0%
hall, and she needed lots of it. So, I
needed<00:00:08.720><c> to</c><00:00:08.880><c> build</c><00:00:08.960><c> her</c><00:00:09.120><c> a</c><00:00:09.360><c> farm.</c><00:00:10.480><c> I</c><00:00:10.719><c> decided</c><00:00:11.040><c> to</c>

00:00:11.190 --> 00:00:11.200 align:start position:0%
needed to build her a farm. I decided to
 

00:00:11.200 --> 00:00:13.749 align:start position:0%
needed to build her a farm. I decided to
use<00:00:11.360><c> ENX04's</c><00:00:12.240><c> nextG</c><00:00:12.719><c> copper</c><00:00:13.040><c> farm</c><00:00:13.280><c> that</c><00:00:13.519><c> uses</c>

00:00:13.749 --> 00:00:13.759 align:start position:0%
use ENX04's nextG copper farm that uses
 

00:00:13.759 --> 00:00:15.509 align:start position:0%
use ENX04's nextG copper farm that uses
an<00:00:13.920><c> interesting</c><00:00:14.240><c> mechanic</c><00:00:14.719><c> known</c><00:00:14.960><c> as</c><00:00:15.120><c> zombie</c>

00:00:15.509 --> 00:00:15.519 align:start position:0%
an interesting mechanic known as zombie
 

00:00:15.519 --> 00:00:17.510 align:start position:0%
an interesting mechanic known as zombie
reinforcement.<00:00:16.400><c> This</c><00:00:16.640><c> is</c><00:00:16.720><c> a</c><00:00:16.880><c> mechanic</c><00:00:17.279><c> unique</c>

00:00:17.510 --> 00:00:17.520 align:start position:0%
reinforcement. This is a mechanic unique
 

00:00:17.520 --> 00:00:19.109 align:start position:0%
reinforcement. This is a mechanic unique
to<00:00:17.760><c> zombies</c><00:00:18.080><c> that</c><00:00:18.240><c> allows</c><00:00:18.480><c> them</c><00:00:18.640><c> to</c><00:00:18.800><c> spawn</c>

00:00:19.109 --> 00:00:19.119 align:start position:0%
to zombies that allows them to spawn
 

00:00:19.119 --> 00:00:25.269 align:start position:0%
to zombies that allows them to spawn
more<00:00:19.359><c> zombies</c><00:00:19.840><c> upon</c><00:00:20.160><c> taking</c><00:00:20.480><c> damage.</c>

00:00:25.269 --> 00:00:25.279 align:start position:0%
 
 

00:00:25.279 --> 00:00:26.870 align:start position:0%
 
So,<00:00:25.439><c> I</c><00:00:25.600><c> went</c><00:00:25.680><c> ahead</c><00:00:25.920><c> and</c><00:00:26.080><c> gathered</c><00:00:26.400><c> up</c><00:00:26.560><c> all</c><00:00:26.720><c> the</c>

00:00:26.870 --> 00:00:26.880 align:start position:0%
So, I went ahead and gathered up all the
 

00:00:26.880 --> 00:00:28.070 align:start position:0%
So, I went ahead and gathered up all the
materials<00:00:27.119><c> that</c><00:00:27.279><c> I</c><00:00:27.439><c> needed</c><00:00:27.680><c> to</c><00:00:27.840><c> make</c><00:00:27.920><c> the</c>

00:00:28.070 --> 00:00:28.080 align:start position:0%
materials that I needed to make the
 

00:00:28.080 --> 00:00:30.310 align:start position:0%
materials that I needed to make the
farm.

00:00:30.310 --> 00:00:30.320 align:start position:0%
farm.
 

00:00:30.320 --> 00:00:31.830 align:start position:0%
farm.
And<00:00:30.560><c> after</c><00:00:30.800><c> that,</c><00:00:31.039><c> I</c><00:00:31.279><c> put</c><00:00:31.439><c> the</c><00:00:31.599><c> whole</c><00:00:31.679><c> thing</c>

00:00:31.830 --> 00:00:31.840 align:start position:0%
And after that, I put the whole thing
 

00:00:31.840 --> 00:00:33.270 align:start position:0%
And after that, I put the whole thing
together<00:00:32.160><c> in</c><00:00:32.320><c> the</c><00:00:32.480><c> end.</c><00:00:32.800><c> If</c><00:00:33.040><c> you</c><00:00:33.120><c> haven't</c>

00:00:33.270 --> 00:00:33.280 align:start position:0%
together in the end. If you haven't
 

00:00:33.280 --> 00:00:34.950 align:start position:0%
together in the end. If you haven't
already<00:00:33.440><c> watched</c><00:00:33.680><c> Ian</c><00:00:34.000><c> X04's</c><00:00:34.559><c> video,</c><00:00:34.800><c> you</c>

00:00:34.950 --> 00:00:34.960 align:start position:0%
already watched Ian X04's video, you
 

00:00:34.960 --> 00:00:36.229 align:start position:0%
already watched Ian X04's video, you
should<00:00:35.040><c> totally</c><00:00:35.360><c> check</c><00:00:35.520><c> it</c><00:00:35.600><c> out.</c><00:00:35.840><c> It</c><00:00:36.000><c> was</c><00:00:36.079><c> a</c>

00:00:36.229 --> 00:00:36.239 align:start position:0%
should totally check it out. It was a
 

00:00:36.239 --> 00:00:43.590 align:start position:0%
should totally check it out. It was a
huge<00:00:36.399><c> inspiration</c><00:00:36.880><c> for</c><00:00:37.040><c> this</c><00:00:37.280><c> video.</c>

00:00:43.590 --> 00:00:43.600 align:start position:0%
 
 

00:00:43.600 --> 00:00:45.510 align:start position:0%
 
Finally,<00:00:44.000><c> once</c><00:00:44.239><c> it</c><00:00:44.399><c> was</c><00:00:44.559><c> built,</c><00:00:44.800><c> I</c><00:00:44.960><c> lured</c><00:00:45.280><c> in</c>

00:00:45.510 --> 00:00:45.520 align:start position:0%
Finally, once it was built, I lured in
 

00:00:45.520 --> 00:00:47.430 align:start position:0%
Finally, once it was built, I lured in
some<00:00:45.680><c> zombies,</c><00:00:46.480><c> got</c><00:00:46.719><c> them</c><00:00:46.879><c> inside</c><00:00:47.200><c> of</c><00:00:47.280><c> the</c>

00:00:47.430 --> 00:00:47.440 align:start position:0%
some zombies, got them inside of the
 

00:00:47.440 --> 00:00:50.869 align:start position:0%
some zombies, got them inside of the
farm,<00:00:48.079><c> and</c><00:00:48.239><c> I</c><00:00:48.480><c> was</c><00:00:48.559><c> ready</c><00:00:48.640><c> to</c><00:00:48.800><c> give</c><00:00:48.879><c> it</c><00:00:49.039><c> a</c><00:00:49.200><c> try.</c>

00:00:50.869 --> 00:00:50.879 align:start position:0%
farm, and I was ready to give it a try.
 

00:00:50.879 --> 00:00:52.470 align:start position:0%
farm, and I was ready to give it a try.
And<00:00:51.039><c> after</c><00:00:51.280><c> hitting</c><00:00:51.600><c> some</c><00:00:51.760><c> zombies</c><00:00:52.079><c> for</c><00:00:52.320><c> a</c>

00:00:52.470 --> 00:00:52.480 align:start position:0%
And after hitting some zombies for a
 

00:00:52.480 --> 00:00:57.990 align:start position:0%
And after hitting some zombies for a
while,<00:00:53.440><c> this</c><00:00:53.760><c> is</c><00:00:54.000><c> what</c><00:00:54.160><c> I</c><00:00:54.399><c> saw.</c>

00:00:57.990 --> 00:00:58.000 align:start position:0%
 
 

00:00:58.000 --> 00:00:59.670 align:start position:0%
 
Now,<00:00:58.399><c> if</c><00:00:58.559><c> you're</c><00:00:58.719><c> like</c><00:00:58.960><c> me,</c><00:00:59.199><c> you</c><00:00:59.359><c> may</c><00:00:59.520><c> have</c>

00:00:59.670 --> 00:00:59.680 align:start position:0%
Now, if you're like me, you may have
 

00:00:59.680 --> 00:01:01.110 align:start position:0%
Now, if you're like me, you may have
noticed<00:00:59.920><c> the</c><00:01:00.079><c> weird</c><00:01:00.320><c> plus</c><00:01:00.559><c> shape</c><00:01:00.800><c> that</c><00:01:00.960><c> these</c>

00:01:01.110 --> 00:01:01.120 align:start position:0%
noticed the weird plus shape that these
 

00:01:01.120 --> 00:01:02.549 align:start position:0%
noticed the weird plus shape that these
zombies<00:01:01.440><c> are</c><00:01:01.600><c> spawning</c><00:01:01.840><c> in,</c><00:01:02.079><c> and</c><00:01:02.239><c> I</c><00:01:02.399><c> was</c>

00:01:02.549 --> 00:01:02.559 align:start position:0%
zombies are spawning in, and I was
 

00:01:02.559 --> 00:01:04.229 align:start position:0%
zombies are spawning in, and I was
curious<00:01:02.879><c> about</c><00:01:03.039><c> that.</c><00:01:03.440><c> So,</c><00:01:03.680><c> I</c><00:01:03.840><c> decided</c><00:01:04.080><c> to</c>

00:01:04.229 --> 00:01:04.239 align:start position:0%
curious about that. So, I decided to
 

00:01:04.239 --> 00:01:05.429 align:start position:0%
curious about that. So, I decided to
take<00:01:04.320><c> a</c><00:01:04.479><c> look</c><00:01:04.559><c> at</c><00:01:04.640><c> the</c><00:01:04.799><c> Minecraft</c><00:01:05.119><c> source</c>

00:01:05.429 --> 00:01:05.439 align:start position:0%
take a look at the Minecraft source
 

00:01:05.439 --> 00:01:07.750 align:start position:0%
take a look at the Minecraft source
code.<00:01:06.080><c> What</c><00:01:06.240><c> I</c><00:01:06.479><c> found</c><00:01:06.720><c> kind</c><00:01:06.960><c> of</c><00:01:07.119><c> surprised</c><00:01:07.520><c> me,</c>

00:01:07.750 --> 00:01:07.760 align:start position:0%
code. What I found kind of surprised me,
 

00:01:07.760 --> 00:01:09.670 align:start position:0%
code. What I found kind of surprised me,
and<00:01:07.920><c> it's</c><00:01:08.159><c> why</c><00:01:08.320><c> I</c><00:01:08.479><c> made</c><00:01:08.640><c> this</c><00:01:08.880><c> video.</c><00:01:09.520><c> Why</c>

00:01:09.670 --> 00:01:09.680 align:start position:0%
and it's why I made this video. Why
 

00:01:09.680 --> 00:01:14.630 align:start position:0%
and it's why I made this video. Why
don't<00:01:09.760><c> we</c><00:01:09.920><c> take</c><00:01:10.080><c> a</c><00:01:10.240><c> look?</c>

00:01:14.630 --> 00:01:14.640 align:start position:0%
 
 

00:01:14.640 --> 00:01:15.910 align:start position:0%
 
What<00:01:14.799><c> we're</c><00:01:15.040><c> looking</c><00:01:15.200><c> at</c><00:01:15.360><c> here</c><00:01:15.439><c> is</c><00:01:15.600><c> the</c><00:01:15.840><c> code</c>

00:01:15.910 --> 00:01:15.920 align:start position:0%
What we're looking at here is the code
 

00:01:15.920 --> 00:01:17.350 align:start position:0%
What we're looking at here is the code
for<00:01:16.080><c> the</c><00:01:16.240><c> Minecraft</c><00:01:16.640><c> zombie,</c><00:01:17.119><c> and</c>

00:01:17.350 --> 00:01:17.360 align:start position:0%
for the Minecraft zombie, and
 

00:01:17.360 --> 00:01:19.590 align:start position:0%
for the Minecraft zombie, and
specifically<00:01:18.000><c> its</c><00:01:18.320><c> hurt</c><00:01:18.560><c> method.</c><00:01:19.200><c> Note,</c><00:01:19.439><c> it</c>

00:01:19.590 --> 00:01:19.600 align:start position:0%
specifically its hurt method. Note, it
 

00:01:19.600 --> 00:01:25.429 align:start position:0%
specifically its hurt method. Note, it
takes<00:01:19.759><c> in</c><00:01:20.000><c> a</c><00:01:20.240><c> damager</c><00:01:20.799><c> and</c><00:01:21.040><c> damage</c><00:01:21.520><c> input.</c>

00:01:25.429 --> 00:01:25.439 align:start position:0%
 
 

00:01:25.439 --> 00:01:27.429 align:start position:0%
 
Zombie<00:01:25.840><c> reinforcements</c><00:01:26.479><c> can</c><00:01:26.720><c> only</c><00:01:26.960><c> spawn</c><00:01:27.200><c> if</c>

00:01:27.429 --> 00:01:27.439 align:start position:0%
Zombie reinforcements can only spawn if
 

00:01:27.439 --> 00:01:29.510 align:start position:0%
Zombie reinforcements can only spawn if
the<00:01:27.600><c> Minecraft</c><00:01:28.000><c> difficulty</c><00:01:28.479><c> is</c><00:01:28.640><c> on</c><00:01:28.880><c> hard,</c><00:01:29.360><c> as</c>

00:01:29.510 --> 00:01:29.520 align:start position:0%
the Minecraft difficulty is on hard, as
 

00:01:29.520 --> 00:01:32.230 align:start position:0%
the Minecraft difficulty is on hard, as
we<00:01:29.680><c> can</c><00:01:29.840><c> see</c><00:01:29.920><c> by</c><00:01:30.080><c> this</c><00:01:30.320><c> first</c><00:01:30.479><c> if</c><00:01:30.799><c> statement.</c>

00:01:32.230 --> 00:01:32.240 align:start position:0%
we can see by this first if statement.
 

00:01:32.240 --> 00:01:34.149 align:start position:0%
we can see by this first if statement.
Next,<00:01:32.720><c> the</c><00:01:32.960><c> game</c><00:01:33.119><c> creates</c><00:01:33.439><c> a</c><00:01:33.600><c> random</c><00:01:33.920><c> value</c>

00:01:34.149 --> 00:01:34.159 align:start position:0%
Next, the game creates a random value
 

00:01:34.159 --> 00:01:36.149 align:start position:0%
Next, the game creates a random value
and<00:01:34.479><c> compares</c><00:01:34.720><c> it</c><00:01:34.880><c> to</c><00:01:35.040><c> that</c><00:01:35.280><c> zombies</c><00:01:35.759><c> spawn</c>

00:01:36.149 --> 00:01:36.159 align:start position:0%
and compares it to that zombies spawn
 

00:01:36.159 --> 00:01:37.910 align:start position:0%
and compares it to that zombies spawn
reinforcement<00:01:36.799><c> chance</c><00:01:37.119><c> attribute.</c><00:01:37.680><c> This</c><00:01:37.840><c> is</c>

00:01:37.910 --> 00:01:37.920 align:start position:0%
reinforcement chance attribute. This is
 

00:01:37.920 --> 00:01:39.510 align:start position:0%
reinforcement chance attribute. This is
a<00:01:38.079><c> value</c><00:01:38.320><c> given</c><00:01:38.560><c> to</c><00:01:38.640><c> the</c><00:01:38.799><c> zombie</c><00:01:39.119><c> when</c><00:01:39.360><c> it</c>

00:01:39.510 --> 00:01:39.520 align:start position:0%
a value given to the zombie when it
 

00:01:39.520 --> 00:01:42.149 align:start position:0%
a value given to the zombie when it
spawns.<00:01:40.479><c> This</c><00:01:40.720><c> ranges</c><00:01:41.040><c> from</c><00:01:41.200><c> 0</c><00:01:41.439><c> to</c><00:01:41.600><c> 10%</c><00:01:42.000><c> for</c>

00:01:42.149 --> 00:01:42.159 align:start position:0%
spawns. This ranges from 0 to 10% for
 

00:01:42.159 --> 00:01:44.149 align:start position:0%
spawns. This ranges from 0 to 10% for
most<00:01:42.400><c> zombies,</c><00:01:42.720><c> but</c><00:01:42.880><c> can</c><00:01:43.040><c> go</c><00:01:43.119><c> up</c><00:01:43.200><c> to</c><00:01:43.360><c> 85%</c><00:01:44.000><c> for</c>

00:01:44.149 --> 00:01:44.159 align:start position:0%
most zombies, but can go up to 85% for
 

00:01:44.159 --> 00:01:46.389 align:start position:0%
most zombies, but can go up to 85% for
zombie<00:01:44.479><c> leaders.</c><00:01:45.280><c> Finally,</c><00:01:45.840><c> it</c><00:01:46.000><c> checks</c><00:01:46.240><c> if</c>

00:01:46.389 --> 00:01:46.399 align:start position:0%
zombie leaders. Finally, it checks if
 

00:01:46.399 --> 00:01:48.710 align:start position:0%
zombie leaders. Finally, it checks if
mob<00:01:46.720><c> spawning</c><00:01:47.040><c> is</c><00:01:47.200><c> enabled.</c><00:01:47.920><c> If</c><00:01:48.159><c> all</c><00:01:48.399><c> three</c><00:01:48.560><c> of</c>

00:01:48.710 --> 00:01:48.720 align:start position:0%
mob spawning is enabled. If all three of
 

00:01:48.720 --> 00:01:50.389 align:start position:0%
mob spawning is enabled. If all three of
these<00:01:48.880><c> things</c><00:01:49.200><c> pass,</c><00:01:49.680><c> then</c><00:01:49.840><c> we</c><00:01:50.000><c> will</c><00:01:50.159><c> try</c><00:01:50.240><c> to</c>

00:01:50.389 --> 00:01:50.399 align:start position:0%
these things pass, then we will try to
 

00:01:50.399 --> 00:01:52.870 align:start position:0%
these things pass, then we will try to
spawn<00:01:50.640><c> reinforcements.</c>

00:01:52.870 --> 00:01:52.880 align:start position:0%
spawn reinforcements.
 

00:01:52.880 --> 00:01:54.310 align:start position:0%
spawn reinforcements.
Now,<00:01:53.119><c> let's</c><00:01:53.360><c> step</c><00:01:53.520><c> inside</c><00:01:53.759><c> of</c><00:01:53.840><c> this</c><00:01:54.000><c> if</c>

00:01:54.310 --> 00:01:54.320 align:start position:0%
Now, let's step inside of this if
 

00:01:54.320 --> 00:01:56.220 align:start position:0%
Now, let's step inside of this if
statement.

00:01:56.220 --> 00:01:56.230 align:start position:0%
statement.
 

00:01:56.230 --> 00:01:57.830 align:start position:0%
statement.
[Music]

00:01:57.830 --> 00:01:57.840 align:start position:0%
[Music]
 

00:01:57.840 --> 00:01:59.350 align:start position:0%
[Music]
This<00:01:58.000><c> for</c><00:01:58.320><c> loop</c><00:01:58.560><c> is</c><00:01:58.719><c> going</c><00:01:58.799><c> to</c><00:01:58.880><c> make</c><00:01:59.119><c> 50</c>

00:01:59.350 --> 00:01:59.360 align:start position:0%
This for loop is going to make 50
 

00:01:59.360 --> 00:02:01.030 align:start position:0%
This for loop is going to make 50
attempts<00:01:59.759><c> to</c><00:01:59.920><c> spawn</c><00:02:00.159><c> our</c><00:02:00.399><c> zombie.</c><00:02:00.799><c> Now,</c>

00:02:01.030 --> 00:02:01.040 align:start position:0%
attempts to spawn our zombie. Now,
 

00:02:01.040 --> 00:02:02.149 align:start position:0%
attempts to spawn our zombie. Now,
here's<00:02:01.280><c> where</c><00:02:01.439><c> things</c><00:02:01.600><c> get</c><00:02:01.759><c> a</c><00:02:01.920><c> little</c><00:02:02.000><c> bit</c>

00:02:02.149 --> 00:02:02.159 align:start position:0%
here's where things get a little bit
 

00:02:02.159 --> 00:02:04.069 align:start position:0%
here's where things get a little bit
weird.<00:02:02.640><c> We'd</c><00:02:02.960><c> expect</c><00:02:03.200><c> the</c><00:02:03.360><c> zombies</c><00:02:03.759><c> to</c><00:02:03.840><c> spawn</c>

00:02:04.069 --> 00:02:04.079 align:start position:0%
weird. We'd expect the zombies to spawn
 

00:02:04.079 --> 00:02:05.749 align:start position:0%
weird. We'd expect the zombies to spawn
in<00:02:04.240><c> a</c><00:02:04.399><c> more</c><00:02:04.479><c> or</c><00:02:04.640><c> less</c><00:02:04.880><c> random</c><00:02:05.280><c> distribution</c>

00:02:05.749 --> 00:02:05.759 align:start position:0%
in a more or less random distribution
 

00:02:05.759 --> 00:02:07.910 align:start position:0%
in a more or less random distribution
like<00:02:05.920><c> shown</c><00:02:06.159><c> above.</c><00:02:06.719><c> However,</c><00:02:07.280><c> this</c><00:02:07.520><c> is</c><00:02:07.759><c> not</c>

00:02:07.910 --> 00:02:07.920 align:start position:0%
like shown above. However, this is not
 

00:02:07.920 --> 00:02:09.589 align:start position:0%
like shown above. However, this is not
what<00:02:08.160><c> we</c><00:02:08.399><c> see.</c><00:02:08.800><c> Let's</c><00:02:09.039><c> take</c><00:02:09.119><c> a</c><00:02:09.280><c> look</c><00:02:09.360><c> at</c><00:02:09.440><c> the</c>

00:02:09.589 --> 00:02:09.599 align:start position:0%
what we see. Let's take a look at the
 

00:02:09.599 --> 00:02:11.430 align:start position:0%
what we see. Let's take a look at the
farm<00:02:09.920><c> again.</c>

00:02:11.430 --> 00:02:11.440 align:start position:0%
farm again.
 

00:02:11.440 --> 00:02:13.190 align:start position:0%
farm again.
The<00:02:11.680><c> zombies</c><00:02:12.000><c> are</c><00:02:12.160><c> spawning</c><00:02:12.480><c> along</c><00:02:12.720><c> the</c><00:02:12.879><c> major</c>

00:02:13.190 --> 00:02:13.200 align:start position:0%
The zombies are spawning along the major
 

00:02:13.200 --> 00:02:15.670 align:start position:0%
The zombies are spawning along the major
axes<00:02:13.680><c> around</c><00:02:14.160><c> the</c><00:02:14.400><c> original</c><00:02:14.800><c> zombie.</c><00:02:15.520><c> And</c>

00:02:15.670 --> 00:02:15.680 align:start position:0%
axes around the original zombie. And
 

00:02:15.680 --> 00:02:17.589 align:start position:0%
axes around the original zombie. And
this<00:02:15.840><c> is</c><00:02:16.080><c> because</c><00:02:16.480><c> Mojang</c><00:02:17.040><c> is</c><00:02:17.200><c> a</c><00:02:17.360><c> little</c><00:02:17.440><c> bit</c>

00:02:17.589 --> 00:02:17.599 align:start position:0%
this is because Mojang is a little bit
 

00:02:17.599 --> 00:02:19.990 align:start position:0%
this is because Mojang is a little bit
lazy<00:02:17.920><c> with</c><00:02:18.080><c> their</c><00:02:18.319><c> code.</c><00:02:19.120><c> Here's</c><00:02:19.599><c> the</c><00:02:19.760><c> code</c>

00:02:19.990 --> 00:02:20.000 align:start position:0%
lazy with their code. Here's the code
 

00:02:20.000 --> 00:02:21.589 align:start position:0%
lazy with their code. Here's the code
used<00:02:20.160><c> to</c><00:02:20.319><c> generate</c><00:02:20.640><c> the</c><00:02:20.800><c> x,</c><00:02:21.040><c> y,</c><00:02:21.200><c> and</c><00:02:21.440><c> z</c>

00:02:21.589 --> 00:02:21.599 align:start position:0%
used to generate the x, y, and z
 

00:02:21.599 --> 00:02:23.670 align:start position:0%
used to generate the x, y, and z
coordinate<00:02:22.000><c> for</c><00:02:22.080><c> the</c><00:02:22.239><c> zombie.</c><00:02:23.120><c> It</c><00:02:23.360><c> generates</c>

00:02:23.670 --> 00:02:23.680 align:start position:0%
coordinate for the zombie. It generates
 

00:02:23.680 --> 00:02:25.670 align:start position:0%
coordinate for the zombie. It generates
a<00:02:23.840><c> random</c><00:02:24.080><c> integer</c><00:02:24.480><c> from</c><00:02:24.720><c> 7</c><00:02:24.879><c> to</c><00:02:25.120><c> 40</c><00:02:25.360><c> and</c><00:02:25.520><c> then</c>

00:02:25.670 --> 00:02:25.680 align:start position:0%
a random integer from 7 to 40 and then
 

00:02:25.680 --> 00:02:27.589 align:start position:0%
a random integer from 7 to 40 and then
multiplies<00:02:26.160><c> that</c><00:02:26.319><c> by</c><00:02:26.480><c> a</c><00:02:26.640><c> random</c><00:02:26.879><c> integer</c><00:02:27.280><c> from</c>

00:02:27.589 --> 00:02:27.599 align:start position:0%
multiplies that by a random integer from
 

00:02:27.599 --> 00:02:30.229 align:start position:0%
multiplies that by a random integer from
-1<00:02:28.000><c> to</c><00:02:28.239><c> 1.</c><00:02:28.879><c> This</c><00:02:29.120><c> gives</c><00:02:29.280><c> us</c><00:02:29.520><c> three</c><00:02:29.760><c> regions.</c>

00:02:30.229 --> 00:02:30.239 align:start position:0%
-1 to 1. This gives us three regions.
 

00:02:30.239 --> 00:02:31.750 align:start position:0%
-1 to 1. This gives us three regions.
The<00:02:30.480><c> region</c><00:02:30.640><c> of</c><00:02:30.800><c> negative</c><00:02:31.200><c> numbers,</c><00:02:31.599><c> the</c>

00:02:31.750 --> 00:02:31.760 align:start position:0%
The region of negative numbers, the
 

00:02:31.760 --> 00:02:33.190 align:start position:0%
The region of negative numbers, the
region<00:02:32.000><c> that's</c><00:02:32.239><c> all</c><00:02:32.400><c> zeros,</c><00:02:32.800><c> and</c><00:02:32.879><c> the</c><00:02:33.040><c> region</c>

00:02:33.190 --> 00:02:33.200 align:start position:0%
region that's all zeros, and the region
 

00:02:33.200 --> 00:02:35.270 align:start position:0%
region that's all zeros, and the region
of<00:02:33.360><c> positive</c><00:02:33.760><c> numbers.</c><00:02:34.239><c> Since</c><00:02:34.560><c> negative</c><00:02:34.879><c> 1,</c>

00:02:35.270 --> 00:02:35.280 align:start position:0%
of positive numbers. Since negative 1,
 

00:02:35.280 --> 00:02:37.270 align:start position:0%
of positive numbers. Since negative 1,
0,<00:02:35.599><c> and</c><00:02:35.760><c> 1</c><00:02:36.080><c> are</c><00:02:36.239><c> all</c><00:02:36.400><c> equally</c><00:02:36.720><c> likely</c><00:02:36.959><c> to</c><00:02:37.120><c> be</c>

00:02:37.270 --> 00:02:37.280 align:start position:0%
0, and 1 are all equally likely to be
 

00:02:37.280 --> 00:02:39.190 align:start position:0%
0, and 1 are all equally likely to be
chosen.<00:02:37.680><c> Each</c><00:02:37.920><c> of</c><00:02:38.000><c> these</c><00:02:38.239><c> regions</c><00:02:38.480><c> has</c><00:02:38.640><c> a</c><00:02:38.800><c> 1</c><00:02:38.959><c> in</c>

00:02:39.190 --> 00:02:39.200 align:start position:0%
chosen. Each of these regions has a 1 in
 

00:02:39.200 --> 00:02:41.110 align:start position:0%
chosen. Each of these regions has a 1 in
three<00:02:39.360><c> chance</c><00:02:39.519><c> of</c><00:02:39.760><c> being</c><00:02:39.920><c> selected.</c><00:02:40.720><c> On</c><00:02:40.879><c> a</c>

00:02:41.110 --> 00:02:41.120 align:start position:0%
three chance of being selected. On a
 

00:02:41.120 --> 00:02:44.229 align:start position:0%
three chance of being selected. On a
number<00:02:41.280><c> line,</c><00:02:41.599><c> this</c><00:02:41.760><c> looks</c><00:02:41.920><c> like</c><00:02:42.080><c> this.</c>

00:02:44.229 --> 00:02:44.239 align:start position:0%
number line, this looks like this.
 

00:02:44.239 --> 00:02:45.990 align:start position:0%
number line, this looks like this.
But<00:02:44.400><c> that's</c><00:02:44.640><c> just</c><00:02:44.800><c> for</c><00:02:44.959><c> one</c><00:02:45.200><c> number.</c><00:02:45.680><c> We</c><00:02:45.920><c> can</c>

00:02:45.990 --> 00:02:46.000 align:start position:0%
But that's just for one number. We can
 

00:02:46.000 --> 00:02:48.150 align:start position:0%
But that's just for one number. We can
expand<00:02:46.480><c> this</c><00:02:46.640><c> into</c><00:02:46.879><c> two</c><00:02:47.040><c> dimensions,</c><00:02:47.599><c> X</c><00:02:47.920><c> and</c>

00:02:48.150 --> 00:02:48.160 align:start position:0%
expand this into two dimensions, X and
 

00:02:48.160 --> 00:02:50.790 align:start position:0%
expand this into two dimensions, X and
Y.<00:02:49.280><c> Now,</c><00:02:49.519><c> instead</c><00:02:49.840><c> of</c><00:02:49.920><c> a</c><00:02:50.080><c> number</c><00:02:50.319><c> line,</c><00:02:50.560><c> we're</c>

00:02:50.790 --> 00:02:50.800 align:start position:0%
Y. Now, instead of a number line, we're
 

00:02:50.800 --> 00:02:52.470 align:start position:0%
Y. Now, instead of a number line, we're
left<00:02:50.959><c> with</c><00:02:51.040><c> a</c><00:02:51.200><c> plane</c><00:02:51.599><c> that</c><00:02:51.840><c> has</c><00:02:52.000><c> some</c><00:02:52.160><c> ranges</c>

00:02:52.470 --> 00:02:52.480 align:start position:0%
left with a plane that has some ranges
 

00:02:52.480 --> 00:02:54.470 align:start position:0%
left with a plane that has some ranges
of<00:02:52.720><c> possible</c><00:02:53.040><c> values.</c><00:02:53.760><c> Just</c><00:02:53.920><c> like</c><00:02:54.080><c> the</c><00:02:54.239><c> number</c>

00:02:54.470 --> 00:02:54.480 align:start position:0%
of possible values. Just like the number
 

00:02:54.480 --> 00:02:56.070 align:start position:0%
of possible values. Just like the number
line<00:02:54.720><c> had</c><00:02:54.879><c> regions</c><00:02:55.200><c> determined</c><00:02:55.599><c> by</c><00:02:55.760><c> whether</c>

00:02:56.070 --> 00:02:56.080 align:start position:0%
line had regions determined by whether
 

00:02:56.080 --> 00:02:58.630 align:start position:0%
line had regions determined by whether
it<00:02:56.160><c> was</c><00:02:56.560><c> 1,</c><00:02:56.879><c> 0,</c><00:02:57.120><c> or</c><00:02:57.280><c> 1,</c><00:02:57.599><c> the</c><00:02:57.760><c> 2D</c><00:02:58.160><c> version</c><00:02:58.400><c> does</c>

00:02:58.630 --> 00:02:58.640 align:start position:0%
it was 1, 0, or 1, the 2D version does
 

00:02:58.640 --> 00:03:00.309 align:start position:0%
it was 1, 0, or 1, the 2D version does
as<00:02:58.800><c> well.</c><00:02:59.280><c> Under</c><00:02:59.519><c> the</c><00:02:59.680><c> same</c><00:02:59.840><c> principle</c><00:03:00.160><c> I</c>

00:03:00.309 --> 00:03:00.319 align:start position:0%
as well. Under the same principle I
 

00:03:00.319 --> 00:03:01.670 align:start position:0%
as well. Under the same principle I
mentioned<00:03:00.560><c> earlier,</c><00:03:00.959><c> all</c><00:03:01.120><c> of</c><00:03:01.200><c> these</c><00:03:01.360><c> have</c><00:03:01.519><c> an</c>

00:03:01.670 --> 00:03:01.680 align:start position:0%
mentioned earlier, all of these have an
 

00:03:01.680 --> 00:03:03.750 align:start position:0%
mentioned earlier, all of these have an
even<00:03:01.920><c> chance</c><00:03:02.080><c> of</c><00:03:02.239><c> being</c><00:03:02.480><c> selected.</c><00:03:03.519><c> Looking</c>

00:03:03.750 --> 00:03:03.760 align:start position:0%
even chance of being selected. Looking
 

00:03:03.760 --> 00:03:05.509 align:start position:0%
even chance of being selected. Looking
back<00:03:03.920><c> at</c><00:03:04.080><c> the</c><00:03:04.239><c> farm</c><00:03:04.560><c> design,</c><00:03:04.959><c> we</c><00:03:05.120><c> can</c><00:03:05.280><c> actually</c>

00:03:05.509 --> 00:03:05.519 align:start position:0%
back at the farm design, we can actually
 

00:03:05.519 --> 00:03:07.270 align:start position:0%
back at the farm design, we can actually
overlay<00:03:05.920><c> this</c><00:03:06.080><c> plane</c><00:03:06.400><c> on</c><00:03:06.560><c> top</c><00:03:06.640><c> of</c><00:03:06.720><c> the</c><00:03:06.959><c> zombies</c>

00:03:07.270 --> 00:03:07.280 align:start position:0%
overlay this plane on top of the zombies
 

00:03:07.280 --> 00:03:09.270 align:start position:0%
overlay this plane on top of the zombies
spawning.<00:03:08.080><c> We</c><00:03:08.239><c> can</c><00:03:08.400><c> see</c><00:03:08.480><c> that</c><00:03:08.640><c> this</c><00:03:08.879><c> matches</c>

00:03:09.270 --> 00:03:09.280 align:start position:0%
spawning. We can see that this matches
 

00:03:09.280 --> 00:03:10.550 align:start position:0%
spawning. We can see that this matches
their<00:03:09.440><c> spawning</c><00:03:09.760><c> pattern</c><00:03:10.000><c> a</c><00:03:10.239><c> lot</c><00:03:10.319><c> more</c><00:03:10.400><c> than</c>

00:03:10.550 --> 00:03:10.560 align:start position:0%
their spawning pattern a lot more than
 

00:03:10.560 --> 00:03:13.110 align:start position:0%
their spawning pattern a lot more than
the<00:03:10.720><c> random</c><00:03:11.040><c> distribution</c><00:03:11.519><c> earlier</c><00:03:11.920><c> did.</c>

00:03:13.110 --> 00:03:13.120 align:start position:0%
the random distribution earlier did.
 

00:03:13.120 --> 00:03:15.110 align:start position:0%
the random distribution earlier did.
Now,<00:03:13.519><c> Minecraft</c><00:03:13.920><c> is</c><00:03:14.080><c> a</c><00:03:14.239><c> 3D</c><00:03:14.560><c> game,</c><00:03:14.800><c> so</c><00:03:14.959><c> the</c>

00:03:15.110 --> 00:03:15.120 align:start position:0%
Now, Minecraft is a 3D game, so the
 

00:03:15.120 --> 00:03:16.550 align:start position:0%
Now, Minecraft is a 3D game, so the
actual<00:03:15.360><c> spawning</c><00:03:15.760><c> zone</c><00:03:16.000><c> looks</c><00:03:16.159><c> more</c><00:03:16.400><c> like</c>

00:03:16.550 --> 00:03:16.560 align:start position:0%
actual spawning zone looks more like
 

00:03:16.560 --> 00:03:18.710 align:start position:0%
actual spawning zone looks more like
this.<00:03:16.959><c> 27</c><00:03:17.519><c> zones,</c><00:03:17.920><c> each</c><00:03:18.080><c> with</c><00:03:18.239><c> an</c><00:03:18.480><c> equal</c>

00:03:18.710 --> 00:03:18.720 align:start position:0%
this. 27 zones, each with an equal
 

00:03:18.720 --> 00:03:21.350 align:start position:0%
this. 27 zones, each with an equal
chance<00:03:18.959><c> of</c><00:03:19.200><c> spawning.</c>

00:03:21.350 --> 00:03:21.360 align:start position:0%
chance of spawning.
 

00:03:21.360 --> 00:03:23.030 align:start position:0%
chance of spawning.
Since<00:03:21.680><c> each</c><00:03:21.840><c> region</c><00:03:22.159><c> has</c><00:03:22.319><c> an</c><00:03:22.480><c> equal</c><00:03:22.720><c> chance</c><00:03:22.879><c> of</c>

00:03:23.030 --> 00:03:23.040 align:start position:0%
Since each region has an equal chance of
 

00:03:23.040 --> 00:03:24.309 align:start position:0%
Since each region has an equal chance of
spawning<00:03:23.280><c> a</c><00:03:23.519><c> zombie,</c><00:03:23.840><c> and</c><00:03:24.000><c> some</c><00:03:24.159><c> of</c><00:03:24.239><c> the</c>

00:03:24.309 --> 00:03:24.319 align:start position:0%
spawning a zombie, and some of the
 

00:03:24.319 --> 00:03:25.589 align:start position:0%
spawning a zombie, and some of the
regions<00:03:24.640><c> are</c><00:03:24.800><c> much</c><00:03:24.959><c> smaller,</c><00:03:25.360><c> we're</c>

00:03:25.589 --> 00:03:25.599 align:start position:0%
regions are much smaller, we're
 

00:03:25.599 --> 00:03:27.190 align:start position:0%
regions are much smaller, we're
naturally<00:03:26.000><c> going</c><00:03:26.080><c> to</c><00:03:26.159><c> see</c><00:03:26.319><c> more</c><00:03:26.640><c> zombies</c><00:03:26.959><c> in</c>

00:03:27.190 --> 00:03:27.200 align:start position:0%
naturally going to see more zombies in
 

00:03:27.200 --> 00:03:28.630 align:start position:0%
naturally going to see more zombies in
the<00:03:27.280><c> smaller</c><00:03:27.599><c> regions</c><00:03:28.080><c> just</c><00:03:28.239><c> because</c><00:03:28.400><c> we're</c>

00:03:28.630 --> 00:03:28.640 align:start position:0%
the smaller regions just because we're
 

00:03:28.640 --> 00:03:30.470 align:start position:0%
the smaller regions just because we're
getting<00:03:28.800><c> more</c><00:03:29.040><c> zombies</c><00:03:29.440><c> per</c><00:03:29.680><c> block.</c><00:03:30.239><c> Note</c>

00:03:30.470 --> 00:03:30.480 align:start position:0%
getting more zombies per block. Note
 

00:03:30.480 --> 00:03:31.830 align:start position:0%
getting more zombies per block. Note
that<00:03:30.640><c> the</c><00:03:30.799><c> region</c><00:03:31.040><c> at</c><00:03:31.200><c> the</c><00:03:31.360><c> very</c><00:03:31.599><c> center</c>

00:03:31.830 --> 00:03:31.840 align:start position:0%
that the region at the very center
 

00:03:31.840 --> 00:03:33.350 align:start position:0%
that the region at the very center
cannot<00:03:32.080><c> spawn</c><00:03:32.319><c> any</c><00:03:32.560><c> zombies</c><00:03:32.959><c> because</c><00:03:33.200><c> it's</c>

00:03:33.350 --> 00:03:33.360 align:start position:0%
cannot spawn any zombies because it's
 

00:03:33.360 --> 00:03:35.430 align:start position:0%
cannot spawn any zombies because it's
inside<00:03:33.680><c> of</c><00:03:33.840><c> the</c><00:03:34.000><c> original</c><00:03:34.319><c> zombie.</c><00:03:35.040><c> Now,</c><00:03:35.280><c> the</c>

00:03:35.430 --> 00:03:35.440 align:start position:0%
inside of the original zombie. Now, the
 

00:03:35.440 --> 00:03:37.030 align:start position:0%
inside of the original zombie. Now, the
natural<00:03:35.760><c> question</c><00:03:36.000><c> that</c><00:03:36.239><c> arises</c><00:03:36.640><c> from</c><00:03:36.799><c> this</c>

00:03:37.030 --> 00:03:37.040 align:start position:0%
natural question that arises from this
 

00:03:37.040 --> 00:03:39.990 align:start position:0%
natural question that arises from this
is<00:03:37.920><c> why?</c><00:03:38.400><c> Why</c><00:03:38.720><c> is</c><00:03:38.879><c> it</c><00:03:39.040><c> programmed</c><00:03:39.440><c> this</c><00:03:39.680><c> way?</c>

00:03:39.990 --> 00:03:40.000 align:start position:0%
is why? Why is it programmed this way?
 

00:03:40.000 --> 00:03:42.630 align:start position:0%
is why? Why is it programmed this way?
And<00:03:40.159><c> the</c><00:03:40.400><c> real</c><00:03:40.560><c> reason</c><00:03:40.799><c> is</c><00:03:41.120><c> that</c><00:03:41.360><c> it</c><00:03:41.680><c> just</c><00:03:42.000><c> was.</c>

00:03:42.630 --> 00:03:42.640 align:start position:0%
And the real reason is that it just was.
 

00:03:42.640 --> 00:03:44.550 align:start position:0%
And the real reason is that it just was.
The<00:03:42.879><c> programmer</c><00:03:43.280><c> made</c><00:03:43.519><c> it</c><00:03:43.599><c> this</c><00:03:43.840><c> way</c><00:03:44.000><c> and</c><00:03:44.319><c> it</c>

00:03:44.550 --> 00:03:44.560 align:start position:0%
The programmer made it this way and it
 

00:03:44.560 --> 00:03:48.550 align:start position:0%
The programmer made it this way and it
was<00:03:44.720><c> just</c><00:03:44.879><c> good</c><00:03:45.120><c> enough,</c><00:03:45.360><c> so</c><00:03:45.599><c> they</c><00:03:45.760><c> kept</c><00:03:46.000><c> it.</c>

00:03:48.550 --> 00:03:48.560 align:start position:0%
was just good enough, so they kept it.
 

00:03:48.560 --> 00:03:49.910 align:start position:0%
was just good enough, so they kept it.
If<00:03:48.720><c> I</c><00:03:48.879><c> were</c><00:03:49.040><c> to</c><00:03:49.120><c> implement</c><00:03:49.440><c> this</c><00:03:49.680><c> feature</c>

00:03:49.910 --> 00:03:49.920 align:start position:0%
If I were to implement this feature
 

00:03:49.920 --> 00:03:51.270 align:start position:0%
If I were to implement this feature
myself,<00:03:50.319><c> I</c><00:03:50.480><c> would</c><00:03:50.560><c> have</c><00:03:50.720><c> done</c><00:03:50.799><c> it</c><00:03:50.959><c> a</c><00:03:51.120><c> little</c>

00:03:51.270 --> 00:03:51.280 align:start position:0%
myself, I would have done it a little
 

00:03:51.280 --> 00:03:53.270 align:start position:0%
myself, I would have done it a little
differently.<00:03:52.159><c> Take</c><00:03:52.319><c> this</c><00:03:52.560><c> time</c><00:03:52.640><c> to</c><00:03:52.879><c> pause</c><00:03:53.040><c> the</c>

00:03:53.270 --> 00:03:53.280 align:start position:0%
differently. Take this time to pause the
 

00:03:53.280 --> 00:03:54.630 align:start position:0%
differently. Take this time to pause the
video<00:03:53.360><c> and</c><00:03:53.599><c> see</c><00:03:53.760><c> if</c><00:03:53.840><c> you</c><00:03:54.000><c> can</c><00:03:54.159><c> figure</c><00:03:54.319><c> out</c><00:03:54.400><c> the</c>

00:03:54.630 --> 00:03:54.640 align:start position:0%
video and see if you can figure out the
 

00:03:54.640 --> 00:03:56.630 align:start position:0%
video and see if you can figure out the
implementation<00:03:55.200><c> yourself</c><00:03:55.680><c> as</c><00:03:55.840><c> shown</c><00:03:56.080><c> above.</c>

00:03:56.630 --> 00:03:56.640 align:start position:0%
implementation yourself as shown above.
 

00:03:56.640 --> 00:04:10.149 align:start position:0%
implementation yourself as shown above.
The<00:03:56.879><c> best</c><00:03:57.040><c> solution</c><00:03:57.439><c> is</c><00:03:57.760><c> pretty</c><00:03:58.000><c> cool.</c>

00:04:10.149 --> 00:04:10.159 align:start position:0%
 
 

00:04:10.159 --> 00:04:12.789 align:start position:0%
 
First,<00:04:10.560><c> we</c><00:04:10.799><c> generate</c><00:04:11.200><c> three</c><00:04:11.439><c> random</c><00:04:11.840><c> values.</c>

00:04:12.789 --> 00:04:12.799 align:start position:0%
First, we generate three random values.
 

00:04:12.799 --> 00:04:15.429 align:start position:0%
First, we generate three random values.
Two<00:04:13.120><c> between</c><00:04:13.519><c> -40</c><00:04:14.080><c> and</c><00:04:14.239><c> 40</c><00:04:14.799><c> and</c><00:04:15.120><c> one</c><00:04:15.280><c> that</c>

00:04:15.429 --> 00:04:15.439 align:start position:0%
Two between -40 and 40 and one that
 

00:04:15.439 --> 00:04:18.390 align:start position:0%
Two between -40 and 40 and one that
avoids<00:04:15.840><c> the</c><00:04:16.000><c> range</c><00:04:16.400><c> -6</c><00:04:16.959><c> to</c><00:04:17.199><c> 6.</c><00:04:17.680><c> We</c><00:04:17.919><c> can</c><00:04:18.079><c> do</c><00:04:18.239><c> this</c>

00:04:18.390 --> 00:04:18.400 align:start position:0%
avoids the range -6 to 6. We can do this
 

00:04:18.400 --> 00:04:20.150 align:start position:0%
avoids the range -6 to 6. We can do this
by<00:04:18.639><c> choosing</c><00:04:18.880><c> a</c><00:04:19.040><c> random</c><00:04:19.359><c> number</c><00:04:19.600><c> between</c><00:04:19.919><c> 7</c>

00:04:20.150 --> 00:04:20.160 align:start position:0%
by choosing a random number between 7
 

00:04:20.160 --> 00:04:23.030 align:start position:0%
by choosing a random number between 7
and<00:04:20.400><c> 40</c><00:04:20.720><c> and</c><00:04:20.959><c> randomly</c><00:04:21.359><c> flipping</c><00:04:21.680><c> its</c><00:04:21.919><c> sign.</c>

00:04:23.030 --> 00:04:23.040 align:start position:0%
and 40 and randomly flipping its sign.
 

00:04:23.040 --> 00:04:24.790 align:start position:0%
and 40 and randomly flipping its sign.
Next,<00:04:23.360><c> we</c><00:04:23.520><c> just</c><00:04:23.759><c> assign</c><00:04:24.000><c> these</c><00:04:24.240><c> three</c><00:04:24.479><c> values</c>

00:04:24.790 --> 00:04:24.800 align:start position:0%
Next, we just assign these three values
 

00:04:24.800 --> 00:04:28.310 align:start position:0%
Next, we just assign these three values
to<00:04:24.960><c> x,</c><00:04:25.199><c> y,</c><00:04:25.360><c> and</c><00:04:25.520><c> z</c><00:04:25.840><c> randomly.</c>

00:04:28.310 --> 00:04:28.320 align:start position:0%
to x, y, and z randomly.
 

00:04:28.320 --> 00:04:29.909 align:start position:0%
to x, y, and z randomly.
Here's<00:04:28.720><c> an</c><00:04:28.880><c> example</c><00:04:29.120><c> of</c><00:04:29.360><c> some</c><00:04:29.520><c> code</c><00:04:29.680><c> that</c>

00:04:29.909 --> 00:04:29.919 align:start position:0%
Here's an example of some code that
 

00:04:29.919 --> 00:04:32.230 align:start position:0%
Here's an example of some code that
would<00:04:30.080><c> do</c><00:04:30.240><c> that.</c><00:04:31.199><c> We</c><00:04:31.440><c> can</c><00:04:31.520><c> assign</c><00:04:31.840><c> the</c><00:04:32.000><c> values</c>

00:04:32.230 --> 00:04:32.240 align:start position:0%
would do that. We can assign the values
 

00:04:32.240 --> 00:04:33.909 align:start position:0%
would do that. We can assign the values
using<00:04:32.479><c> a</c><00:04:32.639><c> variety</c><00:04:32.960><c> of</c><00:04:33.120><c> methods.</c><00:04:33.520><c> But</c><00:04:33.600><c> in</c><00:04:33.759><c> this</c>

00:04:33.909 --> 00:04:33.919 align:start position:0%
using a variety of methods. But in this
 

00:04:33.919 --> 00:04:37.270 align:start position:0%
using a variety of methods. But in this
case,<00:04:34.080><c> the</c><00:04:34.240><c> brute</c><00:04:34.479><c> force</c><00:04:34.800><c> method</c><00:04:35.040><c> is</c><00:04:35.280><c> fine.</c>

00:04:37.270 --> 00:04:37.280 align:start position:0%
case, the brute force method is fine.
 

00:04:37.280 --> 00:04:38.550 align:start position:0%
case, the brute force method is fine.
Choosing<00:04:37.600><c> these</c><00:04:37.840><c> values</c><00:04:38.080><c> in</c><00:04:38.240><c> this</c><00:04:38.400><c> way</c>

00:04:38.550 --> 00:04:38.560 align:start position:0%
Choosing these values in this way
 

00:04:38.560 --> 00:04:40.150 align:start position:0%
Choosing these values in this way
ensures<00:04:38.960><c> that</c><00:04:39.040><c> the</c><00:04:39.280><c> point</c><00:04:39.440><c> is</c><00:04:39.680><c> not</c><00:04:39.840><c> within</c>

00:04:40.150 --> 00:04:40.160 align:start position:0%
ensures that the point is not within
 

00:04:40.160 --> 00:04:41.909 align:start position:0%
ensures that the point is not within
seven<00:04:40.400><c> blocks,</c><00:04:40.720><c> but</c><00:04:40.960><c> is</c><00:04:41.120><c> less</c><00:04:41.360><c> than</c><00:04:41.600><c> 40</c>

00:04:41.909 --> 00:04:41.919 align:start position:0%
seven blocks, but is less than 40
 

00:04:41.919 --> 00:04:43.749 align:start position:0%
seven blocks, but is less than 40
blocks.<00:04:42.479><c> And</c><00:04:42.800><c> more</c><00:04:43.040><c> importantly,</c><00:04:43.440><c> it</c><00:04:43.600><c> means</c>

00:04:43.749 --> 00:04:43.759 align:start position:0%
blocks. And more importantly, it means
 

00:04:43.759 --> 00:04:45.350 align:start position:0%
blocks. And more importantly, it means
that<00:04:44.000><c> every</c><00:04:44.240><c> single</c><00:04:44.479><c> block</c><00:04:44.720><c> has</c><00:04:44.880><c> an</c><00:04:45.120><c> equal</c>

00:04:45.350 --> 00:04:45.360 align:start position:0%
that every single block has an equal
 

00:04:45.360 --> 00:04:47.670 align:start position:0%
that every single block has an equal
chance<00:04:45.600><c> of</c><00:04:45.759><c> being</c><00:04:45.919><c> chosen</c><00:04:46.240><c> as</c><00:04:46.400><c> a</c><00:04:46.560><c> spawn</c><00:04:46.800><c> zone.</c>

00:04:47.670 --> 00:04:47.680 align:start position:0%
chance of being chosen as a spawn zone.
 

00:04:47.680 --> 00:04:49.670 align:start position:0%
chance of being chosen as a spawn zone.
Now,<00:04:48.000><c> is</c><00:04:48.160><c> this</c><00:04:48.400><c> solution</c><00:04:48.800><c> objectively</c><00:04:49.440><c> more</c>

00:04:49.670 --> 00:04:49.680 align:start position:0%
Now, is this solution objectively more
 

00:04:49.680 --> 00:04:51.830 align:start position:0%
Now, is this solution objectively more
correct<00:04:50.000><c> than</c><00:04:50.160><c> Mojang's</c><00:04:50.720><c> solution?</c><00:04:51.360><c> Yes,</c><00:04:51.680><c> it</c>

00:04:51.830 --> 00:04:51.840 align:start position:0%
correct than Mojang's solution? Yes, it
 

00:04:51.840 --> 00:04:53.830 align:start position:0%
correct than Mojang's solution? Yes, it
leads<00:04:52.080><c> to</c><00:04:52.160><c> a</c><00:04:52.400><c> more</c><00:04:52.639><c> expected</c><00:04:53.040><c> and</c><00:04:53.280><c> intended</c>

00:04:53.830 --> 00:04:53.840 align:start position:0%
leads to a more expected and intended
 

00:04:53.840 --> 00:04:56.230 align:start position:0%
leads to a more expected and intended
result.<00:04:54.479><c> Now,</c><00:04:54.800><c> is</c><00:04:54.960><c> this</c><00:04:55.199><c> solution</c><00:04:55.840><c> better</c>

00:04:56.230 --> 00:04:56.240 align:start position:0%
result. Now, is this solution better
 

00:04:56.240 --> 00:04:58.469 align:start position:0%
result. Now, is this solution better
than<00:04:56.479><c> Mojang's</c><00:04:57.040><c> solution?</c><00:04:57.919><c> That</c><00:04:58.080><c> one's</c><00:04:58.320><c> not</c>

00:04:58.469 --> 00:04:58.479 align:start position:0%
than Mojang's solution? That one's not
 

00:04:58.479 --> 00:05:00.870 align:start position:0%
than Mojang's solution? That one's not
so<00:04:58.639><c> easy</c><00:04:58.880><c> to</c><00:04:59.040><c> answer.</c><00:04:59.759><c> See,</c><00:05:00.080><c> Mojang's</c><00:05:00.639><c> kind</c><00:05:00.800><c> of</c>

00:05:00.870 --> 00:05:00.880 align:start position:0%
so easy to answer. See, Mojang's kind of
 

00:05:00.880 --> 00:05:02.629 align:start position:0%
so easy to answer. See, Mojang's kind of
famous<00:05:01.120><c> for</c><00:05:01.360><c> poorly</c><00:05:01.759><c> programming</c><00:05:02.240><c> things</c><00:05:02.400><c> and</c>

00:05:02.629 --> 00:05:02.639 align:start position:0%
famous for poorly programming things and
 

00:05:02.639 --> 00:05:03.830 align:start position:0%
famous for poorly programming things and
then<00:05:02.880><c> later</c><00:05:03.199><c> getting</c><00:05:03.440><c> those</c><00:05:03.600><c> things</c>

00:05:03.830 --> 00:05:03.840 align:start position:0%
then later getting those things
 

00:05:03.840 --> 00:05:05.749 align:start position:0%
then later getting those things
rebranded<00:05:04.400><c> as</c><00:05:04.560><c> features</c><00:05:04.960><c> as</c><00:05:05.199><c> the</c><00:05:05.360><c> community</c>

00:05:05.749 --> 00:05:05.759 align:start position:0%
rebranded as features as the community
 

00:05:05.759 --> 00:05:07.749 align:start position:0%
rebranded as features as the community
finds<00:05:06.000><c> new</c><00:05:06.240><c> ways</c><00:05:06.400><c> to</c><00:05:06.560><c> use</c><00:05:06.720><c> them.</c><00:05:07.120><c> Take</c><00:05:07.360><c> Quasi</c>

00:05:07.749 --> 00:05:07.759 align:start position:0%
finds new ways to use them. Take Quasi
 

00:05:07.759 --> 00:05:09.830 align:start position:0%
finds new ways to use them. Take Quasi
connectivity<00:05:08.400><c> for</c><00:05:08.479><c> example.</c><00:05:09.120><c> It's</c><00:05:09.360><c> clearly</c><00:05:09.680><c> a</c>

00:05:09.830 --> 00:05:09.840 align:start position:0%
connectivity for example. It's clearly a
 

00:05:09.840 --> 00:05:12.150 align:start position:0%
connectivity for example. It's clearly a
bug.<00:05:10.240><c> It's</c><00:05:10.479><c> not</c><00:05:10.639><c> intended,</c><00:05:11.360><c> yet</c><00:05:11.680><c> it's</c><00:05:11.919><c> a</c>

00:05:12.150 --> 00:05:12.160 align:start position:0%
bug. It's not intended, yet it's a
 

00:05:12.160 --> 00:05:14.710 align:start position:0%
bug. It's not intended, yet it's a
staple<00:05:12.479><c> of</c><00:05:12.639><c> Java</c><00:05:13.039><c> Redstone.</c><00:05:13.919><c> Even</c><00:05:14.240><c> creepers,</c>

00:05:14.710 --> 00:05:14.720 align:start position:0%
staple of Java Redstone. Even creepers,
 

00:05:14.720 --> 00:05:16.469 align:start position:0%
staple of Java Redstone. Even creepers,
which<00:05:14.960><c> make</c><00:05:15.120><c> up</c><00:05:15.280><c> the</c><00:05:15.440><c> face</c><00:05:15.680><c> for</c><00:05:15.919><c> Minecraft's</c>

00:05:16.469 --> 00:05:16.479 align:start position:0%
which make up the face for Minecraft's
 

00:05:16.479 --> 00:05:19.029 align:start position:0%
which make up the face for Minecraft's
brand,<00:05:16.880><c> were</c><00:05:17.120><c> an</c><00:05:17.280><c> accident.</c><00:05:18.320><c> And</c><00:05:18.720><c> yeah,</c>

00:05:19.029 --> 00:05:19.039 align:start position:0%
brand, were an accident. And yeah,
 

00:05:19.039 --> 00:05:20.790 align:start position:0%
brand, were an accident. And yeah,
Mojang<00:05:19.600><c> could</c><00:05:19.840><c> probably</c><00:05:20.080><c> write</c><00:05:20.400><c> cleaner</c>

00:05:20.790 --> 00:05:20.800 align:start position:0%
Mojang could probably write cleaner
 

00:05:20.800 --> 00:05:23.510 align:start position:0%
Mojang could probably write cleaner
code,<00:05:21.360><c> but</c><00:05:21.919><c> honestly,</c><00:05:22.639><c> I</c><00:05:22.880><c> kind</c><00:05:23.039><c> of</c><00:05:23.120><c> love</c><00:05:23.360><c> that</c>

00:05:23.510 --> 00:05:23.520 align:start position:0%
code, but honestly, I kind of love that
 

00:05:23.520 --> 00:05:25.510 align:start position:0%
code, but honestly, I kind of love that
they<00:05:23.759><c> don't.</c><00:05:24.240><c> It's</c><00:05:24.479><c> these</c><00:05:24.800><c> little</c><00:05:24.960><c> quirks,</c>

00:05:25.510 --> 00:05:25.520 align:start position:0%
they don't. It's these little quirks,
 

00:05:25.520 --> 00:05:27.430 align:start position:0%
they don't. It's these little quirks,
things<00:05:25.759><c> like</c><00:05:25.919><c> TNT</c><00:05:26.479><c> duping,</c><00:05:26.960><c> quasi</c>

00:05:27.430 --> 00:05:27.440 align:start position:0%
things like TNT duping, quasi
 

00:05:27.440 --> 00:05:29.749 align:start position:0%
things like TNT duping, quasi
connectivity,<00:05:28.160><c> entity</c><00:05:28.720><c> separation</c><00:05:29.440><c> that</c>

00:05:29.749 --> 00:05:29.759 align:start position:0%
connectivity, entity separation that
 

00:05:29.759 --> 00:05:31.590 align:start position:0%
connectivity, entity separation that
make<00:05:29.919><c> a</c><00:05:30.160><c> lot</c><00:05:30.240><c> of</c><00:05:30.400><c> technical</c><00:05:30.880><c> Minecraft</c>

00:05:31.590 --> 00:05:31.600 align:start position:0%
make a lot of technical Minecraft
 

00:05:31.600 --> 00:05:33.590 align:start position:0%
make a lot of technical Minecraft
possible.<00:05:32.320><c> Things</c><00:05:32.639><c> that</c><00:05:32.880><c> only</c><00:05:33.199><c> make</c><00:05:33.360><c> sense</c>

00:05:33.590 --> 00:05:33.600 align:start position:0%
possible. Things that only make sense
 

00:05:33.600 --> 00:05:34.950 align:start position:0%
possible. Things that only make sense
because<00:05:33.840><c> they've</c><00:05:34.160><c> been</c><00:05:34.240><c> broken</c><00:05:34.560><c> for</c><00:05:34.720><c> a</c>

00:05:34.950 --> 00:05:34.960 align:start position:0%
because they've been broken for a
 

00:05:34.960 --> 00:05:37.510 align:start position:0%
because they've been broken for a
decade.<00:05:35.840><c> At</c><00:05:36.080><c> this</c><00:05:36.240><c> point,</c><00:05:36.560><c> most</c><00:05:36.800><c> bugs</c><00:05:37.199><c> aren't</c>

00:05:37.510 --> 00:05:37.520 align:start position:0%
decade. At this point, most bugs aren't
 

00:05:37.520 --> 00:05:39.830 align:start position:0%
decade. At this point, most bugs aren't
unexpected<00:05:38.080><c> or</c><00:05:38.320><c> frustrating.</c><00:05:39.440><c> They're</c><00:05:39.680><c> just</c>

00:05:39.830 --> 00:05:39.840 align:start position:0%
unexpected or frustrating. They're just
 

00:05:39.840 --> 00:05:42.870 align:start position:0%
unexpected or frustrating. They're just
traditional.

00:05:42.870 --> 00:05:42.880 align:start position:0%
 
 

00:05:42.880 --> 00:05:44.629 align:start position:0%
 
If<00:05:43.120><c> you</c><00:05:43.280><c> like</c><00:05:43.440><c> videos</c><00:05:43.759><c> in</c><00:05:44.000><c> this</c><00:05:44.160><c> style</c><00:05:44.400><c> and</c>

00:05:44.629 --> 00:05:44.639 align:start position:0%
If you like videos in this style and
 

00:05:44.639 --> 00:05:46.230 align:start position:0%
If you like videos in this style and
want<00:05:44.800><c> to</c><00:05:44.960><c> see</c><00:05:45.039><c> more</c><00:05:45.280><c> like</c><00:05:45.440><c> it,</c><00:05:45.759><c> please</c><00:05:46.000><c> let</c><00:05:46.160><c> me</c>

00:05:46.230 --> 00:05:46.240 align:start position:0%
want to see more like it, please let me
 

00:05:46.240 --> 00:05:48.150 align:start position:0%
want to see more like it, please let me
know<00:05:46.320><c> in</c><00:05:46.560><c> the</c><00:05:46.720><c> comments.</c><00:05:47.440><c> Videos</c><00:05:47.840><c> like</c><00:05:48.000><c> this</c>

00:05:48.150 --> 00:05:48.160 align:start position:0%
know in the comments. Videos like this
 

00:05:48.160 --> 00:05:49.830 align:start position:0%
know in the comments. Videos like this
are<00:05:48.320><c> a</c><00:05:48.479><c> lot</c><00:05:48.560><c> of</c><00:05:48.720><c> work,</c><00:05:48.880><c> but</c><00:05:49.120><c> also</c><00:05:49.360><c> a</c><00:05:49.520><c> lot</c><00:05:49.600><c> of</c><00:05:49.759><c> fun</c>

00:05:49.830 --> 00:05:49.840 align:start position:0%
are a lot of work, but also a lot of fun
 

00:05:49.840 --> 00:05:53.870 align:start position:0%
are a lot of work, but also a lot of fun
to<00:05:50.080><c> make.</c><00:05:50.639><c> Thanks</c><00:05:50.960><c> for</c><00:05:51.120><c> watching.</c>

00:05:53.870 --> 00:05:53.880 align:start position:0%
to make. Thanks for watching.
 

00:05:53.880 --> 00:05:57.110 align:start position:0%
to make. Thanks for watching.
[Music]

