Releases: MineExplorer/BlockEngine
Releases · MineExplorer/BlockEngine
BlockEngine v13
- add ItemRegistry.addToCreative & final fix of duplicate creative items
- refactored LiquidItemRegistry: added ability to create custom liquid storage items
- register water bottle as liquid item with 250 mB of water
- add new BlockSource methods to WorldRegion
- add new special type properties to block type
- define flame and burn odds for default block types
BlockEngine v12
Changelog
- add VirtualBlockData api
- onRedstoneUpdate func
- fix getGrassColor method
- fix type errors
BlockEngine v11
Added BlockEngine.sendMessage method to send parametrized messages that will be translated by the client.
Example: BlockEngine.sendMessage(client, "§e", "Mode: %s", "iridium_drill.fortune");
BlockEngine v10
- Added API documentation using JSDoc.
- Added BlockRegistry.createSlabs method.
- BlockRotative class is exported via API.
- Added methods to PlayerEntity: getItemUseDuration, getItemUseDuration, getItemUseStartupProgress
- Fixed bug with LiquidItemRegustry.getFullItem changing liquid type in items.
- Other minor fixes.
BlockEngine v9
- Refactored TileEntity method decorators (fixed bugs)
- Tool types compatible with Kernel Extension
- Axe can be used to make stipped crimson and warped steems
- Log rotation is saved on making it stripped
- Added ItemStack.copy and isEmpty methods
- Improved WorldRegion methods:
- data argument in WorldRegion.setBlock and setExtraBlock can be omitted
- added more overloads with vectors
- added stubs for legacy API
BlockEngine v8
- Block classes registry
- BlockBase, BlockRotative and BlockStairs classes
- Custom block types with inheritance
- Block properties setters
- Advanced food creation based on vanilla JSON properties
- [WorldRegion].dropAtBlock to drop item at the block center
BlockEngine v7
- BlockEngine now is shared library (as it was supposed to from the beginning).
- The library prevents item dublication in creative inventory for items added by the library.
- 1.11 compatibility for [WorldRegion].breakBlockForResult
BlockEngine v6
Changelog
- New modules:
- BlockRegistry
- BlockModeler - Added analogues of BloskSource methods in WorldRegion
- Tools of ToolType.HOE can mine blocks as vanilla hoes in 1.16
- New methods in ItemRegistry: getType, isVanilla, getVanillaStringID,
- Added ItemStack methods to work with enchants and custom names in ItemExtra
- Added enum MiningLevel
BlockEngine v5
- Added BlockEngine.sendUnlocalizedMessage method
- Added more IDs to IDConverter
BlockEngine v4
Added:
- IDConverter module for converting IDs from 1.16 to 1.11
- BlockEngine.getGameVersion
- BlockEngine.getMainGameVersion
- WorldRegion.listEntitiesInAABB can fetch players