fix: enchantment table + frost walker (kinda)

fixes:
- treasure enchants being selectable within the enchantment table menu
- frost walker resemblance to decompiled legacy console edition
- enchantment table featuring hot-swappable abilities where the player could replace one tool with another whilst keeping the exact same potential enchantments in the enchant menu
This commit is contained in:
Fireblade committed 2026-07-18 22:03:54 -04:00
1 parent f5afc92cdd
commit 525b89484c
17 files changed
+144 -42

No files matched your search

+8
View File
@@ -390,6 +390,14 @@ float ServerPlayer::getHeadHeight()
return 1.62f;
}
void ServerPlayer::onChangedBlock(BlockPos pos)
{
if (true /*!isSpectator()*/) // we dont have true spectator mode yet
{
LivingEntity::onChangedBlock(pos);
}
}
void ServerPlayer::tick()
{
gameMode->tick();