Class FilledMapItem


public class FilledMapItem
extends NetworkSyncedItem
Mappings:
Namespace Name
official aab
intermediary net/minecraft/class_4
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_2054;<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_10 Lnet/minecraft/class_4;method_10(ILnet/minecraft/class_99;)Lnet/minecraft/class_627;
      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_12 Lnet/minecraft/class_4;method_12(Lnet/minecraft/class_2056;Lnet/minecraft/class_99;)Lnet/minecraft/class_627;
      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_11 Lnet/minecraft/class_4;method_11(Lnet/minecraft/class_99;Lnet/minecraft/class_1745;Lnet/minecraft/class_627;)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_8259 Lnet/minecraft/class_2054;method_8259(Lnet/minecraft/class_2056;Lnet/minecraft/class_99;Lnet/minecraft/class_1745;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_8188 Lnet/minecraft/class_2028;method_8188(Lnet/minecraft/class_2056;Lnet/minecraft/class_99;Lnet/minecraft/class_1963;)Lnet/minecraft/class_1457;
      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_8282 Lnet/minecraft/class_2054;method_8282(Lnet/minecraft/class_2056;Lnet/minecraft/class_99;Lnet/minecraft/class_1963;)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_8265 Lnet/minecraft/class_2054;method_8265(Lnet/minecraft/class_2056;Lnet/minecraft/class_1963;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