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
2026-07-18 22:03:54 -04:00
parent f5afc92cdd
commit 525b89484c
17 changed files with 144 additions and 42 deletions
+2
View File
@@ -9,6 +9,7 @@ class Level;
class Stat;
class TileEntity;
class Entity;
class BlockPos;
class BrewingStandTileEntity;
class HopperTileEntity;
class MinecartHopper;
@@ -63,6 +64,7 @@ public:
virtual float getHeadHeight();
virtual void tick();
void flushEntitiesToRemove();
void onChangedBlock(BlockPos pos);
virtual shared_ptr<ItemInstance> getCarried(int slot);
virtual void die(DamageSource *source);
virtual bool hurt(DamageSource *dmgSource, float dmg);