public class ComponentRegistryCommon extends java.lang.Object implements ComponentRepository
| 类型 | 属性和说明 |
|---|---|
Properties |
new |
repository| 构造器和说明 |
|---|
ComponentRegistryCommon() |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> Properties.Key<T> |
fetchKey(DrawNode node,
java.lang.Class<T> type) |
<T> Properties.Key<T> |
fetchKey(net.minecraft.util.ResourceLocation location,
java.lang.Class<T> type) |
DrawNode |
fetchNode(net.minecraft.util.ResourceLocation location) |
Pipeline<DrawNode> |
newDrawPipe() |
Properties |
newProperty() |
protected void |
register() |
void |
registerDrawNode(net.minecraft.util.ResourceLocation location,
DrawNode drawable) |
<T> void |
registerSerializer(IJsonSerializer<T> serializer,
java.lang.Class<T> type) |
public Properties newProperty
newProperty 在接口中 ComponentRepositoryprotected void register()
public DrawNode fetchNode(net.minecraft.util.ResourceLocation location)
fetchNode 在接口中 ComponentRepositorypublic <T> Properties.Key<T> fetchKey(DrawNode node, java.lang.Class<T> type)
fetchKey 在接口中 ComponentRepositorypublic <T> Properties.Key<T> fetchKey(net.minecraft.util.ResourceLocation location, java.lang.Class<T> type)
fetchKey 在接口中 ComponentRepositorypublic Properties newProperty()
newProperty 在接口中 ComponentRepositorypublic Pipeline<DrawNode> newDrawPipe()
newDrawPipe 在接口中 ComponentRepositorypublic void registerDrawNode(net.minecraft.util.ResourceLocation location,
DrawNode drawable)
public <T> void registerSerializer(IJsonSerializer<T> serializer, java.lang.Class<T> type)