Class FilledMapItem


public class FilledMapItem extends NetworkSyncedItem
Mappings:
Namespace Name
official aab
intermediary net/minecraft/class_1073
named net/minecraft/item/FilledMapItem
  • Constructor Details

    • FilledMapItem

      protected FilledMapItem()
      Mappings:
      Namespace Name Mixin selector
      official <init> Lzw;<init>()V
      intermediary <init> Lnet/minecraft/class_1069;<init>()V
      named <init> Lnet/minecraft/item/Item;<init>()V
  • Method Details

    • getMapState

      @Environment(CLIENT) public static MapState getMapState(int i, World world)
      Mappings:
      Namespace Name Mixin selector
      official a Laab;a(ILadm;)Latg;
      intermediary method_3455 Lnet/minecraft/class_1073;method_3455(ILnet/minecraft/class_1150;)Lnet/minecraft/class_89;
      named getMapState Lnet/minecraft/item/FilledMapItem;getMapState(ILnet/minecraft/world/World;)Lnet/minecraft/item/map/MapState;
    • getMapState

      public MapState getMapState(ItemStack itemStack, World world)
      Mappings:
      Namespace Name Mixin selector
      official a Laab;a(Lzx;Ladm;)Latg;
      intermediary method_3453 Lnet/minecraft/class_1073;method_3453(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;)Lnet/minecraft/class_89;
      named getMapState Lnet/minecraft/item/FilledMapItem;getMapState(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;)Lnet/minecraft/item/map/MapState;
    • updateColors

      public void updateColors(World world, Entity entity, MapState state)
      Mappings:
      Namespace Name Mixin selector
      official a Laab;a(Ladm;Lpk;Latg;)V
      intermediary method_3454 Lnet/minecraft/class_1073;method_3454(Lnet/minecraft/class_1150;Lnet/minecraft/class_864;Lnet/minecraft/class_89;)V
      named updateColors Lnet/minecraft/item/FilledMapItem;updateColors(Lnet/minecraft/world/World;Lnet/minecraft/entity/Entity;Lnet/minecraft/item/map/MapState;)V
    • inventoryTick

      public void inventoryTick(ItemStack stack, World world, Entity entity, int slot, boolean selected)
      Runs every tick when the item is in an inventory.
      Overrides:
      inventoryTick in class Item
      Parameters:
      stack - The item in an ItemStack form
      world - The world where the item is ticking
      entity - The entity whose inventory contains the item
      slot - The slot in which the item is placed
      selected - Whether the item is currently selected by the entity
      Mappings:
      Namespace Name Mixin selector
      official a Lzw;a(Lzx;Ladm;Lpk;IZ)V
      intermediary method_3357 Lnet/minecraft/class_1069;method_3357(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_864;IZ)V
      named inventoryTick Lnet/minecraft/item/Item;inventoryTick(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/Entity;IZ)V
    • createSyncPacket

      public Packet createSyncPacket(ItemStack stack, World world, PlayerEntity player)
      Overrides:
      createSyncPacket in class NetworkSyncedItem
      Mappings:
      Namespace Name Mixin selector
      official c Lyy;c(Lzx;Ladm;Lwn;)Lff;
      intermediary method_3314 Lnet/minecraft/class_1040;method_3314(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_988;)Lnet/minecraft/class_700;
      named createSyncPacket Lnet/minecraft/item/NetworkSyncedItem;createSyncPacket(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/network/Packet;
    • onCraft

      public void onCraft(ItemStack stack, World world, PlayerEntity player)
      Runs when the item is crafted
      Overrides:
      onCraft in class Item
      Parameters:
      stack - The item in an ItemStack form
      world - The world where the crafting happened
      player - The player who crafted the item
      Mappings:
      Namespace Name Mixin selector
      official d Lzw;d(Lzx;Ladm;Lwn;)V
      intermediary method_3375 Lnet/minecraft/class_1069;method_3375(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_988;)V
      named onCraft Lnet/minecraft/item/Item;onCraft(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)V
    • appendTooltip

      @Environment(CLIENT) public void appendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced)
      Overrides:
      appendTooltip in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lzw;a(Lzx;Lwn;Ljava/util/List;Z)V
      intermediary method_3352 Lnet/minecraft/class_1069;method_3352(Lnet/minecraft/class_1071;Lnet/minecraft/class_988;Ljava/util/List;Z)V
      named appendTooltip Lnet/minecraft/item/Item;appendTooltip(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;Ljava/util/List;Z)V