This commit is contained in:
Pyritie 2025-07-05 01:40:59 +01:00
parent 837d2dc7ef
commit 346e825351
19 changed files with 41 additions and 39 deletions

View file

@ -360,6 +360,8 @@
"tfg.tooltip.food_trait.refrigerating": "§bRefrigerating",
"tfg.tooltip.foodtrait.freeze_dried": "Cryodesiccated",
"tfg.tooltip.extraterrestrial_farming": "§4Temperature:§r An oxygenated environment provides 15°C",
"entity.tfg.moon_rabbit.male": "Moon Rabbit",
"entity.tfg.moon_rabbit.female": "Moon Rabbit",
"tfg.tooltip.moon_rabbit_variant.pink": "Pink Fur",
"tfg.tooltip.moon_rabbit_variant.white": "White Fur",
"tfg.tooltip.moon_rabbit_variant.grey": "Stony Fur",

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 709 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 709 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,015 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -56,7 +56,7 @@
]
],
"has_precipitation": false,
"creature_spawn_probability": 0.00005,
"creature_spawn_probability": 0.00006,
"spawn_costs": {
"species:limpet": {
"energy_budget": 0.15,
@ -68,10 +68,10 @@
"axolotls": [],
"creature": [
{
"type": "minecraft:rabbit",
"type": "tfg:moon_rabbit",
"maxCount": 4,
"minCount": 2,
"weight": 50
"weight": 100
},
{
"type": "species:birt",

View file

@ -54,7 +54,7 @@
]
],
"has_precipitation": false,
"creature_spawn_probability": 0.00005,
"creature_spawn_probability": 0.00006,
"spawn_costs": {
"species:limpet": {
"energy_budget": 0.15,
@ -66,10 +66,10 @@
"axolotls": [],
"creature": [
{
"type": "minecraft:rabbit",
"type": "tfg:moon_rabbit",
"maxCount": 4,
"minCount": 2,
"weight": 10
"weight": 50
},
{
"type": "species:birt",

View file

@ -54,7 +54,7 @@
]
],
"has_precipitation": false,
"creature_spawn_probability": 0.00005,
"creature_spawn_probability": 0.00006,
"spawn_costs": {
"species:limpet": {
"energy_budget": 0.15,
@ -66,7 +66,7 @@
"axolotls": [],
"creature": [
{
"type": "minecraft:rabbit",
"type": "tfg:moon_rabbit",
"maxCount": 4,
"minCount": 2,
"weight": 100

View file

@ -54,7 +54,7 @@
]
],
"has_precipitation": false,
"creature_spawn_probability": 0.00005,
"creature_spawn_probability": 0.00006,
"spawn_costs": {
"species:limpet": {
"energy_budget": 0.15,
@ -66,7 +66,7 @@
"axolotls": [],
"creature": [
{
"type": "minecraft:rabbit",
"type": "tfg:moon_rabbit",
"maxCount": 4,
"minCount": 2,
"weight": 100

View file

@ -54,7 +54,7 @@
]
],
"has_precipitation": false,
"creature_spawn_probability": 0.00008,
"creature_spawn_probability": 0.0001,
"spawn_costs": {
"species:limpet": {
"energy_budget": 0.15,
@ -66,16 +66,16 @@
"axolotls": [],
"creature": [
{
"type": "minecraft:rabbit",
"type": "tfg:moon_rabbit",
"maxCount": 4,
"minCount": 2,
"weight": 100
},
{
"type": "species:birt",
"maxCount": 3,
"minCount": 2,
"weight": 20
"maxCount": 2,
"minCount": 1,
"weight": 10
}
],
"misc": [],

View file

@ -63,7 +63,7 @@
]
],
"has_precipitation": false,
"creature_spawn_probability": 0.00008,
"creature_spawn_probability": 0.0001,
"spawn_costs": {
"species:limpet": {
"energy_budget": 0.15,
@ -75,7 +75,7 @@
"axolotls": [],
"creature": [
{
"type": "minecraft:rabbit",
"type": "tfg:moon_rabbit",
"maxCount": 4,
"minCount": 2,
"weight": 100

View file

@ -203,7 +203,7 @@ const registerAdAstraEntityTypeTags = (event) => {
// moon
const MOON_ENTITIES = [
'tfc:rat',
'minecraft:rabbit',
'tfg:moon_rabbit',
'minecraft:enderman',
'minecraft:shulker',
'minecraft:shulker_bullet',

View file

@ -127,5 +127,5 @@ const registerTFGFoodData = (event) => {
const registerTFGFauna = (event) => {
event.fauna(climate => { }, fauna => { fauna.chance(0) }, 'tfg:moon_rabbit')
//event.fauna(climate => { }, fauna => { fauna.chance(0) }, 'tfg:moon_rabbit')
}

View file

@ -2,24 +2,24 @@
function registerTFGEntityTypes(event) {
event.create('tfg:moon_rabbit', 'tfc:mammal')
.withFaunaDefinition('on_ground', 'world_surface_wg')
.foodTag('tfc:rabbit_food')
.sized(1, 1)
.modelSize(1, 1)
.updateInterval(3)
.setDeathSound("minecraft:entity.rabbit.death")
.setAmbientSound("minecraft:entity.rabbit.ambient")
.setHurtSound(context => "minecraft:entity.rabbit.hurt")
.canJump(true)
.setBlockJumpFactor(entity => 0.42)
// these are the same as tfc rabbits
.configs(config => {
config.gestationDays(19)
config.daysToAdult(80)
config.childCount(6)
config.uses(40)
config.maxFamiliarity(0.35)
config.eatsRottenFood(true)
})
//event.create('tfg:moon_rabbit', 'tfc:mammal')
// .withFaunaDefinition('on_ground', 'world_surface_wg')
// .foodTag('tfc:rabbit_food')
// .sized(1, 1)
// .modelSize(1, 1)
// .updateInterval(3)
// .setDeathSound("minecraft:entity.rabbit.death")
// .setAmbientSound("minecraft:entity.rabbit.ambient")
// .setHurtSound(context => "minecraft:entity.rabbit.hurt")
// .canJump(true)
// .setBlockJumpFactor(entity => 0.42)
// // these are the same as tfc rabbits
// .configs(config => {
// config.gestationDays(19)
// config.daysToAdult(80)
// config.childCount(6)
// config.uses(40)
// config.maxFamiliarity(0.35)
// config.eatsRottenFood(true)
// })
}