The Wayback Machine - https://web.archive.org/web/20210629025320/https://github.com/topics/minecraft
Skip to content
#

Minecraft

minecraft logo

Published by Mojang, Minecraft is a game that allows its players virtually unlimited creative and building authority in their 3D cube world.

Here are 12,354 public repositories matching this topic...

cksmith51
cksmith51 commented Jun 19, 2021

Expected behavior

I melee a TNT Minecart with a knockback 2 sword and expect my message listening on EntityKnockbackByEntityEvent to print out the EntityTypes of both #.getEntityType() and #.getHitBy().getEntityType(). (The event should trigger properly.)

Observed/Actual behavior

No message is printed out because hitting a TNT Minecart (or regular minecart) does not trigger EntityKnockb

gamerpaddy
gamerpaddy commented Oct 2, 2019

Is there a way to continue a task if it got aborted by baritone not the player, or after a player reconnects to the server?

Like, im tunneling with lots of picks in my inventory. sometimes, the server cant keep up and chunks stop loading.
once baritone runs into unloaded chunks, the task get cancelled.
also when my connection resets for some reason, i need to reconnect, after that, bariton

caelunshun
caelunshun commented Mar 2, 2021

Implement entity physics: gravity and collisions with blocks.

The basic algorithm for Minecraft entity physics is, each tick, to:

  1. Add velocity to position.
  2. For each axis (X/Y/Z) individually, check for collisions between the entity's bounding box and blocks. If there are any, clamp the entity's position to the edge of the block. There are some useful details on collision detection [here

Created by Markus Persson, Jens Bergensten

Released November 18, 2011

Website
minecraft.net/en-us
Wikipedia
Wikipedia