public class ItemModuleReadOnlyMemory extends ItemModule
| Constructor and Description |
|---|
ItemModuleReadOnlyMemory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doesSneakBypassUse(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.player.EntityPlayer player) |
static byte[] |
loadFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
Load ROM data from the specified NBT tag.
|
static byte[] |
loadFromStack(net.minecraft.item.ItemStack stack)
Load ROM data from the specified item stack.
|
net.minecraft.item.ItemStack |
onItemRightClick(net.minecraft.item.ItemStack stack,
net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player) |
static void |
saveToStack(net.minecraft.item.ItemStack stack,
byte[] data)
Save the specified ROM data to the specified item stack.
|
getShareTagaddInformation, canHarvestBlock, canItemEditBlocks, createEntity, doesContainerItemLeaveCraftingGrid, func_150893_a, func_150897_b, getArmorModel, getArmorTexture, getAttributeModifiers, getChestGenBase, getColorFromItemStack, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDigSpeed, getDisplayDamage, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getIcon, getIcon, getIconFromDamage, getIconFromDamageForRenderPass, getIconIndex, getIconString, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getRenderPasses, getSmeltingExperience, getSpriteNumber, getSubItems, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasEffect, hasEffect, hitEntity, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isFull3D, isItemTool, isMap, isPotionIngredient, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEaten, onEntityItemUpdate, onEntitySwing, onItemUse, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, registerIcons, registerItems, renderHelmetOverlay, requiresMultipleRenderPasses, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setPotionEffect, setTextureName, setUnlocalizedName, shouldRotateAroundWhenRendering, showDurabilityBarpublic net.minecraft.item.ItemStack onItemRightClick(net.minecraft.item.ItemStack stack,
net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player)
onItemRightClick in class net.minecraft.item.Itempublic boolean doesSneakBypassUse(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.player.EntityPlayer player)
doesSneakBypassUse in class net.minecraft.item.Itempublic static byte[] loadFromNBT(@Nullable
net.minecraft.nbt.NBTTagCompound nbt)
nbt - the tag to load the data from.public static byte[] loadFromStack(net.minecraft.item.ItemStack stack)
stack - the item stack to load the data from.public static void saveToStack(net.minecraft.item.ItemStack stack,
byte[] data)
stack - the item stack to save the data to.data - the data to save to the item stack.