Merge branch 'master' into 1.16

This commit is contained in:
gnembon committed 2020-07-21 05:07:22 -03:00
commit 359b89b46f
13 files changed
+295 -2

No files matched your search

@@ -538,6 +538,14 @@ public class CarpetEventServer
}, player::getCommandSource);
}
},
PLAYER_SWAPS_HANDS("player_swaps_hands", 1, false)
{
@Override
public void onPlayerEvent(ServerPlayerEntity player)
{
handler.call( () -> Collections.singletonList(((c, t) -> new EntityValue(player))), player::getCommandSource);
}
},
PLAYER_TAKES_DAMAGE("player_takes_damage", 4, false)
{
@Override