VillagerUnknown's Platform

VillagerUnknown's Platform

Mod

Adds commands and simple features. A core library for VillagerUnknown mods.

Client and server LibraryManagementUtility

6,470 downloads
2 followers
Follow Save
Filter versions...

Added

  • Added chance roll for Screaming Goat head variation.
  • Added headVariationChance config option. This chance is used when variations can't be determined programmatically. E.g. The Wither variants and Screaming goats.

Changed

  • Changed PositionUtil to improve safe position finding for teleportation.

Fixed

  • Fixed name for White Splotched Rabbit head.
  • Fixed name for Spotted Wolf head.
  • Fixed variation selection for Frog heads.

This update fixes an issue reported for the Head Hunters mod.

Fixed

  • Fixed issues with HeadUtil providing Steve heads for some mobs with variants (Wolves, Frogs, Rabbits).

Changed

  • In addition to the Platform Prefix, Platform now also recognizes mod ID's containing "villagercoin". This allows Platform to recognize and load Villager Coin add-ons without the need for the Platform Prefix.

This update resolves a fatal crash with some world generation and villager trading mods.

Fixed

  • Fixed an issue with Platform's logger not being present when creating config files.

This update backports functionality and features from version 1.2.3+1.21.5. It also corrects the location of the language files. It purposefully skips version numbers.

This update changes the feature loader and breaks older versions. Users are encouraged to wait to update Platform until updates are available for all of their Platform dependent mods.

Added

  • Added persistent player profile caching system.
  • Added ItemCountMapTypeAdapter and ProfileResultMapTypeAdapter for GsonUtil.
  • Added villagerunknown-platform-flushcaches command to empty caches.
  • Added enablePlayerCaching option.
  • Added flushCacheOnServerRestart option.
  • Added bedClearsWeatherFeature.
  • Added bedInteractionsAlwaysClearWeather option.
  • Added bedInteractionsClearWeatherAtNight option.
  • Added hideNametagsFeature and corresponding NametagVisibilityPayload.
  • Added hideNametags option.
  • Added hidePlayerNametags option.

Changed

  • Changed location of translation files from resources/assets/platform to resources/assets/villagerunknown-platform.
  • Changed featureManager to use a queuing system. This allows controlled loading of features in mods registered with Platform.

This update resolves conflicts with another Platform mod.

Fixed

  • Fixed conflicting mixin name with another Platform mod.

This update resolves conflicts with another Platform mod.

Fixed

  • Fixed conflicting mixin name with another Platform mod.
  • Fixed help command providing wrong URL.

Added

  • Added persistent player profile caching system.
  • Added villagerunknown-platform-flushcaches command to empty caches.
  • Added RegistryKey property to VillagerUtil.CustomVillager to adapt to changes from MC1.21.5.

Changed

  • Changed featureManager to use a queuing system. This allows controlled loading of features in mods registered with Platform.

Added

  • Added variations for Chickens to HeadUtil.
  • Added variations for Cows to HeadUtil.
  • Added variations for Pigs to HeadUtil.

Changed

  • Changed supported Minecraft version to 1.21.5.

Added

  • Added Creaking head properties to HeadUtil.

Changed

  • Changed supported Minecraft version to 1.21.4.

Changed

  • Changed supported Minecraft version to 1.21.3.

Changed

  • Changed supported Minecraft version to 1.21.2.

Added

  • Added HeadUtil class.
  • Added PotionsUtil class.
  • Added ProfileUtil class.
  • Added VillagerUtil class.
  • Added simulateDeath method to EntityUtil class.
  • Added createPotionStack to ItemStackUtil class.
  • Added createWaterBottleStack to ItemStackUtil class.
  • Added registerVillager to RegistryUtil class.
  • Added registerPointOfInterest to RegistryUtil class.
  • Added registerVillagerProfession to RegistryUtil class.

Changed

  • Changed Minecraft version requirement to allow the mod to run on versions past 1.21.1.

Added

  • Added define method to Platform class to allow mod developers to change the "villagerunknown-" prefix.
  • Added register method to Platform class to allow mod developers to insert a PlatformMod object directly into the registered mods list.
  • Added registered method to Platform class to allow mod developers to check if a mod is registered.
  • Added registration method to Platform class to allow mod developers to retrieve a mod's PlatformMod object.
  • Added reportConversionToLog method to EntityUtil class.
  • Added reportConversionToChat method to EntityUtil class.
  • Added registerEntity method to RegistryUtil class.
  • Added getItemGroup method to RegistryUtil class.
  • Added registerItemGroup method to RegistryUtil class.
  • Added addItemToGroup method to RegistryUtil class.
  • Added capitalizeAll method to RegistryUtil class.
  • Added LocatorUtil class to provide methods for locating structures and biomes.

Fixed

  • Set pretty printing in Gson to correct formatting of files created by list.StringsList class.
  • Resolved an issue causing an incompatibility with Custom Villager Names and Healthy Habits.
  • Optimized workflow between Platform and Mods.
  • Improved Utilities.
  • Added bonus features.

Added EntityUtil method to get nearby blocks.