minecraft:pushable_by_entity for you with a switch.Get GodCraftOverview
minecraft:pushable_by_entity is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Lets other entities shove this entity when they bump into it.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
presets | PushableByEntityPreset[] | none | Push settings to use; the first one whose filter matches is applied, otherwise a default is used. |
Example
Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):
BP/entities/<name>.json
{
"minecraft:pushable_by_entity": {
"presets": []
}
}