Cod - 1.13.0.34
<<
back to
entity list
View
Entity Version History >>
Resource Packs
Last Updated
The Cod entity last updated in Minecraft Version oldWhat's Changed:
Changes since stable release 1.12.0.28
Behavior Packs- New Value:
"format_version": "1.13.0"
Previous Value:"format_version": "1.8.0"
- New Value:
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_air": false,
"breathes_water": true
}Previous Value:"minecraft:breathable": {
"totalSupply": 15,
"suffocateTime": 0,
"breathesAir": false,
"breathesWater": true
} - New Value:
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
} - New Value:
"minecraft:flocking": {
"in_water": true,
"match_variants": false,
"use_center_of_mass": true,
"low_flock_limit": 4,
"high_flock_limit": 8,
"goal_weight": 2,
"loner_chance": 0.1,
"influence_radius": 3,
"breach_influence": 7,
"separation_weight": 1.75,
"separation_threshold": 0.95,
"cohesion_weight": 2,
"cohesion_threshold": 1.95,
"innner_cohesion_threshold": 1.25,
"min_height": 1.5,
"max_height": 6,
"block_distance": 2,
"block_weight": 0.85
} - New Value:
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": {
"test": "in_lava",
"subject": "self",
"operator": "==",
"value": true
},
"cause": "lava",
"damage_per_tick": 4
}
]
} - New Value:
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
- New Value:
"initial_state": "flopping"
- New Value:
"flopping": {
"animations": [
"flop"
],
"transitions": [
{
"swimming": "query.is_in_water || query.is_levitating"
}
]
}Previous Value:"flopping": {
"animations": [
{
"flop": []
}
],
"transitions": [
{
"swimming": "query.is_in_water"
}
]
} - New Value:
"format_version": "1.10.0"
Previous Value:"format_version": "1.8.0"
- New Value:
"swimming": {
"animations": [
"swim"
],
"transitions": [
{
"flopping": "!query.is_in_water && !query.is_levitating"
}
]
}Previous Value:"swimming": {
"animations": [
{
"swim": []
}
],
"transitions": [
{
"flopping": "!query.is_in_water"
}
]
}
Statistics:
Health
[6]
Loot / Barter Loot / Additional Drops
- Fish
- Bone
Families
- Default: Cod, Fish
Movement Speed
- Default: 0.1
Other Attributes
- Can be Renamed
- Can Breath in Water
- Can Swim
- Has Collisions
- Pushable
- Pushable by Pistons
Associated Files:
Behavior File
- behavior_packs/vanilla/entities/fish.json
Animations
- resource_packs/vanilla/animations/cod.animation.json
Animation Controllers
- resource_packs/vanilla/animation_controllers/fish.animation_controllers.json
Entity
- resource_packs/vanilla/entity/cod.entity.json
Geometry
- resource_packs/vanilla/models/entity/cod.geo.json
Loot Tables
- behavior_packs/vanilla/loot_tables/entities/fish.json
Render Controllers
- resource_packs/vanilla/render_controllers/cod.render_controllers.json
Spawn Rules
- behavior_packs/vanilla/spawn_rules/cod.json
Textures
- resource_packs/vanilla/textures/entity/fish/cod.png
Material Info:
Material: Cod
{
"vertexShader": "shaders/entity.vertex",
"vrGeometryShader": "shaders/entity.geometry",
"fragmentShader": "shaders/entity.fragment",
"vertexFields": [
{
"field": "Position"
},
{
"field": "Normal"
},
{
"field": "UV0"
}
],
"variants": [
{
"skinning": {
"+defines": [
"USE_SKINNING"
],
"vertexFields": [
{
"field": "Position"
},
{
"field": "BoneId0"
},
{
"field": "Normal"
},
{
"field": "UV0"
}
]
}
},
{
"skinning_color": {
"+defines": [
"USE_SKINNING",
"USE_OVERLAY"
],
"+states": [
"Blending"
],
"vertexFields": [
{
"field": "Position"
},
{
"field": "BoneId0"
},
{
"field": "Color"
},
{
"field": "Normal"
},
{
"field": "UV0"
}
]
}
}
],
"msaaSupport": [
"Both"
],
"+samplerStates": {
"samplerIndex": 1,
"textureWrap": "Repeat"
},
"+defines": [
"USE_OVERLAY",
"ALPHA_TEST"
],
"+states": [
"DisableCulling"
]
}