Skip to content

Various Things - #264

Open
DanyGames2014 wants to merge 43 commits into
ModificationStation:developfrom
DanyGames2014:various-gripes
Open

Various Things#264
DanyGames2014 wants to merge 43 commits into
ModificationStation:developfrom
DanyGames2014:various-gripes

Conversation

@DanyGames2014

@DanyGames2014 DanyGames2014 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor
  • Introduced UnbakedModelLoadingFinishedEvent
    • Provides context of loaded unbaked models, modes to be baked, block states and block colors
  • Introduced BeforeModelLoaderInitEvent
    • Provides context of loaded unbaked models, modes to be baked, block states and block colors
  • Introduced ModelVariantMapOverrideEvent
    • Fired after the ModelVariantMap is deserialized, allowing to add custom overrides
  • Introduced RuntimeResourcesEvent (mine_diver)
  • Added runClient and runServer methods to SideUtil
  • Moved Effect translation handling to the EntityEffectType
  • Added a directly accessable block field to AbstractBlockState and migrated usages of getBlock to it
  • Removed a relic Items class which was not used for anything
  • Optimized bounds checking in EmptyPaletteStorage
  • Added an index lookup to PackedIntegerArray to eliminate multiple seconds of runtime impact during a 60s profile run
  • Optimized PallettedContainer using direct field accesses
  • Throw an exception if an item does not exist in registry when loading a json crafting recipe
  • Map parameters in StationBlockPos
  • Add new overrides to StationBlockPos to make it consistent
  • Fixed AMI compat
  • Add getParent, getParentId and getTextureMap, getTextures to JsonUnbakedModel
  • Add an ModelsUploadedEvent
  • Add a getSprite method to BakedQuad
  • Add pickModel, getTotalWeight, getModels and getDefaultModel to WeightedBakedModel
  • Add getModel to WeightedBakedModel.Entry

@DanyGames2014
DanyGames2014 marked this pull request as ready for review June 29, 2026 20:10

@calmilamsy calmilamsy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also should've been multiple PRs, but I'll let it pass provided you fill out the body with actually useful info and separate the chunk cache into it's own PR.

# Conflicts:
#	station-flattening-v0/src/main/java/net/modificationstation/stationapi/api/block/AbstractBlockState.java
#	station-resource-loader-v0/src/main/java/net/modificationstation/stationapi/impl/resource/ModResourcePackUtil.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants