HyCodeYourTale
classpublicPriority 1

ItemTool

com.hypixel.hytale.server.core.asset.type.item.config.ItemTool

implements NetworkSerializable

12

Methods

12

Public Methods

7

Fields

2

Constructors

Constants

BuilderCodec<ItemTool>CODEC= BuilderCodec.builder(ItemTool.class, ItemTool::new) .addField( new KeyedCodec<>("S...
BuilderCodec<ItemTool.DurabilityLossBlockTypes>CODEC= BuilderCodec.builder( ItemTool.DurabilityLossBlockTypes.class, ItemTool.DurabilityLos...

Constructors

protected
ItemTool()
public
ItemTool(ItemToolSpec[] specs, float speed, ItemTool.DurabilityLossBlockTypes[] durabilityLossBlockTypes)

Methods

Public Methods (12)

public
int[] getBlockSetIndexes()
public
String[] getBlockSets()
public
int[] getBlockTypeIndexes()
public
String[] getBlockTypes()
public
ItemTool.DurabilityLossBlockTypes[] getDurabilityLossBlockTypes()
public
double getDurabilityLossOnHit()
public
int getHitSoundLayerIndex()
public
int getIncorrectMaterialSoundLayerIndex()
public
ItemToolSpec[] getSpecs()
public
float getSpeed()
public
com.hypixel.hytale.protocol.ItemTool toPacket()
@Nonnull
public
String toString()
@Nonnull@Override

Fields

Protected Fields (7)

protectedItemTool.DurabilityLossBlockTypes[] durabilityLossBlockTypes
protectedString hitSoundLayerId
protectedtransient int hitSoundLayerIndex
protectedString incorrectMaterialSoundLayerId
protectedtransient int incorrectMaterialSoundLayerIndex
protectedItemToolSpec[] specs
protectedfloat speed

Related Classes