跳过导航链接
A B C D E F G H I K L M N O P R S T U V W X Y 

A

accepts(ResourceLocation) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Model.CustomModelLoader
 
addButton(T) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Frame
已过时。
addGui(T) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Frame
在窗口中添加Gui
addLine(String) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
在标签中添加文本

B

BackColor - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Bar
进度条背景颜色
backColor - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
Gui背景颜色
backTexture - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Bar
进度条背景材质位置
backTexturePos - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
Gui背景材质位置
Bar - io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl中的类
Gui控件:进度条
Bar(String, float, int, int, int, int) - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Bar
自定义大小的进度条控件
BaseGui - io.gitee.zhangsisiyao.ForgeAPI.Gui中的类
所有Gui控件的父类,所有Gui都继承此类
BaseGui() - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
 
bindTexture() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTextureLoader
 
border - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Button
Gui边框的宽度
border - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
Gui边框宽度
brColor - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Button
Gui边框的颜色
brColor - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
Gui竖直边框颜色
Button - io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl中的类
Gui控件:按钮
Button(String, int, int, int, int, String) - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Button
使用自定义大小的按钮
buttonColor - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Button
按钮未聚焦时的颜色
buttonHorveredColor - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Button
按钮聚焦时的颜色

C

centered - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
是否启用文本居中
CheckBox - io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl中的类
Gui控件:选择框
CheckBox(String, int, int, int, int) - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.CheckBox
自定义大小的CheckBox
checked - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.CheckBox
CheckBox的选中状态
checkedColor - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.CheckBox
CheckBox选中的RGB颜色
close() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Resources.CustomResource
 
color - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.CheckBox
CheckBox未选中的RGB颜色
convertElemToSVG(T) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.Utils.Svg.SvgUtil
 
curr - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Bar
进度条的进度
CustomModelLoader - io.gitee.zhangsisiyao.ForgeAPI.Model中的类
 
CustomModelLoader() - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Model.CustomModelLoader
 
CustomResource - io.gitee.zhangsisiyao.ForgeAPI.Resources中的类
自定义资源,用于存放单个资源
CustomResource(ResourceLocation, String) - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Resources.CustomResource
 
CustomResourceListener - io.gitee.zhangsisiyao.ForgeAPI.Resources中的类
自定义资源加载器
CustomResourceListener() - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Resources.CustomResourceListener
 
CustomResourcePack - io.gitee.zhangsisiyao.ForgeAPI.Resources中的类
自定义资源包,用于存放加载的所有CustomResource
CustomResourcePack() - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Resources.CustomResourcePack
 

D

deleteFromCursor(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
deleteTexture() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTextureLoader
删除textureId 说明:删除textureId可以减少内存浪费, 建议在onGuiClosed事件中调用,以便释放内存
deleteWords(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
DisplayGui(GuiScreen) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.MinecraftCore
在客户端中打开Gui
displayString - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Button
按钮显示的文本
displayString - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Slider
滑动条显示的文本
drawCursor() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
drawCustomSizedTexture(int, int, int, int, GuiTexturePos2D) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
绘制自定义材质
drawGUI(int, int, float) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
绘制当前GUI到桌面
drawGUI(int, int, float) - 接口 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.IBaseGUI
绘制当前GUI到桌面
drawGUI(int, int, float) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Bar
绘制当前GUI到桌面
drawGUI(int, int, float) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Button
绘制当前GUI到桌面
drawGUI(int, int, float) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.CheckBox
绘制当前GUI到桌面
drawGUI(int, int, float) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Image
绘制当前GUI到桌面
drawGUI(int, int, float) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
绘制当前GUI到桌面
drawGUI(int, int, float) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Slider
绘制当前GUI到桌面
drawGUI(int, int, float) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
drawLabelBackground() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
绘制Label背景
drawLabelText() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
绘制Label文本
drawScreen(int, int, float) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Frame
屏幕绘制事件 绘制BackGround到屏幕
drawTextToScreen() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 

E

enabled - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Button
按钮是否启用,如果为false则按钮不能被操作
enableLines - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
是否启用多行
enableTexture - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
是否启用绘制材质 如果为true则绘制材质图片,如果为false则单纯使用颜色填充gui

F

fontRenderer - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
Gui字体信息
fontSize - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
字体大小
frame - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
Gui的容器
Frame - io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl中的类
作为父窗体加载其他Gui控件
Frame() - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Frame
Gui的主窗口,用于响应Gui控件的事件

G

getChannel(String) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.MinecraftCore.NetWorkManger
获取已经注册的Channel
getCheckedColor() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.CheckBox
获取选中时,CheckBox的RGB颜色
getClickCursorPosition(int, int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
getClickedLine(int, int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
getColor() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.CheckBox
获取未选中时,CheckBox的RGB颜色
getCommand() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.NetWork.NetworkPack
 
getCurr() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Bar
获取进度条进度
getCursorPosition() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
getData() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.NetWork.NetworkPack
 
getDocument() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Utils.Svg.SvgLoader
 
getEnableBackgroundDrawing() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
getFrame() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
获取Gui的父窗口
getFrame() - 接口 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.IBaseGUI
获取Gui的父窗口
getGifFrame(File) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.Utils.TextureUtils
获取Gif图片的所有图片帧
getGifTime(File) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.Utils.TextureUtils
获取Gif图片的帧与帧之间的时间间隔
getGuiID() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
获取Gui的id
getGuiID() - 接口 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.IBaseGUI
获取Gui的id
getHeight() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
获取Gui的高度
getHeight() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTexturePos2D
 
getHoverState() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Button
获取鼠标聚焦状态
getId() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
获取Gui的ID
getId() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
getImageBuffer() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTextureLoader
 
getInputStream() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Resources.CustomResource
 
getInputStream(ResourceLocation) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Resources.CustomResourcePack
 
getMaxHeight() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTexturePos2D
 
getMaxStringLength() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
getMaxWidth() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTexturePos2D
 
getMetadata(String) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Resources.CustomResource
 
getNthWordFromCursor(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
getNthWordFromPos(int, int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
getNthWordFromPosWS(int, int, boolean) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
getPackImage() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Resources.CustomResourcePack
 
getPackMetadata(MetadataSerializer, String) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Resources.CustomResourcePack
 
getPackName() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Resources.CustomResourcePack
 
getResourceDomains() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Resources.CustomResourcePack
 
getResourceLocation() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Resources.CustomResource
 
getResourcePackName() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Resources.CustomResource
 
getResourcesPath(String) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.Utils.ResourcesUtil
获取resources资源的绝对路径
getSelectedText() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
getSelectionEnd() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
getSliderPosition() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Slider
获取滑块的位置
getSliderValue() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Slider
获取滑动条的数值
getState() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.NetWork.NetworkPack
 
getText() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
getTextureId() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTextureLoader
 
getU() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTexturePos2D
 
getV() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTexturePos2D
 
getVisible() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
getWidth() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
获取Gui的宽度
getWidth() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
getWidth() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTexturePos2D
 
getX() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
获取Gui的横坐标x
getY() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
获取Gui的纵坐标y
GuiBaseException - io.gitee.zhangsisiyao.ForgeAPI.Gui.ex中的异常错误
 
GuiBaseException() - 异常错误 的构造器io.gitee.zhangsisiyao.ForgeAPI.Gui.ex.GuiBaseException
 
GuiBaseException(String) - 异常错误 的构造器io.gitee.zhangsisiyao.ForgeAPI.Gui.ex.GuiBaseException
 
GuiBaseException(String, Throwable) - 异常错误 的构造器io.gitee.zhangsisiyao.ForgeAPI.Gui.ex.GuiBaseException
 
GuiBaseException(Throwable) - 异常错误 的构造器io.gitee.zhangsisiyao.ForgeAPI.Gui.ex.GuiBaseException
 
GuiBaseException(String, Throwable, boolean, boolean) - 异常错误 的构造器io.gitee.zhangsisiyao.ForgeAPI.Gui.ex.GuiBaseException
 
Guis - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Frame
Gui容器,用于存放所有Gui
guiTextureLoader - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
Gui的材质TextureLoader
GuiTextureLoader - io.gitee.zhangsisiyao.ForgeAPI.Texture中的类
 
GuiTextureLoader(File) - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTextureLoader
 
GuiTextureLoader(BufferedImage) - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTextureLoader
 
GuiTextureLoader(String) - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTextureLoader
 
GuiTexturePos2D - io.gitee.zhangsisiyao.ForgeAPI.Texture中的类
平面材质位置类,用来表示材质的位置
GuiTexturePos2D(float, float, int, int, float, float) - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTexturePos2D
 

H

hasMetadata() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Resources.CustomResource
 
height - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
Gui的高度
hovered - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
Gui是否为聚焦状态
hoveredTexturePos - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Button
按钮聚焦时的材质位置

I

IBaseGUI - io.gitee.zhangsisiyao.ForgeAPI.Gui中的接口
 
id - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
Gui的id信息
Image - io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl中的类
Gui控件:图片框
Image(String, int, int, int, int, GuiTextureLoader) - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Image
 
imageGuiTextureLoader - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Image
图片加载器
imageTexture - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Image
图片的位置
init() - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.MinecraftCore
 
initGui() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Frame
窗口初始化事件 如果需要添加Gui,则在此方法中添加
INSTANCE - 类 中的静态变量io.gitee.zhangsisiyao.ForgeAPI.Resources.CustomResourcePack
 
io.gitee.zhangsisiyao.ForgeAPI - 程序包 io.gitee.zhangsisiyao.ForgeAPI
 
io.gitee.zhangsisiyao.ForgeAPI.Gui - 程序包 io.gitee.zhangsisiyao.ForgeAPI.Gui
封装了Forge的控件,例如Bar、Button、CheckBox、TextField、Label等控件
io.gitee.zhangsisiyao.ForgeAPI.Gui.ex - 程序包 io.gitee.zhangsisiyao.ForgeAPI.Gui.ex
封装了控件所产生的异常
io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl - 程序包 io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl
封装了控件的实现类
io.gitee.zhangsisiyao.ForgeAPI.Model - 程序包 io.gitee.zhangsisiyao.ForgeAPI.Model
 
io.gitee.zhangsisiyao.ForgeAPI.NetWork - 程序包 io.gitee.zhangsisiyao.ForgeAPI.NetWork
 
io.gitee.zhangsisiyao.ForgeAPI.Resources - 程序包 io.gitee.zhangsisiyao.ForgeAPI.Resources
 
io.gitee.zhangsisiyao.ForgeAPI.Texture - 程序包 io.gitee.zhangsisiyao.ForgeAPI.Texture
 
io.gitee.zhangsisiyao.ForgeAPI.Utils - 程序包 io.gitee.zhangsisiyao.ForgeAPI.Utils
ForgeAPI常用操作类
io.gitee.zhangsisiyao.ForgeAPI.Utils.Svg - 程序包 io.gitee.zhangsisiyao.ForgeAPI.Utils.Svg
 
isChecked() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.CheckBox
CheckBox是否被选中
isFocused() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
isGif(File) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.Utils.TextureUtils
判断文件是否为图片文件(GIF,PNG,JPG)
isHovered() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
Gui是否为聚焦状态
isMouseDown - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Slider
鼠标是否按下
isMouseOvered() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Button
判断Button是否为聚焦状态
isVisible() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
Gui是否可视

K

KeyInput(char, int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
键盘输入事件
KeyInput(char, int) - 接口 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.IBaseGUI
键盘输入事件
keyTyped(char, int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Frame
键盘输入事件 键盘输入时,会调用此方法

L

Label - io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl中的类
Label无法修改文本框
Label(String, int, int, int, int, int) - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
使用自定义大小的Labal
labelBgEnabled - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
是否绘制Label背景
labels - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
Label文本,每一个元素代表一行文本
loadCursorPosition() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
loadModel(ResourceLocation) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Model.CustomModelLoader
 
loadTexture(IResourceManager) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTextureLoader
 

M

max - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Bar
进度条的最大值
maxHeight - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
屏幕的最大高度
maxWidth - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
屏幕的最大宽度
mc - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
Mc主类
mc - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Frame
mc主类
min - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Bar
进度条的最小值
MinecraftCore - io.gitee.zhangsisiyao.ForgeAPI中的类
 
MinecraftCore() - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.MinecraftCore
 
MinecraftCore.NetWorkManger - io.gitee.zhangsisiyao.ForgeAPI中的类
网络管理器
mouseClicked(int, int, int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
鼠标点击事件
mouseClicked(int, int, int) - 接口 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.IBaseGUI
鼠标点击事件
mouseClicked(int, int, int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.CheckBox
鼠标点击事件
mouseClicked(int, int, int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Frame
鼠标点击事件 鼠标点击会调用此方法
mouseClicked(int, int, int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
mouseClickMove(int, int, int, long) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Frame
鼠标点击移动事件 鼠标按住,并移动鼠标会调用此方法
mouseDragged(int, int, int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
鼠标拖动事件
mouseDragged(int, int, int) - 接口 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.IBaseGUI
鼠标拖动事件
mouseDragged(int, int, int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Slider
鼠标拖动事件
mousePressed(int, int, int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
鼠标按下事件
mousePressed(int, int, int) - 接口 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.IBaseGUI
鼠标按下事件
mousePressed(int, int, int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Slider
鼠标按下事件
mouseReleased(int, int, int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
鼠标释放事件
mouseReleased(int, int, int) - 接口 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.IBaseGUI
鼠标释放事件
mouseReleased(int, int, int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Frame
鼠标释放事件
mouseReleased(int, int, int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Slider
鼠标释放事件
moveCursorBy(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 

N

NetWorkManger() - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.MinecraftCore.NetWorkManger
 
NetworkPack - io.gitee.zhangsisiyao.ForgeAPI.NetWork中的类
 
NetworkPack(String, String, Map<String, Object>) - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.NetWork.NetworkPack
 

O

onGuiClosed() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
Gui关闭事件
onGuiClosed() - 接口 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.IBaseGUI
Gui关闭事件
onGuiClosed() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Bar
Gui关闭事件
onGuiClosed() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Frame
Gui关闭事件 当Gui关闭时调用此事件
onGuiClosed() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Image
Gui关闭事件
onResourceManagerReload(IResourceManager) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Model.CustomModelLoader
 
onResourceManagerReload(IResourceManager, Predicate<IResourceType>) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Model.CustomModelLoader
 
onResourceManagerReload(IResourceManager, Predicate<IResourceType>) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Resources.CustomResourceListener
 
OverlapColor - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Bar
进度条进度颜色
overlapTexture - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Bar
进度条进度材质位置

P

packedFGColour - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Button
FML
ParamErrorException - io.gitee.zhangsisiyao.ForgeAPI.Gui.ex中的错误
 
ParamErrorException() - 错误 的构造器io.gitee.zhangsisiyao.ForgeAPI.Gui.ex.ParamErrorException
 
ParamErrorException(String) - 错误 的构造器io.gitee.zhangsisiyao.ForgeAPI.Gui.ex.ParamErrorException
 
ParamErrorException(String, Throwable) - 错误 的构造器io.gitee.zhangsisiyao.ForgeAPI.Gui.ex.ParamErrorException
 
ParamErrorException(Throwable) - 错误 的构造器io.gitee.zhangsisiyao.ForgeAPI.Gui.ex.ParamErrorException
 
ParamErrorException(String, Throwable, boolean, boolean) - 错误 的构造器io.gitee.zhangsisiyao.ForgeAPI.Gui.ex.ParamErrorException
 
playPressSound(SoundHandler) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
播放声音
playPressSound(SoundHandler) - 接口 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.IBaseGUI
播放声音
preinit() - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.MinecraftCore
API初始化工作 请在FMLPreInitializationEvent事件中调用此方法 以便确保MinecraftForgeAPI能够正常工作

R

registerChannel(Object, String) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.MinecraftCore.NetWorkManger
注册通道
registerCreativeTabs(String, ItemStack) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.MinecraftCore
注册创造模式物品栏
registerCustomModelLoder(ICustomModelLoader) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.MinecraftCore
注册自定义模型加载器
registerCustomResourceManger(ISelectiveResourceReloadListener) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.MinecraftCore
注册自定义资源加载器
registerItem(Item) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.MinecraftCore
注册物品
registerItems(Item...) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.MinecraftCore
注册物品
registerResource(ResourceLocation, String, ResourceType) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.MinecraftCore
注册自定义资源(纹理,模型等) ResourcesLocation根目录必须是指定的custom 例如:ResourceLocation location=new ResourceLocation("custom",你的自定义资源名字);
renderToImage(String, int, int) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.Utils.Svg.SvgUtil
 
renderToImage(String, int, int, boolean, String, Color) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.Utils.Svg.SvgUtil
 
renderToImage(Document, int, int) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.Utils.Svg.SvgUtil
 
renderToImage(Document, int, int, boolean) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.Utils.Svg.SvgUtil
 
renderXMLToImage(String, int, int) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.Utils.Svg.SvgUtil
 
renderXMLToImage(String, int, int, boolean, String, Color) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.Utils.Svg.SvgUtil
 
replaceFill(Document, String, Color) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.Utils.Svg.SvgUtil
 
resisterResourcePackListener(ISelectiveResourceReloadListener) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.Utils.ResourcePackUtil
注册资源包加载器
resourceExists(ResourceLocation) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Resources.CustomResourcePack
 
ResourcePackUtil - io.gitee.zhangsisiyao.ForgeAPI.Utils中的类
 
ResourcePackUtil() - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Utils.ResourcePackUtil
 
resources - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Resources.CustomResourcePack
 
ResourcesUtil - io.gitee.zhangsisiyao.ForgeAPI.Utils中的类
 
ResourcesUtil() - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Utils.ResourcesUtil
 
ResourceType - io.gitee.zhangsisiyao.ForgeAPI.Resources中的枚举
 

S

sendToServer(String, NetworkPack) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.MinecraftCore.NetWorkManger
发送数据包到服务器
setBackColor(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Bar
设置绘制背景的RGB颜色
setBackColor(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
设置背景的颜色
setBackEnabled(boolean) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
显示Label背景
setBorder(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Button
设置Gui边框宽度
setBorderColor(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
设置背景边界颜色
setBrColor(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Button
设置边框颜色
setBroderSize(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
设置边界大小
setButtonColor(int, int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Button
设置按钮未聚焦的颜色
setCanLoseFocus(boolean) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
setCentered(boolean) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
设置Label文本居中
setChecked(boolean) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.CheckBox
设置CheckBox的选中状态
setCheckedColor(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.CheckBox
设置选中时,CheckBox的RGB颜色
setColor(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.CheckBox
设置未选中时,CheckBox的RGB颜色
setCommand(String) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.NetWork.NetworkPack
 
setCurr(float) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Bar
设置进度条进度
setCursorPosition(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
setCursorPositionEnd() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
setCursorPositionZero() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
setData(Map<String, Object>) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.NetWork.NetworkPack
 
setDisabledTextColour(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
setDisplayString(String) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Button
设置按钮上显示的文本
setEnableBackgroundDrawing(boolean) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
setEnabled(boolean) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
setEnableLines(boolean) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
是否启用多行
setEnableTexture(boolean) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
是否启用材质
setFocused(boolean) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
setFontSize(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
设置文本大小
setFrame(Gui) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
设置Gui的父窗口
setFrame(Gui) - 接口 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.IBaseGUI
设置Gui的父窗口
setHeight(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
设置Gui的高度
setHeight(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTexturePos2D
 
setHovered(boolean) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
设置Gui的聚焦状态
setId(String) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
设置Gui的ID
setImageTexture(GuiTextureLoader, GuiTexturePos2D) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Image
设置Image图片
setMaxHeight(float) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTexturePos2D
 
setMaxStringLength(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
setMaxWidth(float) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTexturePos2D
 
setOverlapColor(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Bar
设置进度条进度的RGB颜色
setResolution(int, int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
设置窗口分辨率
setResolution(int, int) - 接口 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.IBaseGUI
设置窗口分辨率
setSelectionPos(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
setSliderPosition(float) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Slider
设置滑块的位置
setSliderValue(float) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Slider
设置滑动条的数值
setState(String) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.NetWork.NetworkPack
 
setSvgSize(int, int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Utils.Svg.SvgLoader
 
setText(String) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
setTextColor(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
设置文本颜色
setTextColor(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
setTexture(GuiTextureLoader) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
加载Gui的材质
setTexture(GuiTexturePos2D, GuiTexturePos2D) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Bar
设置进度条背景位置
setTexturePos(GuiTexturePos2D, GuiTexturePos2D) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Button
设置未聚焦状态的按钮材质位置
setU(float) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTexturePos2D
 
setV(float) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTexturePos2D
 
setVisible(boolean) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
设置Gui是否可视
setVisible(boolean) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
setWidth(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
设置Gui的宽度
setWidth(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTexturePos2D
 
setWorldAndResolution(Minecraft, int, int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Frame
设置窗口分辨率事件
setX(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
设置Gui的横坐标x
setY(int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
设置Gui的纵坐标y
Slider - io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl中的类
 
Slider(String, int, int, int, int, String, float, float, float) - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Slider
自定义大小的滑动条
startGifTread() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTextureLoader
 
stopGifTread() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Texture.GuiTextureLoader
 
SvgLoader - io.gitee.zhangsisiyao.ForgeAPI.Utils.Svg中的类
 
SvgLoader(String) - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Utils.Svg.SvgLoader
 
SvgLoader(File) - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Utils.Svg.SvgLoader
 
SvgUtil - io.gitee.zhangsisiyao.ForgeAPI.Utils.Svg中的类
 
SvgUtil() - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Utils.Svg.SvgUtil
 

T

textboxKeyTyped(char, int) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
textColor - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Label
文本字体颜色
TextField - io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl中的类
 
TextField(String, int, int, int, int) - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
texturePos - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Button
按钮未聚焦时的材质位置
TextureUtils - io.gitee.zhangsisiyao.ForgeAPI.Utils中的类
 
TextureUtils() - 类 的构造器io.gitee.zhangsisiyao.ForgeAPI.Utils.TextureUtils
 
toNetworkPack(byte[]) - 类 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.MinecraftCore.NetWorkManger
解析数据包

U

updateCursorCounter() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 
updateGUI() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
更新GUI事件
updateGUI() - 接口 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.IBaseGUI
更新GUI事件
updateGUI() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Bar
更新GUI事件
updateScreen() - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.Frame
屏幕更新事件 更新屏幕,打开时会一直调用updateScreen 因此此函数大部分用来更新数据

V

valueOf(String) - 枚举 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.Resources.ResourceType
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法io.gitee.zhangsisiyao.ForgeAPI.Resources.ResourceType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
visible - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
Gui是否可以被看见

W

width - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
Gui的宽度
writeText(String) - 类 中的方法io.gitee.zhangsisiyao.ForgeAPI.Gui.Impl.TextField
 

X

x - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
Gui的横坐标X

Y

y - 类 中的变量io.gitee.zhangsisiyao.ForgeAPI.Gui.BaseGui
Gui的纵坐标Y
A B C D E F G H I K L M N O P R S T U V W X Y 
跳过导航链接