Skip to content

Dev/patch - Future Patch Release#5

Merged
ShaneBeee merged 35 commits intomasterfrom
dev/patch
Feb 1, 2026
Merged

Dev/patch - Future Patch Release#5
ShaneBeee merged 35 commits intomasterfrom
dev/patch

Conversation

@ShaneBeee
Copy link
Copy Markdown
Member

@ShaneBeee ShaneBeee commented Jan 30, 2026

Describe your changes

This PR outlines a future patch release (Beta2).
Even tho this is a Patch release... since this is a beta, there will be some new stuff added.

Temp changelog:

Big thanks to @ChicknTurtle for all the help finding so many bugs.

ADDED:

  • Added a serializer for the Location type.
  • Added an expression to get/set the BlockType of a block
  • Added a condition for player crouching
  • Added expression to get/set fluid/fluid levels of a block
  • Added an expression to get the target block of a player
  • Added an expression to get the target entity of another entity/player
  • Added some expressions for itemstacks in inventories
  • Added some comparators so you can check if an Inventory/ItemContainer contains an Item/ItemStack
  • Added some converters (Item <-> BlockType) to fix issues with saving Items in vars and it actually defaulting to a BlockType
  • Added effect/section to drop items
  • Added a condition to check if an Inventory/ItemContainer can hold an ItemStack
  • Added effect commands:
    • You will need to delete your config.sk to let it regenerate to get the options (I still need to figure out how to write to config at runtime)
    • The allow-ops thing is currently broken, hopefully I'll figure that out some day
    • Currently only work in chat (gotta figure out console)

CHANGED:

  • Changed the BlockType at location/vector3i expression to support setting blocks
  • Changed location of expression to include block locations
  • Player Break Block event context-value changes:
    • item-in-hand now returns an Item (previously ItemStack)
    • itemstack-in-hand returns an ItemStack

FIXED:

  • Fixed an issue with context-values and their inaccurate pattern matching
  • Fixed an error when loading an empty script (throwing some fun errors)
  • Fixed primitive values saving to variable file as strings
  • Fixed stack trace errors being thrown when non-serializable objects are attempting to save to file
  • Fixed functions not properly registering and therefor throwing errors when attempting to call them
  • Fixed errors when using arithmetic operators
  • Fixed some number comparisons
  • Fixed an issue when stringifying empty variables
  • Fixed an issue when using location expression within another expression (name block block at)
  • Fixed a StackTraceError when looping a list of literals
  • Fixed comparison issues between BlockTypes (seemed to be more so when using a custom BlockType)

INTERNAL:

  • Types have been split up into several classes for better organization
  • Added a Json doc printer (for future docs of our wiki)

Target Hytale Versions: any
Requirements: none
Related Issues: none

Checklist before requesting a review

@ShaneBeee ShaneBeee added the future 🚀 Preparation for a future update. label Jan 31, 2026
@ShaneBeee ShaneBeee merged commit abdcd49 into master Feb 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

future 🚀 Preparation for a future update.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant