Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

Commit

Permalink
Add more comments to Gens
Browse files Browse the repository at this point in the history
  • Loading branch information
Juuxel committed Apr 14, 2019
1 parent d796b45 commit 816cb75
Showing 1 changed file with 62 additions and 1 deletion.
63 changes: 62 additions & 1 deletion src/main/kotlin/io/github/cottonmc/jsonfactory/gens/Gens.kt
Original file line number Diff line number Diff line change
Expand Up @@ -487,31 +487,92 @@ object Gens {
*/
val allChests = listOf(chestBlockModel, chestBlockState, chestItemModel, chestLootTable)

// TODO: Comments
// SCAFFOLDING

/**
* The scaffolding block model generator.
*/
val scaffoldingBlockModel: ContentGenerator = ScaffoldingBlockModel

/**
* The scaffolding block state generator.
*/
val scaffoldingBlockState: ContentGenerator = ScaffoldingBlockState

/**
* The scaffolding item model generator.
*/
val scaffoldingItemModel: ContentGenerator =
SuffixedBlockItemModel("Scaffolding", "scaffolding", GeneratorInfo.SCAFFOLDING)

/**
* The scaffolding loot table generator.
*/
val scaffoldingLootTable: ContentGenerator = ScaffoldingLootTable

/**
* A list of all scaffolding generators.
*/
val allScaffolding =
listOf(scaffoldingBlockModel, scaffoldingBlockState, scaffoldingItemModel, scaffoldingLootTable)

// BARRELS

/**
* The barrel block model generator.
*/
val barrelBlockModel: ContentGenerator = BarrelBlockModel

/**
* The barrel block state generator.
*/
val barrelBlockState: ContentGenerator = BarrelBlockState

/**
* The barrel item model generator.
*/
val barrelItemModel: ContentGenerator = SuffixedBlockItemModel("Barrel", "barrel", GeneratorInfo.BARRELS)

/**
* The barrel loot table generator.
*/
val barrelLootTable: ContentGenerator = BarrelLootTable

/**
* A list of all barrel generators.
*/
val allBarrels = listOf(barrelBlockModel, barrelBlockState, barrelItemModel, barrelLootTable)

// CAMPFIRES

/**
* The campfire block model generator.
*/
val campfireBlockModel: ContentGenerator = CampfireBlockModel

/**
* The campfire block state generator.
*/
val campfireBlockState: ContentGenerator = CampfireBlockState

/**
* The campfire item model generator.
*/
val campfireItemModel: ContentGenerator = SuffixedItemModel(
parent = Identifier.mc("item/generated"),
display = "Campfire",
suffix = "campfire",
info = GeneratorInfo.CAMPFIRES
)

/**
* The campfire loot table generator.
*/
val campfireLootTable: ContentGenerator = CampfireLootTable

/**
* A list of all campfire generators.
*/
val allCampfires = listOf(campfireBlockModel, campfireBlockState, campfireItemModel, campfireLootTable)
}

Expand Down

0 comments on commit 816cb75

Please sign in to comment.