Enum Class HeadTexture
- All Implemented Interfaces:
Serializable
,Comparable<HeadTexture>
,Constable
This enum holds all currently used Head textures in Slimefun.
Credit for most of these goes to our main head designer "AquaLazuryt".
- Author:
- TheBusyBiscuit
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionThis method returns anItemStack
with the given texture assigned to it.io.github.bakedlibs.dough.skins.PlayerSkin
This returns the texture hash for this particular head.This returns theUUID
for thisHeadTexture
.static HeadTexture
Returns the enum constant of this class with the specified name.static HeadTexture[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PORTABLE_CRAFTER
-
ENDER_BACKPACK
-
TIN_CAN
-
MAGNET
-
BACKPACK
-
COOLER
-
RESTORED_BACKPACK
-
CHRISTMAS_PRESENT
-
EASTER_EGG
-
BATTERY
-
CARBON
-
COMPRESSED_CARBON
-
POWER_CRYSTAL
-
STONE_CHUNK
-
LAVA_CRYSTAL
-
CHEESE
-
BUTTER
-
DUCT_TAPE
-
URANIUM
-
HEATING_COIL
-
COOLING_UNIT
-
MOTOR
-
SAPPHIRE
-
CARBONADO
-
RAW_CARBONADO
-
NEPTUNIUM
-
PLUTONIUM
-
BOOSTED_URANIUM
-
GENERATOR
-
CAPACITOR_25
-
CAPACITOR_50
-
CAPACITOR_75
-
CAPACITOR_100
-
PROGRAMMABLE_ANDROID
-
PROGRAMMABLE_ANDROID_FARMER
-
PROGRAMMABLE_ANDROID_MINER
-
PROGRAMMABLE_ANDROID_WOODCUTTER
-
PROGRAMMABLE_ANDROID_BUTCHER
-
PROGRAMMABLE_ANDROID_FISHERMAN
-
GPS_TRANSMITTER
-
GPS_CONTROL_PANEL
-
GEO_SCANNER
-
GEO_MINER
-
OIL_PUMP
-
OIL_BUCKET
-
FUEL_BUCKET
-
ELECTRIC_PRESS
-
ENERGY_REGULATOR
-
ENERGY_CONNECTOR
-
NETHER_ICE
-
ENRICHED_NETHER_ICE
-
NETHER_ICE_COOLANT_CELL
-
CARGO_MANAGER
-
CARGO_CONNECTOR_NODE
-
CARGO_INPUT_NODE
-
CARGO_OUTPUT_NODE
-
FILLED_CAN
-
EXP_COLLECTOR
-
COOLANT_CELL
-
TRASH_CAN
-
SCRIPT_START
-
SCRIPT_REPEAT
-
SCRIPT_WAIT
-
SCRIPT_FORWARD
-
SCRIPT_UP
-
SCRIPT_DOWN
-
SCRIPT_LEFT
-
SCRIPT_RIGHT
-
SCRIPT_DIG_UP
-
SCRIPT_DIG_FORWARD
-
SCRIPT_DIG_DOWN
-
SCRIPT_ATTACK
-
SCRIPT_CHOP_TREE
-
SCRIPT_FISH
-
SCRIPT_FARM_FORWARD
-
SCRIPT_FARM_DOWN
-
SCRIPT_PUSH_ITEMS
-
SCRIPT_PULL_FUEL
-
SCRIPT_NEW
-
SCRIPT_PAUSE
-
GLOBE_OVERWORLD
-
GLOBE_NETHER
-
GLOBE_THE_END
-
DEATHPOINT
-
NUCLEAR_REACTOR
-
NETHER_STAR_REACTOR
-
UNKNOWN
-
MISSING_TEXTURE
-
MINECRAFT_CHUNK
-
CHEST_TERMINAL
-
CARGO_ARROW_LEFT
-
CARGO_ARROW_RIGHT
-
ADD_NEW_LANGUAGE
-
IRON_GOLEM
-
PIGLIN_HEAD
-
NECROTIC_SKULL
-
VANILLA_AUTO_CRAFTER
-
ENHANCED_AUTO_CRAFTER
-
ARMOR_AUTO_CRAFTER
-
EXCLAMATION_MARK
-
CARGO_MOTOR
-
CRAFTING_MOTOR
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getTexture
This returns the texture hash for this particular head.- Returns:
- The associated texture hash
-
getUniqueId
This returns theUUID
for thisHeadTexture
. TheUUID
is generated from the texture and cached for performance reasons.- Returns:
- The
UUID
for thisHeadTexture
-
getAsItemStack
This method returns anItemStack
with the given texture assigned to it.- Returns:
- A custom head
ItemStack
-
getAsSkin
@Nonnull public io.github.bakedlibs.dough.skins.PlayerSkin getAsSkin()
-