Class UrlSkinTab
java.lang.Object
org.samo_lego.fabrictailor.client.screen.tabs.UrlSkinTab
- All Implemented Interfaces:
SkinTabType
-
Field Summary
Fields inherited from interface org.samo_lego.fabrictailor.client.screen.tabs.SkinTabType
height, width
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.network.chat.MutableComponent
net.minecraft.world.item.ItemStack
getIcon()
Optional
<net.minecraft.network.protocol.common.custom.CustomPacketPayload> getSkinChangePacket
(net.minecraft.client.player.LocalPlayer player, String url, boolean useSlim) net.minecraft.network.chat.MutableComponent
getTitle()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.samo_lego.fabrictailor.client.screen.tabs.SkinTabType
getExtendedProperty, getTabType, hasSkinModels, isSelected, showExplorerButton, showModelBackwards
-
Constructor Details
-
UrlSkinTab
public UrlSkinTab()
-
-
Method Details
-
getTitle
public net.minecraft.network.chat.MutableComponent getTitle()- Specified by:
getTitle
in interfaceSkinTabType
-
getDescription
public net.minecraft.network.chat.MutableComponent getDescription()- Specified by:
getDescription
in interfaceSkinTabType
-
getIcon
public net.minecraft.world.item.ItemStack getIcon()- Specified by:
getIcon
in interfaceSkinTabType
-
getSkinChangePacket
public Optional<net.minecraft.network.protocol.common.custom.CustomPacketPayload> getSkinChangePacket(net.minecraft.client.player.LocalPlayer player, String url, boolean useSlim) - Specified by:
getSkinChangePacket
in interfaceSkinTabType
-