add new blocks + fluids

Signed-off-by: Pyritie <pyritie@gmail.com>
This commit is contained in:
Pyritie 2025-01-10 23:20:11 +00:00 committed by GitHub
parent 11c3737c5e
commit 4602044a59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,11 @@
const registerTFGBlocks = (event) => {
event.create('tfg:artificial_end_portal_frame')
.stoneSoundType()
.tagBlock('minecraft:mineable/pickaxe')
.requiresTool(true)
.fullBlock(true)
.item(item => {
item.modelJson({ parent: 'minecraft:block/end_portal_frame' })
})
}

View file

@ -0,0 +1,28 @@
const registerTFGFluids = (event) => {
event.create('tfg:nether_slurry')
.thickTexture(0x6b281b)
.bucketColor(0x6b281b)
.temperature(1000)
.luminosity(7)
.noBlock()
event.create('tfg:enriched_nether_slurry')
.thickTexture(0x99594d)
.bucketColor(0x99594d)
.temperature(1000)
.luminosity(7)
.noBlock()
event.create('tfg:ender_slurry')
.thickTexture(0x1b5c51)
.bucketColor(0x1b5c51)
.luminosity(2)
.noBlock()
event.create('tfg:enriched_ender_slurry')
.thickTexture(0x3a9178)
.bucketColor(0x3a9178)
.luminosity(2)
.noBlock()
}