public class WorldshaperItem extends ZapperItem
| Constructor and Description |
|---|
WorldshaperItem(net.minecraft.item.Item.Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
activate(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.item.ItemStack stack,
net.minecraft.block.BlockState stateToUse,
net.minecraft.util.math.BlockRayTraceResult raytrace,
net.minecraft.nbt.CompoundNBT data) |
protected boolean |
canActivateWithoutSelectedBlock(net.minecraft.item.ItemStack stack) |
static void |
configureSettings(net.minecraft.item.ItemStack stack,
PlacementPatterns pattern,
TerrainBrushes brush,
int brushParamX,
int brushParamY,
int brushParamZ,
TerrainTools tool,
PlacementOptions placement) |
protected int |
getCooldownDelay(net.minecraft.item.ItemStack item) |
protected int |
getZappingRange(net.minecraft.item.ItemStack stack) |
protected void |
openHandgunGUI(net.minecraft.item.ItemStack item,
net.minecraft.util.Hand hand) |
net.minecraft.util.text.ITextComponent |
validateUsage(net.minecraft.item.ItemStack item) |
appendHoverText, canAttackBlock, configureSettings, getUseAnimation, isZapper, onEntitySwing, setTileData, shouldCauseReequipAnimation, use, useOnallowdedIn, asItem, byBlock, byId, canBeDepleted, canBeHurtBy, fillItemCategory, finishUsingItem, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDescription, getDescriptionId, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getFoodProperties, getHarvestLevel, getId, getItemCategory, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getTags, getToolTypes, getUseDuration, hasCraftingRemainingItem, hurtEnemy, interactLivingEntity, inventoryTick, is, isComplex, isCorrectToolForDrops, isEdible, isEnchantable, isFireResistant, isFoil, isRepairable, isValidRepairItem, mineBlock, onCraftedBy, onUseTick, releaseUsing, shouldOverrideMultiplayerNbt, toString, 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, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, showDurabilityBarpublic WorldshaperItem(net.minecraft.item.Item.Properties properties)
protected void openHandgunGUI(net.minecraft.item.ItemStack item,
net.minecraft.util.Hand hand)
openHandgunGUI in class ZapperItemprotected int getZappingRange(net.minecraft.item.ItemStack stack)
getZappingRange in class ZapperItemprotected int getCooldownDelay(net.minecraft.item.ItemStack item)
getCooldownDelay in class ZapperItempublic net.minecraft.util.text.ITextComponent validateUsage(net.minecraft.item.ItemStack item)
validateUsage in class ZapperItemprotected boolean canActivateWithoutSelectedBlock(net.minecraft.item.ItemStack stack)
canActivateWithoutSelectedBlock in class ZapperItemprotected boolean activate(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.item.ItemStack stack,
net.minecraft.block.BlockState stateToUse,
net.minecraft.util.math.BlockRayTraceResult raytrace,
net.minecraft.nbt.CompoundNBT data)
activate in class ZapperItempublic static void configureSettings(net.minecraft.item.ItemStack stack,
PlacementPatterns pattern,
TerrainBrushes brush,
int brushParamX,
int brushParamY,
int brushParamZ,
TerrainTools tool,
PlacementOptions placement)