generate: fluids, materials, voxel shapes, aabbs, item models

This commit is contained in:
Bixilon 2021-03-08 21:55:22 +01:00
parent 415082ed51
commit 46847c73e1
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4
2 changed files with 0 additions and 15 deletions

View File

@ -92,18 +92,6 @@ object EntityGenerator : Generator(
}
entityData.addProperty("luck", it)
}
entity.attributes.getInstance(Attributes.SPAWN_REINFORCEMENTS_CHANCE)?.value?.let {
if (it != entity2.attributes.getInstance(Attributes.SPAWN_REINFORCEMENTS_CHANCE)?.value) {
return@let
}
entityData.addProperty("spawn_reinforcements_chance", it)
}
entity.attributes.getInstance(Attributes.JUMP_STRENGTH)?.value?.let {
if (it != entity2.attributes.getInstance(Attributes.JUMP_STRENGTH)?.value) {
return@let
}
entityData.addProperty("jump_strength", it)
}
// entity.getEatingSound(ItemStack.EMPTY)?.let {
// if (it != SoundEvents.GENERIC_EAT) {

View File

@ -37,9 +37,6 @@ object ItemGenerator : Generator(
}
// itemData.addProperty("default_destroy_speed", item.getDestroySpeed(ItemStack.EMPTY, Registry.BLOCK.get(Registry.BLOCK.defaultKey).defaultBlockState()))
item.eatingSound?.let {
itemData.addProperty("eating_sound", Registry.SOUND_EVENT.getId(it))
}
if (item is BlockItem) {
itemData.addProperty("block", Registry.BLOCK.getId(item.block))