Package net.minecraft.item
Class FilledMapItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.NetworkSyncedItem
net.minecraft.item.FilledMapItem
- Mappings:
Namespace Name official aabintermediary net/minecraft/class_1073named net/minecraft/item/FilledMapItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.ToolMaterialType -
Field Summary
Fields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced) createSyncPacket(ItemStack stack, World world, PlayerEntity player) static MapStategetMapState(int i, World world) getMapState(ItemStack itemStack, World world) voidinventoryTick(ItemStack stack, World world, Entity entity, int slot, boolean selected) Runs every tick when the item is in an inventory.voidonCraft(ItemStack stack, World world, PlayerEntity player) Runs when the item is craftedvoidupdateColors(World world, Entity entity, MapState state) Methods inherited from class net.minecraft.item.NetworkSyncedItem
isNetworkSyncedMethods inherited from class net.minecraft.item.Item
appendItemStacks, byRawId, canRepair, canUseOnEntity, fromBlock, getAttributeModifierMap, getDisplayColor, getDisplayName, getEnchantability, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMeta, getMiningSpeedMultiplier, getRarity, getRawId, getRecipeRemainder, getStatusEffectString, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasStatusEffectString, hasSubTypes, isDamageable, isEffectiveOn, isEnchantable, isFood, isHandheld, isUnbreakable, onBlockBroken, onEntityHit, onFinishUse, onHit, onStartUse, onUseStopped, postProcessNbt, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncNbtToClient, use
-
Constructor Details
-
FilledMapItem
protected FilledMapItem()- Mappings:
Namespace Name Mixin selector official <init>Lzw;<init>()Vintermediary <init>Lnet/minecraft/class_1069;<init>()Vnamed <init>Lnet/minecraft/item/Item;<init>()V
-
-
Method Details
-
getMapState
- Mappings:
Namespace Name Mixin selector official aLaab;a(ILadm;)Latg;intermediary method_3455Lnet/minecraft/class_1073;method_3455(ILnet/minecraft/class_1150;)Lnet/minecraft/class_89;named getMapStateLnet/minecraft/item/FilledMapItem;getMapState(ILnet/minecraft/world/World;)Lnet/minecraft/item/map/MapState;
-
getMapState
- Mappings:
Namespace Name Mixin selector official aLaab;a(Lzx;Ladm;)Latg;intermediary method_3453Lnet/minecraft/class_1073;method_3453(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;)Lnet/minecraft/class_89;named getMapStateLnet/minecraft/item/FilledMapItem;getMapState(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;)Lnet/minecraft/item/map/MapState;
-
updateColors
- Mappings:
Namespace Name Mixin selector official aLaab;a(Ladm;Lpk;Latg;)Vintermediary method_3454Lnet/minecraft/class_1073;method_3454(Lnet/minecraft/class_1150;Lnet/minecraft/class_864;Lnet/minecraft/class_89;)Vnamed updateColorsLnet/minecraft/item/FilledMapItem;updateColors(Lnet/minecraft/world/World;Lnet/minecraft/entity/Entity;Lnet/minecraft/item/map/MapState;)V
-
inventoryTick
Runs every tick when the item is in an inventory.- Overrides:
inventoryTickin classItem- Parameters:
stack- The item in an ItemStack formworld- The world where the item is tickingentity- The entity whose inventory contains the itemslot- The slot in which the item is placedselected- Whether the item is currently selected by the entity- Mappings:
Namespace Name Mixin selector official aLzw;a(Lzx;Ladm;Lpk;IZ)Vintermediary method_3357Lnet/minecraft/class_1069;method_3357(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_864;IZ)Vnamed inventoryTickLnet/minecraft/item/Item;inventoryTick(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/Entity;IZ)V
-
createSyncPacket
- Overrides:
createSyncPacketin classNetworkSyncedItem- Mappings:
Namespace Name Mixin selector official cLyy;c(Lzx;Ladm;Lwn;)Lff;intermediary method_3314Lnet/minecraft/class_1040;method_3314(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_988;)Lnet/minecraft/class_700;named createSyncPacketLnet/minecraft/item/NetworkSyncedItem;createSyncPacket(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/network/Packet;
-
onCraft
Runs when the item is crafted- Overrides:
onCraftin classItem- Parameters:
stack- The item in an ItemStack formworld- The world where the crafting happenedplayer- The player who crafted the item- Mappings:
Namespace Name Mixin selector official dLzw;d(Lzx;Ladm;Lwn;)Vintermediary method_3375Lnet/minecraft/class_1069;method_3375(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_988;)Vnamed onCraftLnet/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:
appendTooltipin classItem- Mappings:
Namespace Name Mixin selector official aLzw;a(Lzx;Lwn;Ljava/util/List;Z)Vintermediary method_3352Lnet/minecraft/class_1069;method_3352(Lnet/minecraft/class_1071;Lnet/minecraft/class_988;Ljava/util/List;Z)Vnamed appendTooltipLnet/minecraft/item/Item;appendTooltip(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;Ljava/util/List;Z)V
-