public class ModularBoatItem extends net.minecraft.item.Item implements IModularItem<ModularBoatEntity>, IHulledItem
| Constructor and Description |
|---|
ModularBoatItem(net.minecraft.item.Item.Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.world.World world,
java.util.List<net.minecraft.util.text.ITextComponent> tooltip,
net.minecraft.client.util.ITooltipFlag flag) |
void |
fillItemGroup(net.minecraft.item.ItemGroup group,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> items) |
net.minecraft.entity.EntityType<ModularBoatEntity> |
getEntityType() |
HullType |
getHullType(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) |
asItem, canHarvestBlock, canPlayerBreakBlockWhileHolding, getAttributeModifiers, getContainerItem, getDefaultInstance, getDefaultTranslationKey, getDestroySpeed, getDisplayName, getDrinkSound, getEatSound, getFood, getGroup, getHarvestLevel, getIdFromItem, getIsRepairable, getItemById, getItemEnchantability, getItemFromBlock, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getRarity, getTags, getToolTypes, getTranslationKey, getTranslationKey, getUseAction, getUseDuration, hasContainerItem, hasEffect, 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, waitgetModuleListToolTipcanApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canEquip, canHarvestBlock, createEntity, damageItem, doesSneakBypassUse, elytraFlightTick, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, initCapabilities, isBookEnchantable, isDamageable, isDamaged, isEnderMask, isPiglinCurrency, isShield, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBarpublic ModularBoatItem(net.minecraft.item.Item.Properties properties)
@Nonnull
public net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> onItemRightClick(@Nonnull
net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
@Nonnull
net.minecraft.util.Hand hand)
onItemRightClick in class net.minecraft.item.Item@ParametersAreNonnullByDefault
public void fillItemGroup(net.minecraft.item.ItemGroup group,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> items)
fillItemGroup in class net.minecraft.item.Item@ParametersAreNonnullByDefault
public void addInformation(net.minecraft.item.ItemStack stack,
@Nullable
net.minecraft.world.World world,
java.util.List<net.minecraft.util.text.ITextComponent> tooltip,
net.minecraft.client.util.ITooltipFlag flag)
addInformation in class net.minecraft.item.Itempublic net.minecraft.entity.EntityType<ModularBoatEntity> getEntityType()
getEntityType in interface IModularItem<ModularBoatEntity>@Nonnull public HullType getHullType(@Nonnull net.minecraft.item.ItemStack itemStack)
getHullType in interface IHulledItem