TheGrandCurator / Cheddar-BratWurst7

Minecraft Wurst Hacked Client v7
https://www.wurstclient.net/
GNU General Public License v3.0
6 stars 0 forks source link

Implement tick for Barrel; Fixes #439 #48

Closed TheGrandCurator closed 2 years ago

TheGrandCurator commented 2 years ago

Original PR #501

Description

NeroStilts: Fixes #439 Barrels no longer (? I am uncertain if they had it in previous versions or not) had a getTicker method. This meant that getBlockEntityTickers would not include barrels at all, and thus barrels would not get highlighted.

This mixin simply implements a basic (no-op) ticker for the BarrelBlock. This seemed the simplest way to approach the problem while also keeping the implementation of ChestESP to use tickers. Though, if ChestESP was ever switched over to searching for the container blocks, then the mixin can simply be removed.