当前位置: 首页>>代码示例>>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;未经允许,请勿转载。