Filament Update 0.8.0
-
Removed
blockType
property for blocks, block states/properties are now provided by block behaviours --- This may break your current block configurations, please use one of the new block behaviours listed below and in the docs -
Added
axis
block behaviour for log/pillar-like blocks, adding anaxis
blockstate property -
Added
powerlevel
block behaviour which changes blockstate/model based on the input signal it receives, adding apowerlevel
blockstate property -
Added
facing
block behaviour for directional blocks, adding afacing
blockstate property and handling placement -
Added
horizontal_facing
block behaviour for horizontal-directional blocks, same asfacing
but only horizontal (no up/down) -
Added
crop
block behaviour for crop-like blocks -
Added
can_survive
block behaviour blocks that need a specific support block or a block with a specific block-tag, useful for plants/crops -
Models for block states now need to be defined in a vanilla way, see docs or example datapack for more info
-
Added
stripper
behaviour for items to strip logs/scrape off blocks like axes do. -
Added
compostable
behaviour for items with configurable chance of successful composting in a composter -
Added more properties for blocks (pushReaction, transparent, solid, etc)
-
Added destroy markers for decorations with blocks (using code from patbox's FactoryTools)
-
Fixes bucket interactions and sounds for noteblock based custom blocks
-
Rewritten internal behaviour system to be extensible, internal behaviours are implemented using the api
-
Updated example datapack
-
Updated and extended the docs
- Improves pickblock for decorations
- Adds config option to prevent adventure mode interactions with decorations
- Prevent container animation for spectators
- Adds break particles and break/place sounds for decorations
- Add properties for decoration break particles and sounds
- Adjust decoration place / break sound sources
- Adds ability to configure custom Armor as Armor Trims instead of using the fancypants shader provided by polymer
- Adds config option
trimArmorReplaceChainmail
to make armor possible that has transparent parts. This disables all chainmail armor from receiving smithing templates, prevents chainmail armor from being put into the smithing table and turns all chainmail armor that has armor trims into normal chainmail without trims. This is needed for armor that has transparent parts, as otherwise you can thevanillaItem
s armor texture - Fixes Rotation placement issues with decorations
- Fixes issues with animated decorations
- Adds block place and break sounds for decorations without blocks
- Improves decoration placement on replaceable blocks like grass
- Adds
display
property for decorations to change the item displays' display item_display. Can benone
,thirdperson_lefthand
,thirdperson_righthand
,firstperson_lefthand
,firstperson_righthand
,head
,gui
,ground
, andfixed
. Defaults tofixed
. - More minor bug fixes
- Fixes incompatibility with polymer 0.9.11 and later
- Rewritten decoration implementation to make decorations work better with tools like worldedit
- Rewritten behaviour system to make it easier to extend and maintain in the future (WIP)
- Extendable BlockType system
- Update blockbench-import-library for 1.21.1 support
- Adds
tripwire_block
,flat_tripwire_block
andslab_block
blockModelType option for blocks - Adds
slab
type for blocks for normal, waterloggable slabs (required when usingslab_block
) - Adds
components
field for items, blocks and decorations, vanilla datapack format:"minectaft:tool": {...}
- Adds
FilamentLoader
api for mods
Additions:
- Adds cosmetic behaviour for items:
- Cosmetics and armor can be swapped/equipped like any other item
- Cosmetics on the chest equipment slot get added as virtual item display riding the player
- Chest cosmetics support animated blockbench models
- Example cosmetic behaviour for animated chest slot swag:
"cosmetic": {
"slot": "chest",
"model": "mynamespace:wings",
"autoplay": "animation"
}
- Added
sound
property toshoot
item behaviour when the item is used - The
trap
behaviour now has properties:chance
, a percentage as interger between 0 and 100 with a default of 50%requiredEffects
, a list of status effects, example:
"trap": {
"types": ["minecraft:allay"],
"useDuration": 120,
"requiredEffects": ["minecraft:weakness"],
"chance": 75
}
- Adds /hat command
- Adds permission checks for commands, for luckperms and friends:
filament.command.dye
filament.command.hat
filament.command.pick
Fixes:
- Fixes Trap items not working properly
- Fixes Shooting items incorrectly shooting the whole itemstack
projectile
property ofshoot
item behaviour is now used as projectile- Other minor data component related fixes