Light refactors
This commit is contained in:
@@ -13,7 +13,7 @@ import org.saturnclient.mod.ModSpec;
|
||||
* Actual brightness injection happens in a mixin; this class owns only
|
||||
* the configuration and the two static query methods the mixin calls.
|
||||
*
|
||||
* No ModuleProvider is needed — this feature has no per-tick engine
|
||||
* No FeatureProvider is needed — this feature has no per-tick engine
|
||||
* interaction; the mixin polls the static helpers directly.
|
||||
*/
|
||||
public class FullbrightMod extends Mod {
|
||||
|
||||
@@ -15,7 +15,7 @@ import org.saturnclient.mod.ModSpec;
|
||||
* {@link #shouldReplaceName()} and
|
||||
* {@link #getNametagString(EntityFeature.EntityState)}.
|
||||
*
|
||||
* No ModuleProvider is required here because the mixin passes the
|
||||
* No FeatureProvider is required here because the mixin passes the
|
||||
* already-resolved {@link EntityFeature.EntityState} directly.
|
||||
*/
|
||||
public class NametagsMod extends Mod {
|
||||
|
||||
@@ -18,7 +18,7 @@ import org.saturnclient.ui.RenderScope;
|
||||
* a HUD overlay.
|
||||
*
|
||||
* The effect list is supplied by the platform through an interface
|
||||
* returned by a future {@code PlayerModule#getActiveEffects()} call.
|
||||
* returned by a future {@code PlayerFeature#getActiveEffects()} call.
|
||||
* Until that is wired up, the existing {@link StatusEffectsInterface}
|
||||
* bridge is used, accessed via {@link FeatureProvider}.
|
||||
*/
|
||||
|
||||
@@ -15,7 +15,7 @@ import org.saturnclient.mod.ModSpec;
|
||||
*
|
||||
* TPS calculation is event-driven: the networking layer (or mixin)
|
||||
* calls {@link #onTimePacket(long)} whenever a time-update packet
|
||||
* arrives. No ModuleProvider is required because there is no
|
||||
* arrives. No FeatureProvider is required because there is no
|
||||
* per-frame polling of the engine.
|
||||
*/
|
||||
public class TpsMod extends Mod implements HudMod {
|
||||
|
||||
@@ -14,7 +14,7 @@ import org.saturnclient.mod.ModSpec;
|
||||
*
|
||||
* The FOV override is applied inside a mixin that polls
|
||||
* {@link #shouldZoom()} and {@link #getZoomLevel()} each frame.
|
||||
* No ModuleProvider is needed — there is no per-tick engine query.
|
||||
* No FeatureProvider is needed — there is no per-tick engine query.
|
||||
*/
|
||||
public class ZoomMod extends Mod {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user