本文整理匯總了Java中org.spongepowered.api.GameDictionary類的典型用法代碼示例。如果您正苦於以下問題:Java GameDictionary類的具體用法?Java GameDictionary怎麽用?Java GameDictionary使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
GameDictionary類屬於org.spongepowered.api包,在下文中一共展示了GameDictionary類的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: getGameDictionary
import org.spongepowered.api.GameDictionary; //導入依賴的package包/類
@Override
public Optional<GameDictionary> getGameDictionary() {
return Optional.empty();
}
示例2: with
import org.spongepowered.api.GameDictionary; //導入依賴的package包/類
@Override
public IIngredient.Builder with(GameDictionary.Entry entry) {
checkNotNull(entry, "entry");
this.matchers.add(entry::matches);
return withDisplay(entry.getTemplate());
}
示例3: with
import org.spongepowered.api.GameDictionary; //導入依賴的package包/類
@Override
Builder with(GameDictionary.Entry entry);
示例4: createGameDictionaryEntry
import org.spongepowered.api.GameDictionary; //導入依賴的package包/類
@Override
public GameDictionary.Entry createGameDictionaryEntry() {
throw new UnsupportedOperationException("The GameDictionary isn't supported, check first if Game#getGameDictionary is present.");
}
示例5: getGameDictionary
import org.spongepowered.api.GameDictionary; //導入依賴的package包/類
@Override
public GameDictionary getGameDictionary() {
return null;
}