Skip to content

Commit

Permalink
Entity page!
Browse files Browse the repository at this point in the history
  • Loading branch information
CmdrNorthpaw committed Jun 30, 2021
1 parent 34cffee commit 9455f00
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/main/kotlin/uk/cmdrnorthpaw/needle/book/page/EntityPage.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package uk.cmdrnorthpaw.needle.book.page

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import uk.cmdrnorthpaw.needle.resources.ResourceLocation

@Serializable
class EntityPage(
val entity: ResourceLocation,

val scale: Float = 1F,
val offset: Float = 1F,

val rotate: Boolean = true,
@SerialName("default_rotation") val defaultRotation: Float = -45F,
) : Page("patchouli:entity")

0 comments on commit 9455f00

Please sign in to comment.