Skip to content

Update to 1.21.11#529

Open
Leonn170709 wants to merge 27 commits into
BleachDev:1.19.4from
Leonn170709:1.21.11
Open

Update to 1.21.11#529
Leonn170709 wants to merge 27 commits into
BleachDev:1.19.4from
Leonn170709:1.21.11

Conversation

@Leonn170709

Copy link
Copy Markdown

Just updated it to 1.21.11 because i felt like it lol.
it still has some rendering issues but im working on fixing them.
The client lodas and all basic modules work.
Somehow the dragging in the main menu clickgui editor is broken.
The client is pretty unoptimized right ow but that could be. I will figure it out and fix it.
Im thiking about adding a addons system and a a friends tab. (didnt see one while testing it)
Would be amazing if you put this version to the website when im finished fixing and updating it.
(!!AI got used to port the client to 1.21.11!!)

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Ports BleachHack to Minecraft 1.21.11 (Fabric/Yarn/loader update) and adapts the codebase to the new client APIs (render pipeline, input events, networking packets, components, and shader/post-effect loading).

Changes:

  • Updates build tooling and dependencies for 1.21.11 (Java 21, new Loom plugin, new mappings/loader, Gradle wrapper).
  • Refactors rendering/input/mixin hooks to match 1.21.11’s RenderState/DrawContext/KeyInput architecture.
  • Reworks shader/post-processing assets and loading (new post_effect JSON + outline shader; removes legacy shader manager hacks).

Reviewed changes

Copilot reviewed 211 out of 214 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
src/main/resources/bleachhack.mixins.json Updates mixin list for new/removed 1.21.11 hook points.
src/main/resources/assets/bleachhack/shaders/program/entity_outline.json Removes legacy program JSON for old outline pipeline.
src/main/resources/assets/bleachhack/shaders/program/entity_outline.fsh Removes legacy outline fragment shader.
src/main/resources/assets/bleachhack/shaders/post/entity_outline.json Removes legacy post chain JSON.
src/main/resources/assets/bleachhack/shaders/post/entity_outline_meteor.fsh Adds new outline fragment shader adapted to 1.21.11.
src/main/resources/assets/bleachhack/shaders/core/color_overlay.vsh Removes legacy core shader asset.
src/main/resources/assets/bleachhack/shaders/core/color_overlay.json Removes legacy core shader program JSON.
src/main/resources/assets/bleachhack/shaders/core/color_overlay.fsh Removes legacy core shader asset.
src/main/resources/assets/bleachhack/post_effect/esp_outline.json Adds 1.21.11 post_effect definition for ESP outline.
src/main/java/org/bleachhack/util/world/ProjectileSimulator.java Updates projectile instantiation APIs for 1.21.11.
src/main/java/org/bleachhack/util/world/PlayerCopyEntity.java Updates player-copy entity tracking/spawn for 1.21.11.
src/main/java/org/bleachhack/util/world/ChunkProcessor.java Updates chunk packet handling to 1.21.11 packet formats.
src/main/java/org/bleachhack/util/shader/ShaderLoader.java Switches post-effect loading to vanilla shader loader caching.
src/main/java/org/bleachhack/util/shader/ShaderEffectWrapper.java Removes legacy framebuffer/post-effect wrapper.
src/main/java/org/bleachhack/util/shader/OpenResourceManager.java Removes legacy resource manager hack for shader loading.
src/main/java/org/bleachhack/util/shader/BleachCoreShaders.java Removes legacy static shader program bootstrap.
src/main/java/org/bleachhack/util/render/FrustumUtils.java Replaces frustum accessor with per-frame captured frustum reference.
src/main/java/org/bleachhack/util/PlayerInteractEntityC2SUtils.java Updates packet encoding via new CODEC API.
src/main/java/org/bleachhack/util/operation/PlaceOperation.java Updates block rendering APIs for 1.21.11 render changes.
src/main/java/org/bleachhack/util/operation/PlaceDirOperation.java Updates direction math APIs to quarter-turn helpers.
src/main/java/org/bleachhack/util/InventoryUtils.java Updates selected-slot APIs to getters/setters.
src/main/java/org/bleachhack/util/auth/LoginHelper.java Removes deprecated Mojang auth path; updates Session construction.
src/main/java/org/bleachhack/setting/SettingDataHandlers.java Updates Identifier parsing to Identifier.of().
src/main/java/org/bleachhack/setting/option/OptionString.java Updates fill rendering via DrawContext.
src/main/java/org/bleachhack/setting/module/SettingToggle.java Migrates setting rendering to DrawContext and new sound helpers.
src/main/java/org/bleachhack/setting/module/SettingSlider.java Migrates setting rendering to DrawContext and new sound helpers.
src/main/java/org/bleachhack/setting/module/SettingMode.java Migrates setting rendering to DrawContext and new sound helpers.
src/main/java/org/bleachhack/setting/module/SettingKey.java Updates keybinding display/render handling for KeyInput changes.
src/main/java/org/bleachhack/setting/module/SettingItemList.java Updates item rendering to DrawContext helpers.
src/main/java/org/bleachhack/setting/module/SettingButton.java Updates click handling with new Click/MouseInput types.
src/main/java/org/bleachhack/setting/module/SettingBlockList.java Updates block-item rendering to DrawContext helpers.
src/main/java/org/bleachhack/setting/module/ModuleSetting.java Adds visibility predicate support; migrates rendering signature.
src/main/java/org/bleachhack/module/ModuleManager.java Updates input window API usage.
src/main/java/org/bleachhack/module/mods/Zoom.java Switches to computed-FOV zoom approach; adjusts sensitivity handling.
src/main/java/org/bleachhack/module/mods/Trail.java Updates position getters to entityPos variants.
src/main/java/org/bleachhack/module/mods/Tracers.java Updates camera entity and position API usage.
src/main/java/org/bleachhack/module/mods/Surround.java Updates movement packets and replaceable checks for 1.21.11.
src/main/java/org/bleachhack/module/mods/Sprint.java Updates movement input checks to new PlayerInput booleans.
src/main/java/org/bleachhack/module/mods/Speed.java Updates previous-position fields and movement fields.
src/main/java/org/bleachhack/module/mods/Solidify.java Updates vehicle packet position accessors and last* fields.
src/main/java/org/bleachhack/module/mods/Sneak.java Replaces removed ClientCommandC2SPacket sneak toggling with PlayerInputC2SPacket rewriting.
src/main/java/org/bleachhack/module/mods/Search.java Updates packet classes and world height iteration API.
src/main/java/org/bleachhack/module/mods/Scaffold.java Updates position getters, input window API, and replaceable checks.
src/main/java/org/bleachhack/module/mods/RotationSnap.java Updates input window API usage.
src/main/java/org/bleachhack/module/mods/PlayerCrash.java Updates keep-alive packet class and movement packet signature.
src/main/java/org/bleachhack/module/mods/OffhandCrash.java Updates movement packet signature.
src/main/java/org/bleachhack/module/mods/Nuker.java Updates player position getters and interpolation usage.
src/main/java/org/bleachhack/module/mods/NoVelocity.java Updates velocity packet fields to Vec3d-based APIs and record mutation.
src/main/java/org/bleachhack/module/mods/Notebot.java Updates instrument enum type naming.
src/main/java/org/bleachhack/module/mods/NoSlow.java Updates replaceable checks and input window API usage.
src/main/java/org/bleachhack/module/mods/NoRender.java Updates sign text mutation and particle class renames.
src/main/java/org/bleachhack/module/mods/Nofall.java Updates elytra/glide method and movement packet signatures.
src/main/java/org/bleachhack/module/mods/NewChunks.java Updates world height iteration API.
src/main/java/org/bleachhack/module/mods/LogoutSpot.java Updates tick delta usage via RenderTickCounter.
src/main/java/org/bleachhack/module/mods/Killaura.java Updates tick delta usage via RenderTickCounter.
src/main/java/org/bleachhack/module/mods/Jesus.java Updates position getters to entityPos variants.
src/main/java/org/bleachhack/module/mods/HoleESP.java Updates Box construction for Vec3d-based constructors.
src/main/java/org/bleachhack/module/mods/Ghosthand.java Updates tick delta usage via RenderTickCounter.
src/main/java/org/bleachhack/module/mods/Flight.java Updates packets/input/replaceable checks for 1.21.11.
src/main/java/org/bleachhack/module/mods/EntityControl.java Updates replaceable checks and player input access.
src/main/java/org/bleachhack/module/mods/ElytraReplace.java Switches elytra detection to ItemStack.isOf() and maxDamage.
src/main/java/org/bleachhack/module/mods/DiscordRPC.java Updates version/name APIs and item/custom name checks.
src/main/java/org/bleachhack/module/mods/DeathExplorer.java Updates DeathScreen ctor and HUD draw to DrawContext.
src/main/java/org/bleachhack/module/mods/Criticals.java Updates movement packet signatures for 1.21.11.
src/main/java/org/bleachhack/module/mods/ClickTp.java Updates input window API and tick delta usage via RenderTickCounter.
src/main/java/org/bleachhack/module/mods/BowBot.java Updates crossbow pull-time signature and entity position getter.
src/main/java/org/bleachhack/module/mods/BetterPortal.java Updates nausea intensity field names.
src/main/java/org/bleachhack/module/mods/AutoTotem.java Updates selected-slot APIs to getters/setters.
src/main/java/org/bleachhack/module/mods/AutoSteal.java Updates inventory packet APIs and item equality helpers.
src/main/java/org/bleachhack/module/mods/AutoSign.java Updates UpdateSignC2SPacket signature with front/back parameter.
src/main/java/org/bleachhack/module/mods/AutoReconnect.java Updates disconnected screen info model and ConnectScreen signature.
src/main/java/org/bleachhack/module/mods/AutoParkour.java Updates entityPos usage and Box constructors.
src/main/java/org/bleachhack/module/mods/AutoGrind.java Updates enchantment APIs to component-based/registry-entry usage.
src/main/java/org/bleachhack/module/mods/AutoFish.java Updates enchantment sum calculation with new enchantment container.
src/main/java/org/bleachhack/module/mods/AutoFarm.java Updates gourd checks to explicit melon/pumpkin blocks.
src/main/java/org/bleachhack/module/mods/AutoEXP.java Updates packet signatures and ActionResult stack handling.
src/main/java/org/bleachhack/module/mods/AutoEat.java Migrates food/consumable checks to data components.
src/main/java/org/bleachhack/module/mods/AutoCraft.java Migrates recipe handling to RecipeDisplayEntry-based APIs.
src/main/java/org/bleachhack/module/mods/AutoBuild.java Updates tick delta usage and direction-from-yaw API.
src/main/java/org/bleachhack/module/mods/AutoBedrockBreak.java Updates Box constructors and movement packet signature.
src/main/java/org/bleachhack/module/mods/ArrowJuke.java Updates movement packet signature.
src/main/java/org/bleachhack/module/mods/AntiVoid.java Updates world height iteration API.
src/main/java/org/bleachhack/module/mods/AirPlace.java Updates replaceable checks.
src/main/java/org/bleachhack/mixin/MixinTitleScreen.java Updates keyPressed hook to KeyInput record.
src/main/java/org/bleachhack/mixin/MixinStringHelper.java Moves isValidChar overwrite to StringHelper with codepoint signature.
src/main/java/org/bleachhack/mixin/MixinStatusEffectFogModifier.java Replaces removed BackgroundRenderer blindness suppression hook.
src/main/java/org/bleachhack/mixin/MixinSoundSystem.java Updates play() injection for new return type.
src/main/java/org/bleachhack/mixin/MixinShader.java Removes legacy shader identifier rewriting mixin.
src/main/java/org/bleachhack/mixin/MixinScreen.java Moves tooltip hook out; updates renderBackground signature to DrawContext.
src/main/java/org/bleachhack/mixin/MixinRenderTickCounter.java Retargets mixin to RenderTickCounter.Dynamic and updates field names.
src/main/java/org/bleachhack/mixin/MixinRenderLayers.java Moves hook to BlockRenderLayers and updates layer type.
src/main/java/org/bleachhack/mixin/MixinPlayerListHud.java Updates GameProfile API for name access.
src/main/java/org/bleachhack/mixin/MixinPacketInflater.java Updates PacketInflater class package relocation.
src/main/java/org/bleachhack/mixin/MixinPacketByteBuf.java Updates NBT size tracker interception point and new types.
src/main/java/org/bleachhack/mixin/MixinMobEntity.java Consolidates saddle-control hook to MobEntity.hasSaddleEquipped().
src/main/java/org/bleachhack/mixin/MixinMapRenderer.java Updates map render hook signature to new render command queue API.
src/main/java/org/bleachhack/mixin/MixinLivingEntity.java Updates damage() injection signature with ServerWorld param.
src/main/java/org/bleachhack/mixin/MixinKeyboard.java Updates onKey hooks to KeyInput record and action gating.
src/main/java/org/bleachhack/mixin/MixinJsonEffectShaderProgram.java Removes legacy json effect shader identifier rewriting mixin.
src/main/java/org/bleachhack/mixin/MixinInGameOverlayRenderer.java Updates overlay hooks to new method signatures.
src/main/java/org/bleachhack/mixin/MixinInGameHud.java Updates HUD hooks to DrawContext + RenderTickCounter parameters.
src/main/java/org/bleachhack/mixin/MixinEntityRenderer.java Adapts label hook to EntityRenderState and ordered command queue.
src/main/java/org/bleachhack/mixin/MixinEntityRenderDispatcher.java Removes old post-render hook on EntityRenderDispatcher.
src/main/java/org/bleachhack/mixin/MixinDrawContextTextAlpha.java Restores RGB-without-alpha text rendering behavior in DrawContext.
src/main/java/org/bleachhack/mixin/MixinDrawContext.java Moves tooltip interception to DrawContext.drawTooltipImmediately.
src/main/java/org/bleachhack/mixin/MixinDimensionEffects.java Removes old fog override hook on DimensionEffects.
src/main/java/org/bleachhack/mixin/MixinClientWorld.java Drops removed sky color hooks; keeps tickEntities hook.
src/main/java/org/bleachhack/mixin/MixinClientPlayerInteractionManager.java Removes reach hook; documents attribute-based replacement.
src/main/java/org/bleachhack/mixin/MixinClientPlayerEntity.java Updates nausea method name and redirect targets.
src/main/java/org/bleachhack/mixin/MixinClientConnection.java Implements protocol spoofing by rewriting handshake packet.
src/main/java/org/bleachhack/mixin/MixinChunkSkylightProvider.java Replaces removed helper hook by cancelling propagation methods.
src/main/java/org/bleachhack/mixin/MixinChatScreen.java Updates keyPressed hook to KeyInput record.
src/main/java/org/bleachhack/mixin/MixinCamera.java Updates CameraSubmersionType import and clipToSpace float signature.
src/main/java/org/bleachhack/mixin/MixinBufferBuilder.java Removes legacy fixed-color vertex patch.
src/main/java/org/bleachhack/mixin/MixinBlockEntityRenderDispatcher.java Moves block-entity render cancellation hook to render-state extraction.
src/main/java/org/bleachhack/mixin/MixinBlockCollisionSpliterator.java Updates collision shape redirect to new ShapeContext call site.
src/main/java/org/bleachhack/mixin/MixinBlock.java Updates shouldDrawSide hook signature to new parameters.
src/main/java/org/bleachhack/mixin/MixinBeaconScreen.java Updates render hook signature to DrawContext.
src/main/java/org/bleachhack/mixin/MixinBackgroundRenderer.java Removes old blindness suppression hook location.
src/main/java/org/bleachhack/mixin/AccessorWorldRenderer.java Removes frustum accessor (field no longer exists).
src/main/java/org/bleachhack/mixin/AccessorScreen.java Drops removed accessors/invokers; keeps drawables accessor.
src/main/java/org/bleachhack/mixin/AccessorFrustum.java Fixes accessors to renamed x/y/z field names.
src/main/java/org/bleachhack/gui/window/widget/WindowWidget.java Migrates widget rendering API to DrawContext.
src/main/java/org/bleachhack/gui/window/widget/WindowTextWidget.java Migrates text rendering to DrawContext; drops hover-style support.
src/main/java/org/bleachhack/gui/window/widget/WindowTextFieldWidget.java Updates textfield input APIs to Click/CharInput/KeyInput.
src/main/java/org/bleachhack/gui/window/widget/WindowScrollbarWidget.java Migrates fills to DrawContext.
src/main/java/org/bleachhack/gui/window/widget/WindowPassTextFieldWidget.java Updates TextRenderer subclassing for 1.21.11 constructor/draw API.
src/main/java/org/bleachhack/gui/window/widget/WindowCheckboxWidget.java Migrates widget rendering to DrawContext and new sound helper.
src/main/java/org/bleachhack/gui/window/widget/WindowButtonWidget.java Migrates widget rendering to DrawContext and new sound helper.
src/main/java/org/bleachhack/gui/window/widget/WindowBoxWidget.java Migrates widget rendering to DrawContext.
src/main/java/org/bleachhack/gui/UpdateScreen.java Updates render/background behavior and mouse scroll signature.
src/main/java/org/bleachhack/gui/effect/ParticleManager.java Migrates particle drawing to DrawContext.fill().
src/main/java/org/bleachhack/gui/clickgui/window/UIContainer.java Migrates UI container rendering to DrawContext.
src/main/java/org/bleachhack/gui/clickgui/window/ClickGuiWindow.java Migrates window rendering to DrawContext and new sound helper.
src/main/java/org/bleachhack/gui/clickgui/UIClickGuiScreen.java Migrates screen render to DrawContext.
src/main/java/org/bleachhack/gui/clickgui/ModuleClickGuiScreen.java Migrates render to DrawContext; updates version display API.
src/main/java/org/bleachhack/gui/BleachTitleScreen.java Migrates render to DrawContext; avoids double-blur background call.
src/main/java/org/bleachhack/gui/BleachOptionsScreen.java Migrates render/scroll to DrawContext and new HoverEvent types.
src/main/java/org/bleachhack/event/events/EventWorldRender.java Removes MatrixStack from world-render event (no longer available).
src/main/java/org/bleachhack/event/events/EventSkyRender.java Removes deprecated sky render event (hooks removed upstream).
src/main/java/org/bleachhack/event/events/EventRenderScreenBackground.java Migrates event matrix type to DrawContext.
src/main/java/org/bleachhack/event/events/EventRenderOverlay.java Migrates event matrix type to DrawContext.
src/main/java/org/bleachhack/event/events/EventRenderInGameHud.java Migrates event matrix type to DrawContext.
src/main/java/org/bleachhack/event/events/EventRenderCrosshair.java Migrates event matrix type to DrawContext.
src/main/java/org/bleachhack/event/events/EventRenderBlockOutline.java Drops BlockState from event due to upstream render-state changes.
src/main/java/org/bleachhack/event/events/EventRenderBlock.java Updates layer type; adds vertex-consumer replacement support.
src/main/java/org/bleachhack/event/events/EventEntityRender.java Updates label rendering plumbing to ordered command queue model.
src/main/java/org/bleachhack/event/events/EventBlockEntityRender.java Updates block-entity event to render-state extraction phase.
src/main/java/org/bleachhack/command/exception/CmdSyntaxException.java Replaces removed CommandException base with RuntimeException + Text storage.
src/main/java/org/bleachhack/command/CommandSuggestor.java Migrates overlay drawing to DrawContext; removes matrix push/pop usage.
src/main/java/org/bleachhack/command/commands/CmdSkull.java Migrates skull owner to profile data component and authlib profile types.
src/main/java/org/bleachhack/command/commands/CmdServer.java Updates hover/click event APIs; updates brand/perms/version retrieval.
src/main/java/org/bleachhack/command/commands/CmdRename.java Migrates renaming to CUSTOM_NAME data component.
src/main/java/org/bleachhack/command/commands/CmdRbook.java Updates selected-slot getter and main-hand stack usage.
src/main/java/org/bleachhack/command/commands/CmdPeek.java Updates main-hand stack usage.
src/main/java/org/bleachhack/command/commands/CmdInvPeek.java Migrates GUI drawing to DrawContext and new click signature.
src/main/java/org/bleachhack/command/commands/CmdHelp.java Updates HoverEvent to new ShowText type.
src/main/java/org/bleachhack/command/commands/CmdFriends.java Updates click/hover event APIs and OpenUrl URI requirement.
src/main/java/org/bleachhack/command/commands/CmdEntityStats.java Updates attribute keys and jump strength retrieval via attribute.
src/main/java/org/bleachhack/command/CommandManager.java Updates HoverEvent to new ShowText type.
src/main/java/org/bleachhack/BleachHack.java Updates update-check URL version naming API.
gradle/wrapper/gradle-wrapper.properties Updates Gradle wrapper distribution URL.
gradle.properties Updates Minecraft/Yarn/loader versions for 1.21.11.
build.gradle Updates Loom plugin, Java 21 target, and build metadata config.
.gitignore Adds ignores for new local/agent files and directories.
Comments suppressed due to low confidence (1)

src/main/java/org/bleachhack/util/world/ProjectileSimulator.java:82

  • Projectile ownership/initialization is tied to mc.player here, which breaks trajectory simulation for non-local players (the simulated projectile will originate from the local player).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.PositionAndOnGround(mc.player.getX(), mc.player.getY() - 0.069, mc.player.getZ(), false));
mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.PositionAndOnGround(mc.player.getX(), mc.player.getZ() + 0.069, mc.player.getZ(), true));
mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.PositionAndOnGround(mc.player.getX(), mc.player.getY() - 0.069, mc.player.getZ(), false, mc.player.horizontalCollision));
mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.PositionAndOnGround(mc.player.getX(), mc.player.getZ() + 0.069, mc.player.getZ(), true, mc.player.horizontalCollision));

if ((lastOpen - currentTime >= 2 || currentItems == null) && packet.getContents().size() == 63 || packet.getContents().size() == 90) {
currentItems = packet.getContents().subList(0, packet.getContents().size() - 36);
if ((lastOpen - currentTime >= 2 || currentItems == null) && packet.contents().size() == 63 || packet.contents().size() == 90) {
if (arrowStack.isEmpty()) {
arrowStack = new ItemStack(Items.ARROW);
}
Entity e = new ArrowEntity(mc.world, mc.player, arrowStack, hand);
}
} else if (hand.getItem() instanceof SnowballItem || hand.getItem() instanceof EggItem || hand.getItem() instanceof EnderPearlItem) {
Entity e = new SnowballEntity(mc.world, mc.player);
Entity e = new SnowballEntity(mc.world, mc.player, hand);
return e;
} else if (hand.getItem() instanceof ExperienceBottleItem) {
Entity e = new ExperienceBottleEntity(mc.world, mc.player);
Entity e = new ExperienceBottleEntity(mc.world, mc.player, hand);
Comment on lines +74 to +76
Entity e = hand.getItem() instanceof LingeringPotionItem
? new LingeringPotionEntity(mc.world, mc.player, hand)
: new SplashPotionEntity(mc.world, mc.player, hand);
@Leonn170709

Copy link
Copy Markdown
Author

Ok I will add these comments to my todo and fix them all

Adds an Implementation mode (Legacy/Meteor) so the existing packet-spoof
approach stays available while offering Meteor's sprint/onGround spoof
logic as an alternative.
Ports Meteor's three packet-spoof crit height thresholds alongside the
existing MiniJump/FullJump modes; Meteor's Jump mode and mace-specific
settings are skipped since they need a different (delayed attack-packet)
architecture BleachHack's module doesn't have.
A category with many enabled modules/settings could grow taller than the
screen with no way to reach the rest. Clamp each ModuleWindow's visible
height to the screen, scroll its content with the mouse wheel while
hovered, and clip rendering/interaction to the visible region.
Adds a getScale() hook to ClickGuiScreen (default 1, unused by the UI
clickgui) that ModuleClickGuiScreen overrides from the new "Scale" slider.
Windows and their content render/hit-test in one consistent virtual
coordinate space under a pushed scale matrix; the Modules/UI switcher bar
stays in real screen pixels so it doesn't drift. ModuleWindow's visible-
height clamp is adjusted to account for the extra scale factor on top of
Minecraft's own GUI scale.
…screen

If the category list (or a large clickgui Scale) would push tabs past the
bottom of the screen, start a new column rather than letting them become
unreachable. A per-frame scroll offset was considered but would fight the
existing drag-and-persist window model (positions are saved and restored
verbatim, not recomputed from a slot index).
Descending in any Flight mode still let fallDistance accumulate, so
landing (even from a slow, controlled descent) could deal fall damage.
Also fixes a copy-paste typo in the Packet AntiKick bob (was reading
getZ() instead of getY() for the second packet's Y coordinate).
Always reports onGround=false to the server on outgoing movement packets,
so it never sees a landing (and therefore never computes fall damage).
Client-side onGround/physics are left untouched so walking/jumping stay
normal.
New FriendManagerScreen (add-by-name field + scrollable list with a
per-row Remove) wired in as a tab in the title screen's window manager,
alongside Accounts/ClickGui/Options/Credits. Reuses FriendManager/
BleachFileHelper - the existing !friends command still works the same,
this just gives it a GUI.
Audited all 97 module descriptions in module/mods/; the overwhelming
majority were already clear one-liners. Found and fixed four that
weren't: Xray and ShaderRender had what look like copy-paste-swapped
joke placeholders ("Baritone is for zoomers.", "1.7 Super secret
settings.") that don't describe what the module does, Zoom's was just
"ok zoomer.", and Scaffold's was missing its trailing period.
Previously module toggle keys (and the quick chat-prefix trigger) fired
regardless of what screen was open, so e.g. typing "f" in chat while
Fullbright was bound to F toggled the module. Note: this also means a
module's own toggle key no longer closes the screen it opened (e.g.
ClickGui's keybind won't close ClickGui) - Escape still does.
PacketFly: Packet mode recomputed its move vector from the player's real,
unmoved position every tick (a pre-existing bug, present since 1.19.4),
so it never actually went anywhere. It now drives real velocity/collision
like Flight's Static mode and lets Minecraft's own movement-packet code
report the resulting position, instead of hand-crafting packets from a
stale origin - also means it respects collision and looks like ordinary
movement to the server. Phase mode is untouched.

Ambience: sky color settings were dead - the old DimensionEffects
override point they relied on was removed in the 1.21.11 port and never
replaced. Added MixinSkyRendering to overwrite SkyRenderState.skyColor
(now computed via the new EnvironmentAttributes system) after Minecraft
computes it each frame. Also fixed a typo in WeatherManager.isActive()
that checked `thunder >= 1f` instead of `>= 0f`, meaning thunder gradient
tracking almost never counted as "active" on its own.
- WindowTextFieldWidget never called setFocused() on click - vanilla's
  TextFieldWidget used to grab focus itself on click, but that moved to
  the Screen/ParentElement click dispatch in 1.21.11, which this custom
  Window/WindowWidget system doesn't go through. Fixes typing being
  silently ignored in every text field in this widget system (Accounts,
  Friends, etc), not just the new Friends menu.
- Ambience: onEnable/onDisable now call worldRenderer.reload() (matching
  Xray's existing pattern), since grass/foliage/water color are baked
  into chunk meshes at build time - already-built chunks kept stale
  colors until something rebuilt them, which read as "only some
  biomes/chunks" working. Confirmed by the user as the actual cause.
- Xray: ShouldDrawSide now carries neighbor state/side (Block.shouldDrawSide
  already had this info, the event just didn't forward it), and non-target
  blocks touching a target block now also draw their shared face, so a
  target block isn't sitting in a fully-culled socket - matches the
  general technique Meteor's Xray uses for the same problem.
- Added a "Friends" button next to Modules/UI in the in-game ClickGui.
Forces DimensionType.Skybox.END for sky rendering regardless of the
current dimension, and disables the Sky Color override while active
(the End's own skybox rendering doesn't use skyColor).
@Leonn170709

Copy link
Copy Markdown
Author

Everything should be working now. Only the shader renderer doesnt work. (Didnt test every module. Just tested some and they worked)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants