public class ItemAttrs extends Object
| Constructor and Description |
|---|
ItemAttrs() |
| Modifier and Type | Method and Description |
|---|---|
ItemAttrs |
addOtherUsesItem(String otherUsesItem) |
boolean |
equals(Object o) |
String |
getDataType()
数据类型。
|
String |
getName()
物品。
|
List<String> |
getOtherUses()
其他用途。
|
int |
hashCode() |
void |
setDataType(String dataType) |
void |
setName(String name) |
void |
setOtherUses(List<String> otherUses) |
String |
toString() |
ItemAttrs |
withDataType(String dataType) |
ItemAttrs |
withName(String name) |
ItemAttrs |
withOtherUses(java.util.function.Consumer<List<String>> otherUsesSetter) |
ItemAttrs |
withOtherUses(List<String> otherUses) |
public String getDataType()
public void setDataType(String dataType)
public String getName()
public void setName(String name)
public ItemAttrs withOtherUses(java.util.function.Consumer<List<String>> otherUsesSetter)
Copyright © 2022. All rights reserved.