當前位置: 首頁>>代碼示例>>Java>>正文


Java IArrayEntry類代碼示例

本文整理匯總了Java中net.minecraftforge.fml.client.config.GuiEditArrayEntries.IArrayEntry的典型用法代碼示例。如果您正苦於以下問題:Java IArrayEntry類的具體用法?Java IArrayEntry怎麽用?Java IArrayEntry使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


IArrayEntry類屬於net.minecraftforge.fml.client.config.GuiEditArrayEntries包,在下文中一共展示了IArrayEntry類的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: setCustomEditListEntryClass

import net.minecraftforge.fml.client.config.GuiEditArrayEntries.IArrayEntry; //導入依賴的package包/類
public DummyListElement setCustomEditListEntryClass(Class<? extends IArrayEntry> clazz)
{
    this.arrayEntryClass = clazz;
    return this;
}
 
開發者ID:F1r3w477,項目名稱:CustomWorldGen,代碼行數:6,代碼來源:DummyConfigElement.java

示例2: setArrayEntryClass

import net.minecraftforge.fml.client.config.GuiEditArrayEntries.IArrayEntry; //導入依賴的package包/類
public IConfigElement setArrayEntryClass(Class<? extends IArrayEntry> clazz)
{
    this.arrayEntryClass = clazz;
    return this;
}
 
開發者ID:F1r3w477,項目名稱:CustomWorldGen,代碼行數:6,代碼來源:DummyConfigElement.java

示例3: getArrayEntryClass

import net.minecraftforge.fml.client.config.GuiEditArrayEntries.IArrayEntry; //導入依賴的package包/類
@Override
public Class<? extends IArrayEntry> getArrayEntryClass()
{
    return arrayEntryClass;
}
 
開發者ID:F1r3w477,項目名稱:CustomWorldGen,代碼行數:6,代碼來源:DummyConfigElement.java

示例4: getArrayEntryClass

import net.minecraftforge.fml.client.config.GuiEditArrayEntries.IArrayEntry; //導入依賴的package包/類
@Override
public Class<? extends IArrayEntry> getArrayEntryClass()
{
    return isProperty ? prop.getArrayEntryClass() : null;
}
 
開發者ID:F1r3w477,項目名稱:CustomWorldGen,代碼行數:6,代碼來源:ConfigElement.java

示例5: getArrayEntryClass

import net.minecraftforge.fml.client.config.GuiEditArrayEntries.IArrayEntry; //導入依賴的package包/類
@Override
public Class<? extends IArrayEntry> getArrayEntryClass() {
	return this.element.getArrayEntryClass();
}
 
開發者ID:OreCruncher,項目名稱:DynamicSurroundings,代碼行數:5,代碼來源:SoundConfigEntry.java

示例6: setCustomEditListEntryClass

import net.minecraftforge.fml.client.config.GuiEditArrayEntries.IArrayEntry; //導入依賴的package包/類
public TListElement setCustomEditListEntryClass(Class<? extends IArrayEntry> clazz)
{
    this.arrayEntryClass = clazz;
    return this;
}
 
開發者ID:fabbe50,項目名稱:TFICore,代碼行數:6,代碼來源:TConfigElement.java

示例7: getArrayEntryClass

import net.minecraftforge.fml.client.config.GuiEditArrayEntries.IArrayEntry; //導入依賴的package包/類
/**
 * This method returns a class that implements {@link IArrayEntry}. This class MUST provide a constructor with the
 * following parameter types: {@link GuiEditArray}, {@link GuiEditArrayEntries}, {@link IConfigElement}, {@link Object}
 *
 * @see GuiEditArrayEntries.BaseEntry
 * @see GuiEditArrayEntries.StringEntry
 * @see GuiEditArrayEntries.BooleanEntry
 * @see GuiEditArrayEntries.DoubleEntry
 * @see GuiEditArrayEntries.IntegerEntry
 */
public Class<? extends IArrayEntry> getArrayEntryClass();
 
開發者ID:F1r3w477,項目名稱:CustomWorldGen,代碼行數:12,代碼來源:IConfigElement.java

示例8: setArrayEntryClass

import net.minecraftforge.fml.client.config.GuiEditArrayEntries.IArrayEntry; //導入依賴的package包/類
/**
 * Sets a custom IGuiEditListEntry class that should be used in place of the standard entry class for this Property type. This class
 * MUST provide a constructor with the following parameter types: {@link GuiEditArray} (the owning GuiEditArray screen will be provided),
 * {@link GuiEditArrayEntries} (the parent GuiEditArrayEntries will be provided), {@link IConfigElement} (the IConfigElement for this Property
 * will be provided), and {@link Object} for the property's value.
 *
 * @see GuiEditArrayEntries.BaseEntry
 * @see GuiEditArrayEntries.StringEntry
 * @see GuiEditArrayEntries.BooleanEntry
 * @see GuiEditArrayEntries.DoubleEntry
 * @see GuiEditArrayEntries.IntegerEntry
 */
public Property setArrayEntryClass(Class<? extends IArrayEntry> clazz)
{
    this.arrayEntryClass = clazz;
    return this;
}
 
開發者ID:F1r3w477,項目名稱:CustomWorldGen,代碼行數:18,代碼來源:Property.java

示例9: getArrayEntryClass

import net.minecraftforge.fml.client.config.GuiEditArrayEntries.IArrayEntry; //導入依賴的package包/類
/**
 * Gets the custom IArrayEntry class that should be used in place of the standard entry class for this Property type, or null if
 * none has been set.
 *
 * @return a class that implements IArrayEntry
 */
public Class<? extends IArrayEntry> getArrayEntryClass()
{
    return this.arrayEntryClass;
}
 
開發者ID:F1r3w477,項目名稱:CustomWorldGen,代碼行數:11,代碼來源:Property.java


注:本文中的net.minecraftforge.fml.client.config.GuiEditArrayEntries.IArrayEntry類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。