Interface InstanceType<I extends Instance>
- Type Parameters:
I- The java representation of the instance.
- All Known Implementing Classes:
SimpleInstanceType
public interface InstanceType<I extends Instance>
An InstanceType contains metadata for a specific instance that Flywheel can interface with.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate(InstanceHandle handle) net.minecraft.resources.ResourceLocationlayout()net.minecraft.resources.ResourceLocationwriter()
-
Field Details
-
REGISTRY
-
-
Method Details
-
create
- Parameters:
handle- A handle that allows you to mark the instance as dirty or deleted.- Returns:
- A new, zeroed instance of I.
-
layout
Layout layout() -
writer
InstanceWriter<I> writer() -
vertexShader
net.minecraft.resources.ResourceLocation vertexShader() -
cullShader
net.minecraft.resources.ResourceLocation cullShader()
-