Sounds of various blocks, such as doors, trapdoors, buttons, pressure plates, etc. Many damage related checks previously hardcoded in the game, such as fall damage-immune mobs (via handleFallDamage override), are now handled using entity and damage type tags. Several data pack predicates related to damages have changed to reflect this. To check if damage is of a certain type, tags should be used. GetDamageSources method also exists in Entity as a shortcut. + anotherEntity.damage(world.getDamageSources().fallingAnvil(attacker), 1.0F) + targetEntity.damage(world.getDamageSources().magic(), 4.0F) anotherEntity.damage(DamageSource.anvil(attacker), 1.0F) targetEntity.damage(DamageSource.MAGIC, 4.0F) Enabled features and operator permission flag are now passed via the context object. Callback passed to ItemGroup.Builder#entries now takes two arguments, instead of three. Minecraft 1.19.4 introduces some breaking changes to major developer-facing APIs. In Block Render Layer API, BlockRenderLayerMap’s useless item-related methods were deprecated for removal. In Registry Sync, FabricRegistryBuilder no longer requires the type class to be passed - just the registry key.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |