public class CustomDropScreenFactory
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CustomDropScreenFactory.Builder |
Constructor and Description |
---|
CustomDropScreenFactory() |
Modifier and Type | Method and Description |
---|---|
static CustomDropScreenFactory.Builder |
builder() |
static CustomDropScreenFactory.Builder |
builder(net.minecraft.util.text.ITextComponent title) |
void |
onButtonClick(CustomDropsEvent.ClickButton event) |
void |
onDropClick(CustomDropsEvent.ClickDrop event) |
void |
onScreenClose(CustomDropsEvent.CloseScreen event) |
static java.lang.String |
openDropScreen(net.minecraft.entity.player.ServerPlayerEntity player,
net.minecraft.util.text.ITextComponent title,
java.util.List<net.minecraft.item.ItemStack> items,
net.minecraft.util.text.ITextComponent... buttons) |
static java.lang.String |
openDropScreen(java.lang.String mnemonic,
net.minecraft.entity.player.ServerPlayerEntity player,
net.minecraft.util.text.ITextComponent title,
java.util.List<net.minecraft.item.ItemStack> items,
net.minecraft.util.text.ITextComponent... buttons) |
public void onDropClick(CustomDropsEvent.ClickDrop event)
public void onScreenClose(CustomDropsEvent.CloseScreen event)
public void onButtonClick(CustomDropsEvent.ClickButton event)
public static java.lang.String openDropScreen(net.minecraft.entity.player.ServerPlayerEntity player, net.minecraft.util.text.ITextComponent title, java.util.List<net.minecraft.item.ItemStack> items, net.minecraft.util.text.ITextComponent... buttons)
public static java.lang.String openDropScreen(java.lang.String mnemonic, net.minecraft.entity.player.ServerPlayerEntity player, net.minecraft.util.text.ITextComponent title, java.util.List<net.minecraft.item.ItemStack> items, net.minecraft.util.text.ITextComponent... buttons)
public static CustomDropScreenFactory.Builder builder()
public static CustomDropScreenFactory.Builder builder(net.minecraft.util.text.ITextComponent title)