Skip to content

1.18.0 For 24w33a

Compare
Choose a tag to compare
@Ayfri Ayfri released this 23 Nov 16:48
· 43 commits to master since this release

Finally the first release of 1.21.2, I fixed and added missing advancement triggers also, smithing recipes do not use anymore a function for setting each properties.
Before:

val myRecipe = recipesBuilder.smithingTransform(
	name = "diamond_to_netherite"
) {
	template(Items.DIAMOND_BLOCK)
	base(Items.DIAMOND_SWORD)
	addition(Items.NETHERITE_INGOT)
	result(Items.NETHERITE_SWORD)
}

Now:

val myRecipe = recipesBuilder.smithingTransform(
	name = "diamond_to_netherite"
) {
	template = Items.DIAMOND_BLOCK
	base = Items.DIAMOND_SWORD
	addition = Items.NETHERITE_INGOT
	result = Items.NETHERITE_SWORD
}

Changelog

  • feat(advancements): Add EnterBlock trigger and relevant test cases. 5f4cdad
  • feat(advancements): Add loots and recipes extension functions to AdvancementReward, update tests to use new functions. 061a9f7
  • feat(predicates): Add optional offset parameters to Predicate.locationCheck method, add LocationCheck.predicate method. 6cca4ce
  • feat(code): Update project to 24w33a. #105 f1bfa3e
  • fix(advancements): Rename zombie to villager in VillagerTrade. 979e829
  • refactor(advancements): Make EffectsChanged advancement take a map of effect names to effects instead of strings. 857a81a
  • refactor(advancements): Update icon property for advancements to use components instead of NBT. ab8b9f0
  • refactor(predicates): Update DamageSource and DamageTagEntry to use Tags.DamageType, change tags to List, add missing builders. 2c8bb33

Full changelog: https://github.com/Ayfri/Kore/compare/v1.17.0-1.21.1..v1.18.0-24w33a