Skip to content

Commit

Permalink
Improve naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekiplay committed Dec 28, 2024
1 parent ce49ae2 commit c3f000b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import nekiplay.main.events.Cancellable;
import net.minecraft.client.gui.DrawContext;
import net.minecraft.client.render.RenderTickCounter;
import net.minecraft.entity.player.PlayerEntity;

public class RenderExperienceLevelEvent extends Cancellable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import nekiplay.main.events.Cancellable;
import net.minecraft.client.gui.DrawContext;
import net.minecraft.client.render.RenderTickCounter;
import net.minecraft.entity.player.PlayerEntity;

public class RenderFoodBarEvent extends Cancellable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import nekiplay.main.events.Cancellable;
import net.minecraft.client.gui.DrawContext;
import net.minecraft.entity.player.PlayerEntity;

public class RenderMountHealthBarEvent extends Cancellable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,33 +25,33 @@ public NoRenderMixin(Category category, String name, String description) {

@Unique
private final Setting<Boolean> noPosition = noRenderMeteorPlusSetting.add(new BoolSetting.Builder()
.name("remove-position")
.name("position")
.defaultValue(false)
.build()
);
@Unique
private final Setting<Boolean> noPositionBlock = noRenderMeteorPlusSetting.add(new BoolSetting.Builder()
.name("remove-position-block")
.name("position-block")
.defaultValue(false)
.build()
);
@Unique
private final Setting<Boolean> noPositionChunk = noRenderMeteorPlusSetting.add(new BoolSetting.Builder()
.name("remove-position-chunk")
.name("position-chunk")
.defaultValue(false)
.build()
);

@Unique
private final Setting<Boolean> noTargetBlockPosition = noRenderMeteorPlusSetting.add(new BoolSetting.Builder()
.name("remove-target-block-position")
.name("target-block-position")
.defaultValue(false)
.build()
);

@Unique
private final Setting<Boolean> noTargetFluidPosition = noRenderMeteorPlusSetting.add(new BoolSetting.Builder()
.name("remove-target-fluid-position")
.name("target-fluid-position")
.defaultValue(false)
.build()
);
Expand Down

0 comments on commit c3f000b

Please sign in to comment.