Sample script, for posterity
- Updated LibCD version to prevent crash
- Comment out unused NBTCrafting compat class due to jitpack issues
- Add compatibility mode for custom special recipes
- Allows vanilla clients to connect to servers using LibDP
- Set the property
"libdp.compat"
or create the file .minecraft/config/libdp_compat_mode.txt
to enable
- Currently untested, please report any discovered issues
- Fixed log messages in all recipe types
- Inventory parameters in custom recipes are now a 2D array of stacks instead of a 1D array (breaking change)
CraftingUtils
now has methods for both 1D and 2D stack info arrays
RecipeParser
stack and ingredient parsing can now take Item
s (ingredient parsing can also take Item[]
s)
- Renamed methods for obtaining raw forms of registered objects in
DriverUtils
(breaking change)
- Added methods to
DriverUtils
to obtain mutable stacks or stack infos from raw stacks
- Removed
DriverUtils#isItemListEmpty
(breaking change)
- Added
StackInfo#getRawItem
WorldInfo#isDay
now checks the current time of day (breaking change)
- Previous behavior can be accessed with
WorldInfo#isSunnyDay
- Added
WorldInfo#getDimension
- Added
WrappedPlayer#getMaxHealth
, #getAbsorption
, #getArmor
, #getLuck
, #getScore
, and isCreativeOp
- Removed redundant
WrappedPlayer#damage
method, should not be breaking due to overloading
- Errored diskettes should now trigger data pack safe mode