More Better End plants (#1471)

* github pls

* add initial textures + blockstates

* models

* started writing up the blocks

* model adjustments, added item models and textures

* cleanup

* git moment
This commit is contained in:
Pyritie 2025-07-28 23:33:10 +01:00 committed by GitHub
parent a607627d98
commit 87f9d0cf6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
624 changed files with 13023 additions and 25 deletions

View file

@ -17,37 +17,103 @@ function registerBetterEndBlocks(event) {
.notSolid()
.renderType('cutout')
event.create('betterend:inflexia', 'tfg:decorative_plant')
.tagItem('tfg:moon_plants')
.tagBlock('minecraft:replaceable')
// 1 block tall
createPlant(event, 'inflexia', 'moon')
createPlant(event, 'chorus_grass', 'moon')
createPlant(event, 'salteago', 'moon')
createPlant(event, 'vaiolush_fern', 'moon')
event.create('betterend:chorus_grass', 'tfg:decorative_plant')
.tagItem('tfg:moon_plants')
.tagBlock('minecraft:replaceable')
event.create('betterend:salteago', 'tfg:decorative_plant')
.tagItem('tfg:moon_plants')
.tagBlock('minecraft:replaceable')
event.create('betterend:vaiolush_fern', 'tfg:decorative_plant')
.tagItem('tfg:moon_plants')
.tagBlock('minecraft:replaceable')
// Mars
event.create('betterend:crystal_grass', 'tfg:decorative_plant')
.tagItem('tfg:mars_plants')
.tagBlock('minecraft:replaceable')
// 1 block tall
createPlant(event, 'aeridium', 'mars')
.box(2, 0, 2, 14, 14, 14)
createPlant(event, 'amber_grass', 'mars')
.box(3, 0, 3, 13, 8, 13)
createPlant(event, 'bolux_mushroom', 'mars')
createPlant(event, 'bushy_grass', 'mars')
.box(3, 0, 3, 13, 12, 13)
createPlant(event, 'cave_grass', 'mars')
.box(3, 0, 3, 13, 12, 13)
createPlant(event, 'clawfern', 'mars')
.box(2, 0, 2, 14, 14, 14)
createPlant(event, 'creeping_moss', 'mars')
.box(2, 0, 2, 14, 20, 14)
createPlant(event, 'flamaea', 'mars')
.box(2, 0, 2, 14, 3, 14)
createPlant(event, 'flammalix', 'mars')
createPlant(event, 'globulagus', 'mars')
.box(3, 0, 3, 13, 13, 13)
createPlant(event, 'lamellarium', 'mars')
createPlant(event, 'lutebus', 'mars')
.box(3, 0, 3, 13, 8, 13)
createPlant(event, 'orango', 'mars')
.box(3, 0, 3, 13, 12, 13)
createPlant(event, 'ruscus', 'mars')
createPlant(event, 'small_amaranita_mushroom', 'mars')
.box(3, 0, 3, 13, 8, 13)
event.create('betterend:blooming_cooksonia', 'tfg:decorative_plant')
.tagItem('tfg:mars_plants')
.tagBlock('minecraft:replaceable')
// 1 block tall waterlogged
// charnia (and its colors)
// jungle_grass
event.create('betterend:fracturn', 'tfg:decorative_plant')
.tagItem('tfg:mars_plants')
.tagBlock('minecraft:replaceable')
// Crops
// amber_root
// blossom_berry
// shadow_berry
// chorus mushroom
event.create('betterend:jungle_grass', 'tfg:decorative_plant')
.tagItem('tfg:mars_plants')
// Mosses / Can go on sides of blocks
// bulb_moss
// cyan_moss
// filalux_wings
// jungle_fern
// twisted_moss
//createPlant(event, 'aurant_polypore', 'mars')
//createPlant(event, 'purple_polypore', 'mars')
// Vines
// bulb_vine
// dense_vine
// hydralux (bottom up, waterlogged)
// jungle_vine
// magnula
// rubinea
// Blocks
// cave_bush
// cave_pumpkin (also a vine)
// "Structures"?
// blue_vine (blue)
// glowing pillar (orange)
// large amaranita
// end lily
// end lotus
// lanceleaf
// ??
createPlant('betterend:crystal_grass', 'unused')
.box(3, 0, 3, 13, 12, 13)
createPlant('betterend:blooming_cooksonia', 'unused')
.box(3, 0, 3, 13, 12, 13)
createPlant('betterend:fracturn', 'unused')
.box(3, 0, 3, 13, 12, 13)
createPlant('betterend:jungle_grass', 'unused')
.box(3, 0, 3, 13, 12, 13)
}
/**
* @param {any} event
* @param {string} id
* @param {string} planet
*/
function createPlant(event, id, planet) {
return event.create(`betterend:${id}`, 'tfg:decorative_plant')
.tagItem(`tfg:${planet}_plants`)
.tagBlock('minecraft:replaceable')
}