Class KineticStats

java.lang.Object
com.simibubi.create.foundation.item.KineticStats
All Implemented Interfaces:
TooltipModifier

public class KineticStats extends Object implements TooltipModifier
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final net.minecraft.world.level.block.Block
     

    Fields inherited from interface com.simibubi.create.foundation.item.TooltipModifier

    EMPTY, REGISTRY
  • Constructor Summary

    Constructors
    Constructor
    Description
    KineticStats(net.minecraft.world.level.block.Block block)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static @Nullable KineticStats
    create(net.minecraft.world.item.Item item)
     
    static List<net.minecraft.network.chat.Component>
    getKineticStats(net.minecraft.world.level.block.Block block, net.minecraft.world.entity.player.Player player)
     
    void
    modify(net.neoforged.neoforge.event.entity.player.ItemTooltipEvent context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.simibubi.create.foundation.item.TooltipModifier

    andThen
  • Field Details

    • block

      protected final net.minecraft.world.level.block.Block block
  • Constructor Details

    • KineticStats

      public KineticStats(net.minecraft.world.level.block.Block block)
  • Method Details

    • create

      @Nullable public static @Nullable KineticStats create(net.minecraft.world.item.Item item)
    • modify

      public void modify(net.neoforged.neoforge.event.entity.player.ItemTooltipEvent context)
      Specified by:
      modify in interface TooltipModifier
    • getKineticStats

      public static List<net.minecraft.network.chat.Component> getKineticStats(net.minecraft.world.level.block.Block block, net.minecraft.world.entity.player.Player player)