public class TugBoatItem<T extends TugBoatEntity> extends GenericBoatItem
| Constructor and Description |
|---|
TugBoatItem(com.tterrag.registrate.util.nullness.NonNullSupplier<net.minecraft.entity.EntityType<T>> entityTypeSupplier,
net.minecraft.item.Item.Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEquip(net.minecraft.item.ItemStack stack,
net.minecraft.inventory.EquipmentSlotType armorType,
net.minecraft.entity.Entity entity) |
protected net.minecraft.entity.Entity |
createBoatEntity(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.util.math.RayTraceResult rayTraceResult) |
onItemRightClickaddInformation, asItem, canHarvestBlock, canPlayerBreakBlockWhileHolding, fillItemGroup, 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, waitcanApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, 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 TugBoatItem(com.tterrag.registrate.util.nullness.NonNullSupplier<net.minecraft.entity.EntityType<T>> entityTypeSupplier, net.minecraft.item.Item.Properties properties)
public boolean canEquip(net.minecraft.item.ItemStack stack,
net.minecraft.inventory.EquipmentSlotType armorType,
net.minecraft.entity.Entity entity)
@Nonnull
protected net.minecraft.entity.Entity createBoatEntity(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.util.math.RayTraceResult rayTraceResult)
createBoatEntity in class GenericBoatItem