Class OrientedType
java.lang.Object
com.jozufozu.flywheel.core.materials.oriented.OrientedType
- All Implemented Interfaces:
Batched<OrientedData>,Instanced<OrientedData>,StructType<OrientedData>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()net.minecraft.resources.ResourceLocationCreate aStructWriterthat will consume instances of S and write them to the given buffer.void
-
Field Details
-
FORMAT
-
-
Constructor Details
-
OrientedType
public OrientedType()
-
-
Method Details
-
create
- Specified by:
createin interfaceStructType<OrientedData>- Returns:
- A new, zeroed instance of S.
-
getLayout
- Specified by:
getLayoutin interfaceStructType<OrientedData>- Returns:
- The layout of S when buffered.
-
getWriter
Description copied from interface:InstancedCreate aStructWriterthat will consume instances of S and write them to the given buffer.- Specified by:
getWriterin interfaceInstanced<OrientedData>- Parameters:
backing- The buffer that the StructWriter will write to.
-
getProgramSpec
public net.minecraft.resources.ResourceLocation getProgramSpec()- Specified by:
getProgramSpecin interfaceInstanced<OrientedData>
-
transform
- Specified by:
transformin interfaceBatched<OrientedData>
-