public class ItemExaltedCrafter extends org.cyclops.cyclopscore.item.ItemGui implements IItemEmpowerable
| Modifier and Type | Class and Description |
|---|---|
class |
ItemExaltedCrafter.ItemHandler |
| Constructor and Description |
|---|
ItemExaltedCrafter(net.minecraft.item.Item.Properties properties,
boolean wooden,
boolean empowered) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.entity.Entity |
createEntity(net.minecraft.world.World world,
net.minecraft.entity.Entity location,
net.minecraft.item.ItemStack itemStack) |
net.minecraft.item.ItemStack |
empower(net.minecraft.item.ItemStack itemStack)
Set the given ItemStack as an empowered item.
|
net.minecraft.inventory.container.INamedContainerProvider |
getContainer(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity playerEntity,
int itemIndex,
net.minecraft.util.Hand hand,
net.minecraft.item.ItemStack itemStack) |
java.lang.Class<? extends net.minecraft.inventory.container.Container> |
getContainerClass(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity playerEntity,
net.minecraft.item.ItemStack itemStack) |
net.minecraft.item.Rarity |
getRarity(net.minecraft.item.ItemStack itemStack) |
net.minecraft.inventory.IInventory |
getSupplementaryInventory(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.item.ItemStack itemStack,
int itemIndex,
net.minecraft.util.Hand hand)
Get the supplementary inventory of the given crafter.
|
boolean |
hasCustomEntity(net.minecraft.item.ItemStack itemStack) |
boolean |
hasEffect(net.minecraft.item.ItemStack itemStack) |
net.minecraftforge.common.capabilities.ICapabilityProvider |
initCapabilities(net.minecraft.item.ItemStack stack,
net.minecraft.nbt.CompoundNBT nbt) |
boolean |
isEmpowered(net.minecraft.item.ItemStack itemStack)
If the given ItemStack is an empowered item.
|
static boolean |
isReturnToInner(net.minecraft.item.ItemStack itemStack) |
net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> |
onItemRightClick(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand) |
static void |
setReturnToInner(net.minecraft.item.ItemStack itemStack,
boolean returnToInner) |
getOpenStat, onDroppedByPlayer, openGuiForItemIndex, writeExtraGuiDataaddInformation, asItem, canHarvestBlock, canPlayerBreakBlockWhileHolding, fillItemGroup, getAttributeModifiers, getContainerItem, getDefaultInstance, getDefaultTranslationKey, getDestroySpeed, getDisplayName, getDrinkSound, getEatSound, getFood, getGroup, getHarvestLevel, getIdFromItem, getIsRepairable, getItemById, getItemEnchantability, getItemFromBlock, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getTags, getToolTypes, getTranslationKey, getTranslationKey, getUseAction, getUseDuration, hasContainerItem, hitEntity, inventoryTick, isComplex, isCrossbow, isDamageable, isDamageable, isEnchantable, isFood, isImmuneToFire, isIn, isInGroup, isRepairable, itemInteractionForEntity, onBlockDestroyed, onCreated, onItemUse, onItemUseFinish, onPlayerStoppedUsing, onUse, rayTrace, shouldSyncTag, toString, updateItemStackNBTgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canEquip, canHarvestBlock, damageItem, doesSneakBypassUse, elytraFlightTick, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, isBookEnchantable, isDamageable, isDamaged, isEnderMask, isPiglinCurrency, isShield, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBarpublic ItemExaltedCrafter(net.minecraft.item.Item.Properties properties,
boolean wooden,
boolean empowered)
public boolean hasEffect(net.minecraft.item.ItemStack itemStack)
hasEffect in class net.minecraft.item.Itempublic net.minecraft.item.Rarity getRarity(net.minecraft.item.ItemStack itemStack)
getRarity in class net.minecraft.item.Itempublic boolean isEmpowered(net.minecraft.item.ItemStack itemStack)
IItemEmpowerableisEmpowered in interface IItemEmpowerableitemStack - The ItemStack to check.public net.minecraft.item.ItemStack empower(net.minecraft.item.ItemStack itemStack)
IItemEmpowerableempower in interface IItemEmpowerableitemStack - The ItemStack to check.public net.minecraft.inventory.IInventory getSupplementaryInventory(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.item.ItemStack itemStack,
int itemIndex,
net.minecraft.util.Hand hand)
player - The player using the crafter.itemStack - The item stack.itemIndex - The item index.hand - The used hand.public boolean hasCustomEntity(net.minecraft.item.ItemStack itemStack)
hasCustomEntity in interface net.minecraftforge.common.extensions.IForgeItempublic net.minecraft.entity.Entity createEntity(net.minecraft.world.World world,
net.minecraft.entity.Entity location,
net.minecraft.item.ItemStack itemStack)
createEntity in interface net.minecraftforge.common.extensions.IForgeItempublic static void setReturnToInner(net.minecraft.item.ItemStack itemStack,
boolean returnToInner)
public static boolean isReturnToInner(net.minecraft.item.ItemStack itemStack)
@Nullable
public net.minecraft.inventory.container.INamedContainerProvider getContainer(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity playerEntity,
int itemIndex,
net.minecraft.util.Hand hand,
net.minecraft.item.ItemStack itemStack)
getContainer in class org.cyclops.cyclopscore.item.ItemGuipublic java.lang.Class<? extends net.minecraft.inventory.container.Container> getContainerClass(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity playerEntity,
net.minecraft.item.ItemStack itemStack)
getContainerClass in class org.cyclops.cyclopscore.item.ItemGuipublic net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> onItemRightClick(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand)
onItemRightClick in class org.cyclops.cyclopscore.item.ItemGuipublic net.minecraftforge.common.capabilities.ICapabilityProvider initCapabilities(net.minecraft.item.ItemStack stack,
net.minecraft.nbt.CompoundNBT nbt)
initCapabilities in interface net.minecraftforge.common.extensions.IForgeItem