aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/dev/isxander/yacl3/impl/controller/ItemControllerBuilderImpl.java
blob: 9a817fb62bcd2616de7381424152dcc18d0adc49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package dev.isxander.yacl3.impl.controller;

import dev.isxander.yacl3.api.Controller;
import dev.isxander.yacl3.api.Option;
import dev.isxander.yacl3.api.controller.ItemControllerBuilder;
import dev.isxander.yacl3.gui.controllers.dropdown.ItemController;
import net.minecraft.world.item.Item;

public class ItemControllerBuilderImpl extends AbstractControllerBuilderImpl<Item> implements ItemControllerBuilder {
	public ItemControllerBuilderImpl(Option<Item> option) {
		super(option);
	}

	@Override
	public Controller<Item> build() {
		return new ItemController(option);
	}
}