Added
ConditionTemplate
andGameCondition#CODEC
allow using pre-existing condition templates viaResourceLocation
s.or
field insilicate:compound
allows checking if conditions all match (or: false
) or if any match (or: true
).
Changed
GameCondition#CODEC
renamedGameCondition#TYPED_CODEC
data/<namespace>/silicate/condition
renameddata/<namespace>/silicate/condition_template
Fixed
Added
ContextParamMap#has(ContextParameterType)
ContextParamMap.Mutable
- A mutable variant ofContextParamMap
TypedGameCondition
- An interface for parameter-typed conditions to implement.EntityPassengerCondition
- A condition that tests a condition on an entity's passenger.EntityVehicleCondition
- A condition that tests a condition on an entity's vehicle.InvertedCondition
- A condition that inverts another condition's test.
Changed
- Implemented
TypedGameCondition
on all built-in conditions. - Use registries for
ContextParamType
.
Removed
- Removed
@ApiStatus.Experimental
fromGameConditionType
.
Full Changelog: https://github.com/ModGardenEvent/silicate/compare/v0.1.0+1.21.1...v0.2.0+1.21.1