Skip to content

Commit

Permalink
remove deprecated fields in VIngameOverlays
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheaterpaul committed Aug 24, 2024
1 parent 3286d5a commit c92d734
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package de.teamlapen.vampirism.api.client;

import de.teamlapen.vampirism.api.util.VResourceLocation;
import net.minecraft.client.gui.LayeredDraw;
import net.minecraft.resources.ResourceLocation;

/**
Expand All @@ -14,8 +13,6 @@ public class VIngameOverlays {
* <br>
* Is rendered above {@link net.neoforged.neoforge.client.gui.VanillaGuiLayers#FOOD_LEVEL}, but the food rendering is canceled
*/
@Deprecated(forRemoval = true)
public static LayeredDraw.Layer BLOOD_BAR_ELEMENT;
public static final ResourceLocation BLOOD_BAR_ID = VResourceLocation.mod("blood_bar");


Expand All @@ -24,8 +21,6 @@ public class VIngameOverlays {
* <br>
* Is rendered above {@link net.neoforged.neoforge.client.gui.VanillaGuiLayers#BOSS_OVERLAY}
*/
@Deprecated(forRemoval = true)
public static LayeredDraw.Layer FACTION_RAID_BAR_ELEMENT;
public static final ResourceLocation FACTION_RAID_BAR_ID = VResourceLocation.mod("raid_bar");


Expand All @@ -34,26 +29,20 @@ public class VIngameOverlays {
* <br>
* Is rendered above {@link net.neoforged.neoforge.client.gui.VanillaGuiLayers#EXPERIENCE_BAR}
*/
@Deprecated(forRemoval = true)
public static LayeredDraw.Layer FACTION_LEVEL_ELEMENT;
public static final ResourceLocation FACTION_LEVEL_ID = VResourceLocation.mod("faction_level");

/**
* Action cooldown element
* <br>
* Is rendered in the lower left corner
*/
@Deprecated(forRemoval = true)
public static LayeredDraw.Layer ACTION_COOLDOWN_ELEMENT;
public static final ResourceLocation ACTION_COOLDOWN_ID = VResourceLocation.mod("action_cooldown");

/**
* Action duration element
* <br>
* Is rendered in the lower right corner
*/
@Deprecated(forRemoval = true)
public static LayeredDraw.Layer ACTION_DURATION_ELEMENT;
public static final ResourceLocation ACTION_DURATION_ID = VResourceLocation.mod("action_duration");
public static final ResourceLocation RAGE = VResourceLocation.mod("rage");
public static final ResourceLocation BAT = VResourceLocation.mod("bat");
Expand Down

0 comments on commit c92d734

Please sign in to comment.