-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic BlockState Support and Misc Delegate Methods to LevelJS #464
Basic BlockState Support and Misc Delegate Methods to LevelJS #464
Commits on Aug 22, 2022
-
Added simple Delegate methods for getting WorldBorder, Game Difficult…
…y, and MoonBrightness to LevelJS
Hunter19823 committedAug 22, 2022 Configuration menu - View commit details
-
Copy full SHA for 7904e88 - Browse repository at this point
Copy the full SHA 7904e88View commit details
Commits on Aug 24, 2022
-
Added BlockState Support to Custom Blocks (Needs Testing)
--Modifications-- BuiltinKubeJSPlugin: - Added "Properties" and "Property" binding to startup scripts for use with BlockStates BlockBuilder: - Added defaultState callback - Added placementState callback - Added BlockBuilder.property - Added BlockBuilder.boolProperty - Added BlockBuilder.enumProperty - Added BlockBuilder.dirProperty - Deprecated waterlogged BasicBlockJS - Implemented BlockBuilder.defaultState - Implemented BlockBuilder.placementState - Removed usages of BlockBuilder.waterlogged in a handful of places without removing functionality. - Added private method safeCallback for catching and logging exceptions in callback functions to startup script console. Additions: - BlockStateModifyCallbackJS (Used for registering default state) - BlockStateModifyPlacementCallbackJS (Used for modifying blockstate on placement)
Hunter19823 committedAug 24, 2022 Configuration menu - View commit details
-
Copy full SHA for 82bd62a - Browse repository at this point
Copy the full SHA 82bd62aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 061d51e - Browse repository at this point
Copy the full SHA 061d51eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d95c972 - Browse repository at this point
Copy the full SHA d95c972View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3199784 - Browse repository at this point
Copy the full SHA 3199784View commit details
Commits on Aug 25, 2022
-
Removed boolProperty, intProperty, dirProperty, and enumProperty from…
… BlockBuilder to encourage reflective use instead.
Configuration menu - View commit details
-
Copy full SHA for c3cf6b2 - Browse repository at this point
Copy the full SHA c3cf6b2View commit details -
- Fixed safeCallbackLogic - Made BlockBuilder.blockStateProperties immutable after creation. - Removed the last remaining uses of waterlogged - Fixed WaterLogged logic by implementing SimpleWaterloggedBlock BlockBuilder: - BlockBuilder.blockStateProperties is now a set for quick lookup times. - Added get and set methods to BlockStateModifyCallbackJS for simpler syntax and to clear rhino un-boxing issues.
Configuration menu - View commit details
-
Copy full SHA for db43dc0 - Browse repository at this point
Copy the full SHA db43dc0View commit details
Commits on Aug 26, 2022
-
Fixed BlockStateModifyPlacementCallbackJS.getItemInHand() to be Block…
…StateModifyPlacementCallbackJS.getItem() for use in beans
Configuration menu - View commit details
-
Copy full SHA for d57944a - Browse repository at this point
Copy the full SHA d57944aView commit details
Commits on Aug 29, 2022
-
Additions to BlockStateModifyPlacementCallbackJS:
- Added BlockStateModifyPlacementCallbackJS.waterlogged() - Added BlockStateModifyPlacementCallbackJS.isWaterLogged()
Hunter19823 committedAug 29, 2022 Configuration menu - View commit details
-
Copy full SHA for 6ce23b1 - Browse repository at this point
Copy the full SHA 6ce23b1View commit details -
Fixed reference to old BlockStateProperties binding
Hunter19823 committedAug 29, 2022 Configuration menu - View commit details
-
Copy full SHA for fb6ca18 - Browse repository at this point
Copy the full SHA fb6ca18View commit details -
Removed unused import from BlockStateModifyPlacementCallbackJS
Hunter19823 committedAug 29, 2022 Configuration menu - View commit details
-
Copy full SHA for 7d3946a - Browse repository at this point
Copy the full SHA 7d3946aView commit details -
Modified syntax for Waterlogging in BlockStateModifyPlacementCallbackJS:
- BlockStateModifyPlacementCallbackJS.isWaterLogged() is now BlockStateModifyPlacementCallbackJS.isInWater - Added BlockStateModifyPlacementCallbackJS.waterlogged(boolean)
Hunter19823 committedAug 29, 2022 Configuration menu - View commit details
-
Copy full SHA for 3df9e20 - Browse repository at this point
Copy the full SHA 3df9e20View commit details