public class BeltConnectorItem
extends net.minecraft.item.BlockItem
| Constructor and Description |
|---|
BeltConnectorItem(net.minecraft.item.Item.Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canConnect(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos first,
net.minecraft.util.math.BlockPos second) |
static void |
createBelts(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos start,
net.minecraft.util.math.BlockPos end) |
void |
fillItemCategory(net.minecraft.item.ItemGroup p_150895_1_,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> p_150895_2_) |
java.lang.String |
getDescriptionId() |
protected static java.lang.Integer |
maxLength() |
net.minecraft.util.ActionResultType |
useOn(net.minecraft.item.ItemUseContext context) |
static boolean |
validateAxis(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
appendHoverText, canPlace, getBlock, getPlacementState, getPlaceSound, getPlaceSound, mustSurvive, place, placeBlock, registerBlocks, removeFromBlockToItemMap, updateCustomBlockEntityTag, updateCustomBlockEntityTag, updatePlacementContextallowdedIn, asItem, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, finishUsingItem, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDescription, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getFoodProperties, getHarvestLevel, getId, getItemCategory, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getTags, getToolTypes, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, interactLivingEntity, inventoryTick, is, isComplex, isCorrectToolForDrops, isEdible, isEnchantable, isFireResistant, isFoil, isRepairable, isValidRepairItem, mineBlock, onCraftedBy, onUseTick, releaseUsing, shouldOverrideMultiplayerNbt, toString, use, useOnRelease, verifyTagAfterLoadgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canEquip, canHarvestBlock, createEntity, 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, hasCustomEntity, initCapabilities, isBookEnchantable, isDamageable, isDamaged, isEnderMask, isPiglinCurrency, isShield, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBarpublic BeltConnectorItem(net.minecraft.item.Item.Properties properties)
public java.lang.String getDescriptionId()
getDescriptionId in class net.minecraft.item.BlockItempublic void fillItemCategory(net.minecraft.item.ItemGroup p_150895_1_,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> p_150895_2_)
fillItemCategory in class net.minecraft.item.BlockItem@Nonnull public net.minecraft.util.ActionResultType useOn(net.minecraft.item.ItemUseContext context)
useOn in class net.minecraft.item.BlockItempublic static void createBelts(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos start,
net.minecraft.util.math.BlockPos end)
public static boolean canConnect(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos first,
net.minecraft.util.math.BlockPos second)
protected static java.lang.Integer maxLength()
public static boolean validateAxis(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)