Skip to content

Commit

Permalink
malm
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsterner committed Dec 19, 2024
1 parent 599ce66 commit 9acf968
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@ public CatalystLobberItem(Properties pProperties, Function<Player, AbstractNitra
this.entitySupplier = entitySupplier;
}

@Override
public void appendHoverText(ItemStack stack, TooltipContext context, List<Component> tooltipComponents, TooltipFlag tooltipFlag) {
var data = stack.get(DataComponentRegistry.CATALYST_LOBBER_STATE.get());
tooltipComponents.add(Component.literal(String.valueOf(data.state())));
super.appendHoverText(stack, context, tooltipComponents, tooltipFlag);
}

public static float getStateDisplay(ItemStack stack) {
var data = stack.get(DataComponentRegistry.CATALYST_LOBBER_STATE.get());
if (data == null) {
Expand Down

0 comments on commit 9acf968

Please sign in to comment.