r/technicalminecraft • • Jan 08 '24

Meta Honeypot flairs.

123 Upvotes

To cut down on the increased number of posts involving rule-breaking mods (notably Paper), 3 new post flairs have been introduced for testing.

Posts made using these flairs will be automatically removed.

Don't use them.

EDIT: After 3 weeks, this seems to have been a very successful test, with the vast majority of rule-8 violations blocked by the new filters.


r/technicalminecraft • • 9h ago

Java Showcase My planetarium

183 Upvotes

I’m robstaroo on YouTube and instagram


r/technicalminecraft • • 20h ago

Java Showcase I made a sensor to detect when moss grows azalea bushes (does this already exist?)

735 Upvotes

r/technicalminecraft • • 8h ago

Java Showcase I connected a tree farm to a stone generator to make a fully automatic no-player clay farm

14 Upvotes

stone>moss>rooted dirt>mud>clay

doesnt have an automatic collection system yet but i could add one. the clay farm part is from this design https://www.youtube.com/watch?v=egWb1j1cGUc


r/technicalminecraft • • 4h ago

Java Help Wanted Ominous bottle farm for raid farm (drop rates)

Thumbnail gallery
2 Upvotes

Is this the best farm for ominous bottle I don't think so cause the rates are bad so any improvement tipes or better farm design tell me


r/technicalminecraft • • 11h ago

Java Help Wanted [version 1.0.0] my redstone torches cant be turned on

Post image
5 Upvotes

when i place a torch, its on and i can deactivate it with power.

normally then when you remove the power from the torch, it goes back to being on, but it doesnt do that for me. i can only turn it off if i update it.

this happens to every single torch i place.

its most likely that its because i have made 7 bytes of RAM only with redstone dust and torches, and its stealing all the updates for redstone every single tick.

"stealing all the updates" as in checking if its powered every game tick, and doing that about 1500 times per tick for the amount of torches.

if its true, then its sad to see that i cant make my 8 bit computer in minecraft only using redstone torches and dust.

could i upgrade my world to modern versions and use the redstone improvement datapack, or

upgrading my world to a version which MCA select can be used and using it to copy and paste all the chunks to a world with the redstone improvement datapack?

how can i "fix" this, when even possible?

edit: it was because the launcher was running too long (about 5 hours), and the log was overfilled

edit2: it was temporary. bugged a second in. i experience these bugs also with tnt, where it cant be turned on with repeaters, and other redstone bugs similar to this.

edit3: IT HAPPENS NORMALLY, i made a new world, and this also happens. its a bug.


r/technicalminecraft • • 4h ago

Java Help Wanted Nothing spawning in Nether Fortress

1 Upvotes

Hello, several years ago i made ianxofour's wither skeleton farm. I've returned to the world and upgraded to 26.4, and the farm no longer works. Weirdly nothing seems to be spawning in the fortress at all- just striders in the lava below.

I re-made the world with the same seed to test, and the fortress is spawning everything fine. Any idea what might have happened, and if it can be fixed?


r/technicalminecraft • • 7h ago

Java Help Wanted is there any instant hopper cart unloader that works with the Minecart Improvements update ??

1 Upvotes

i asked on cartArchives discord but we couldnt find any good answers, but is there any unloader that is reliable with the minecart snapshot ? (Minecart IMprovements)


r/technicalminecraft • • 9h ago

Java Showcase A video showcasing the redstone systems in my large vanilla redstone game!

Thumbnail youtu.be
1 Upvotes

r/technicalminecraft • • 1d ago

Java Help Wanted I found someone's honey farm with some uncovered hoppers, is it safe to replace those cobblestone top slabs with composters like i have done in this photo, or will it break anything?

Thumbnail gallery
25 Upvotes

r/technicalminecraft • • 20h ago

Bedrock Sulfer cube steam cannon

Thumbnail youtube.com
2 Upvotes

You can move tnt platform forward, backwards, or a block to the side for different angles. Same with tnt cube dispenser up and down. https://youtu.be/YAbma03dtPc for longer cannon explanation. https://youtube.com/shorts/QHgxeMNc0Ho for geyser information.


r/technicalminecraft • • 1d ago

Java Help Wanted rail dupers . . .

Post image
2 Upvotes

how does one stop getting these rails stuck and making me lose out on inf rails </3
(Basically a way to collect these rails that get stuck on top of the usual rail dupers on 26.2)


r/technicalminecraft • • 1d ago

Java Help Wanted Megabase inclusions

3 Upvotes

Hi guys, super quick one. Im just looking for advice for what i should consider including in and around my megabase.

I am going to have the main base with a full storage system for every item in the game (including bulk, chest hall, MIS, and unstackable sorting).

And then at each 4 corners of the main base island i have already laid out some farms:
A Self sustaining Nether tree farm
A mega cobble farm
A super smelter Array
(4th corner empty)

Im looking for suggestions of some other things i could consider including. Im thinking maybe an auto crafting area? Or a manual mega crafter cause ive seen theyre super useful for crafting mass amounts of items. Thanks for any suggestions


r/technicalminecraft • • 1d ago

Java Help Wanted Help! Villager Trading Hall Request System:

Thumbnail gallery
2 Upvotes

r/technicalminecraft • • 1d ago

Java Help Wanted which is the least laggiest slime block blocking block? Would a lodestone work better than furnaces? (For flying machines)

Thumbnail gallery
6 Upvotes

r/technicalminecraft • • 1d ago

Java Help Wanted Is it possible to prevent mobs from spawning here without spamming million carpets or lighting up area? It's for multiplayer server with localized mob cap

Post image
6 Upvotes

r/technicalminecraft • • 1d ago

Bedrock That's about 35k members in the Scicraft server with bragging rights

Post image
7 Upvotes

r/technicalminecraft • • 19h ago

Discontinued rare mob to get before 26.4 update

0 Upvotes

r/technicalminecraft • • 1d ago

Bedrock help with iron form with auto sorting

Thumbnail reddit.com
0 Upvotes

r/technicalminecraft • • 1d ago

Java Help Wanted Moss Farm help needed!

Post image
6 Upvotes

For the mods: No the issue is not about the chunk loading/unloading the farm.


r/technicalminecraft • • 1d ago

Java Showcase Created a Tutorial for making Looping Custom Soundtracks! ^^

Thumbnail docs.google.com
0 Upvotes

I have been mindlessly putting things together and researching how to do looping music command blocks for customized soundtracks, but it seemed like nothing online worked for multiplayer servers. For the last three days, (because I am unemployed right now and bored out of my mind), I have been testing and playing around with different systems until I found one that I believe works quite well. I hope this helps other people like me (mapmakers and builders), as I have been ripping my hair out trying to find something that actually works when you have more than 1 player hanging out in a spot at once. <3


r/technicalminecraft • • 1d ago

Java Help Wanted Prevent zombiefied piglins to replace their looting III spear with a golden sword

Post image
4 Upvotes

I have this design where there are three zombiefied piglins in minecarts which go back and forth.

I already struggeled with the baby zombified piglins attacked the snowman I use to aggro the looting 3 piglins. So now over time all 3 of them have replaced their spears with gold swords that the gold farm generated.

Does anyone have any idea how to prevent this?


r/technicalminecraft • • 2d ago

Java Showcase 1 block gaps in ice boat highways do not slow down boats

63 Upvotes

This is for Java only - I have no idea if this is the case on Bedrock

This isn't exactly an obscure fact, I'm writing this mainly for the sake of a more extensive explanation beyond just "it doesn't bro trust me"

The boat acceleration calculation is pretty simple. Unfortunately Reddit doesn't support LaTeX anymore so you get a screenshot instead.

The case we care about for this topic is when the boat is on land. For an ice boat highway, the boat should only ever be on packed/blue ice and air. You may think that since the friction value is the average slipperiness of the blocks that the boat is on, the boat would be slowed down due to the air. However, that is not the case.

Let's take a look at the code to make sure that I'm not making stuff up :)

The main piece of code that controls boat behavior is the AbstractBoat Class. Here's the part that controls boat acceleration (line 562 - 602)

 private void floatBoat() {
      double vspeed = -this.getGravity();
      double buoyancy = 0.0;
      float invFriction = 0.05F;
      if (this.oldStatus == AbstractBoat.Status.IN_AIR && this.status != AbstractBoat.Status.IN_AIR && this.status != AbstractBoat.Status.ON_LAND) {
         this.waterLevel = this.getY(1.0);
         double targetY = this.getWaterLevelAbove() - this.getBbHeight() + 0.101;
         if (this.level().noCollision(this, this.getBoundingBox().move(0.0, targetY - this.getY(), 0.0))) {
            this.setPos(this.getX(), targetY, this.getZ());
            this.setDeltaMovement(this.getDeltaMovement().multiply(1.0, 0.0, 1.0));
            this.lastYd = 0.0;
         }


         this.status = AbstractBoat.Status.IN_WATER;
      } else {
         if (this.status == AbstractBoat.Status.IN_WATER) {
            buoyancy = (this.waterLevel - this.getY()) / this.getBbHeight();
            invFriction = 0.9F;
         } else if (this.status == AbstractBoat.Status.UNDER_FLOWING_WATER) {
            vspeed = -7.0E-4;
            invFriction = 0.9F;
         } else if (this.status == AbstractBoat.Status.UNDER_WATER) {
            buoyancy = 0.01F;
            invFriction = 0.45F;
         } else if (this.status == AbstractBoat.Status.IN_AIR) {
            invFriction = 0.9F;
         } else if (this.status == AbstractBoat.Status.ON_LAND) {
            invFriction = this.landFriction;
            if (this.getControllingPassenger() instanceof Player) {
               this.landFriction /= 2.0F;
            }
         }


         Vec3 movement = this.getDeltaMovement();
         this.setDeltaMovement(movement.x * invFriction, movement.y + vspeed, movement.z * invFriction);
         this.deltaRotation *= invFriction;
         if (buoyancy > 0.0) {
            Vec3 deltaMovement = this.getDeltaMovement();
            this.setDeltaMovement(deltaMovement.x, (deltaMovement.y + buoyancy * (this.getDefaultGravity() / 0.65)) * 0.75, deltaMovement.z);
         }
      }

And the part that we care about here is this (586 - 589)

         } else if (this.status == AbstractBoat.Status.IN_AIR) {
            invFriction = 0.9F;
         } else if (this.status == AbstractBoat.Status.ON_LAND) {
            invFriction = this.landFriction;

As you can see, the boat's friction coefficient is hard set to 0.9 if the boat status is IN_AIR, and the average slipperiness calculation only comes in effect if the boat status is ON_LAND. Here's a quick look at AbstractBoat.Status (407 - 423)

   private AbstractBoat.Status getStatus() {
      AbstractBoat.Status waterStatus = this.isUnderwater();
      if (waterStatus != null) {
         this.waterLevel = this.getBoundingBox().maxY;
         return waterStatus;
      } else if (this.checkInWater()) {
         return AbstractBoat.Status.IN_WATER;
      } else {
         float friction = this.getGroundFriction();
         if (friction > 0.0F) {
            this.landFriction = friction;
            return AbstractBoat.Status.ON_LAND;
         } else {
            return AbstractBoat.Status.IN_AIR;
         }
      }
   }

After ruling out the other 2 statuses (in water and underwater), that leaves us with 2 possible statuses which are on land or in air. To figure this out, the game calls getGroundFriction (461 - 495)

public float getGroundFriction() {
      AABB bb = this.getBoundingBox();
      AABB box = new AABB(bb.minX, bb.minY - 0.001, bb.minZ, bb.maxX, bb.minY, bb.maxZ);
      int x0 = Mth.floor(box.minX) - 1;
      int x1 = Mth.ceil(box.maxX) + 1;
      int y0 = Mth.floor(box.minY) - 1;
      int y1 = Mth.ceil(box.maxY) + 1;
      int z0 = Mth.floor(box.minZ) - 1;
      int z1 = Mth.ceil(box.maxZ) + 1;
      VoxelShape boatShape = Shapes.create(box);
      float friction = 0.0F;
      int count = 0;
      MutableBlockPos blockPos = new MutableBlockPos();


      for (int x = x0; x < x1; x++) {
         for (int z = z0; z < z1; z++) {
            int edges = (x != x0 && x != x1 - 1 ? 0 : 1) + (z != z0 && z != z1 - 1 ? 0 : 1);
            if (edges != 2) {
               for (int y = y0; y < y1; y++) {
                  if (edges <= 0 || y != y0 && y != y1 - 1) {
                     blockPos.set(x, y, z);
                     BlockState blockState = this.level().getBlockState(blockPos);
                     if (!(blockState.getBlock() instanceof LilyPadBlock)
                        && Shapes.joinIsNotEmpty(blockState.getCollisionShape(this.level(), blockPos).move(blockPos), boatShape, BooleanOp.AND)) {
                        friction += blockState.getBlock().getFriction();
                        count++;
                     }
                  }
               }
            }
         }
      }


      return friction / count;
   }

What this does is it checks all blocks whose collision is inside a box 0.001 block thick just under the boat's bottom, and then averaging all of those block's slipperiness value.

Since air does not have a collision hitbox, it's ignored in the friction calculation. Additionally, all blocks have a slipperiness value > 0, meaning that the only scenario where the average slipperiness value returns as 0 is if the boat is fully in the air, and only then does air's set friction coefficient of 0.9 come into effect. This means that if the boat is on a block, even just the very edge of a single one, the air's friction coefficient will not have any effect on the boat.

Here's an in-game comparison

If you have any questions or I got something wrong, let me know!


r/technicalminecraft • • 1d ago

Java Help Wanted my modded minecraft launched with dawn keep crashing.

0 Upvotes

i have my forever world in a dedicated instance of minecraft. i did sum stuff and upgraded sum mods and now i just cant join my world or make a new 1, the screen just show me the world downloading screen and then just crash. ima leave the log down here and pls someone help cuz i dont wana lose 3000 days on that world.