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 Details

  • Method Details

    • create

      I create(InstanceHandle handle)
      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()