Pufferfish - 1.13.0.34
<<
back to
entity list
View
Entity Version History >>
Resource Packs
Last Updated
The Pufferfish 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:deflate_sensor": {
"minecraft:entity_sensor": {
"sensor_range": 10,
"require_all": true,
"event_filters": {
"none_of": [
{
"test": "is_family",
"subject": "other",
"value": "mob"
},
{
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
},
{
"none_of": {
"test": "has_ability",
"subject": "other",
"value": "instabuild"
}
}
]
}
]
},
"event": "minecraft:from_full_puff"
}
} - New Value:
"minecraft:full_puff": {
"minecraft:variant": {
"value": 2
},
"minecraft:area_attack": {
"damage_range": 0.2,
"damage_per_tick": 2,
"cause": "contact",
"entity_filter": {
"any_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
},
{
"test": "is_family",
"subject": "other",
"value": "monster"
}
]
}
},
"minecraft:mob_effect": {
"effect_range": 0.2,
"mob_effect": "poison",
"effect_time": 10,
"entity_filter": {
"any_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
},
{
"test": "is_family",
"subject": "other",
"value": "monster"
}
]
}
}
} - New Value:
"minecraft:half_puff_deflate": {
"minecraft:variant": {
"value": 1
},
"minecraft:timer": {
"looping": false,
"time": 1,
"randomInterval": false,
"time_down_event": {
"event": "minecraft:on_normal_puff"
}
}
} - New Value:
"minecraft:half_puff_inflate": {
"minecraft:variant": {
"value": 1
},
"minecraft:timer": {
"looping": false,
"time": 0.05,
"randomInterval": false,
"time_down_event": {
"event": "minecraft:on_full_puff"
}
}
} - New Value:
"minecraft:normal_puff": {
"minecraft:variant": {
"value": 0
},
"minecraft:entity_sensor": {
"sensor_range": 1.5,
"minimum_count": 1,
"event_filters": {
"any_of": [
{
"test": "is_family",
"subject": "other",
"value": "mob"
},
{
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
},
{
"none_of": {
"test": "has_ability",
"subject": "other",
"value": "instabuild"
}
}
]
}
]
},
"event": "minecraft:to_full_puff"
}
} - Previous Value:
"minecraft:pufferfish_deflated": {
"minecraft:movement": {
"value": 0.13
},
"minecraft:underwater_movement": {
"value": 0.13
}
} - Previous Value:
"minecraft:pufferfish_puffed": {
"minecraft:movement": {
"value": 0.13
},
"minecraft:underwater_movement": {
"value": 0.13
}
} - New Value:
"minecraft:start_deflate": {
"minecraft:timer": {
"looping": false,
"time": 10,
"randomInterval": false,
"time_down_event": {
"event": "minecraft:on_deflate"
}
}
} - 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:movement": {
"value": 0.13
} - New Value:
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
} - New Value:
"minecraft:underwater_movement": {
"value": 0.13
} - New Value:
"minecraft:entity_spawned": {
"add": {
"component_groups": [
"minecraft:normal_puff"
]
}
}Previous Value:"minecraft:entity_spawned": {
"add": {
"component_groups": [
"minecraft:pufferfish_deflated"
]
}
} - New Value:
"minecraft:from_full_puff": {
"add": {
"component_groups": [
"minecraft:start_deflate"
]
},
"remove": {
"component_groups": [
"minecraft:deflate_sensor"
]
}
} - New Value:
"minecraft:on_deflate": {
"add": {
"component_groups": [
"minecraft:half_puff_deflate"
]
},
"remove": {
"component_groups": [
"minecraft:full_puff",
"minecraft:start_deflate"
]
}
}Previous Value:"minecraft:on_deflate": {
"add": {
"component_groups": [
"minecraft:pufferfish_deflated"
]
},
"remove": {
"component_groups": [
"minecraft:pufferfish_puffed"
]
}
} - New Value:
"minecraft:on_full_puff": {
"add": {
"component_groups": [
"minecraft:full_puff",
"minecraft:deflate_sensor"
]
},
"remove": {
"component_groups": [
"minecraft:half_puff_inflate"
]
}
} - New Value:
"minecraft:on_normal_puff": {
"add": {
"component_groups": [
"minecraft:normal_puff"
]
},
"remove": {
"component_groups": [
"minecraft:half_puff_deflate"
]
}
} - Previous Value:
"minecraft:on_puff": {
"add": {
"component_groups": [
"minecraft:pufferfish_puffed"
]
},
"remove": {
"component_groups": [
"minecraft:pufferfish_deflated"
]
}
} - New Value:
"minecraft:to_full_puff": {
"add": {
"component_groups": [
"minecraft:half_puff_inflate"
]
},
"remove": {
"component_groups": [
"minecraft:normal_puff"
]
}
}
- 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"
}
]
}
- New Value:
"format_version": "1.10.0"
Previous Value:"format_version": "1.8.0"
- Previous Value:
"animation_controllers": [
{
"general": "controller.animation.fish.general"
}
] - New Value:
"animations": {
"flop": "animation.pufferfish.flop",
"swim": "animation.pufferfish.swim",
"general": "controller.animation.fish.general"
}Previous Value:"animations": {
"flop": "animation.pufferfish.flop",
"swim": "animation.pufferfish.swim"
} - New Value:
"render_controllers": [
{
"controller.render.pufferfish.small": "query.variant == 0"
},
{
"controller.render.pufferfish.medium": "query.variant == 1"
},
{
"controller.render.pufferfish.large": "query.variant == 2"
}
]Previous Value:"render_controllers": [
"controller.render.pufferfish"
] - New Value:
"scripts": {
"pre_animation": [
"variable.ZRot = !query.is_in_water ? Math.cos(query.time_stamp * 14.32) * 90 : 0.0;",
"variable.AnimationAmountBlend = Math.lerp(variable.AnimationAmountPrev, variable.AnimationAmount, query.frame_alpha);"
],
"animate": [
"general"
]
}Previous Value:"scripts": {
"pre_animation": [
"variable.ZRot = !query.is_in_water ? Math.cos(query.time_stamp * 14.32) * 90 : 0.0;",
"variable.AnimationAmountBlend = Math.lerp(variable.AnimationAmountPrev, variable.AnimationAmount, query.frame_alpha);"
]
}
Statistics:
Health
[6]
Loot / Barter Loot / Additional Drops
- Pufferfish
- Bone
Families
- Default: Fish, Pufferfish
Movement Speed
- Default: 0.13
Variations
- Full Puff
- Half Puff Deflate
- Half Puff Inflate
- Normal Puff
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/pufferfish.json
Animations
- resource_packs/vanilla/animations/pufferfish.animation.json
Animation Controllers
- resource_packs/vanilla/animation_controllers/fish.animation_controllers.json
Entity
- resource_packs/vanilla/entity/pufferfish.entity.json
Geometry
- resource_packs/vanilla/models/entity/pufferfish.geo.json
Loot Tables
- behavior_packs/vanilla/loot_tables/entities/pufferfish.json
Sounds
- resource_packs/vanilla/sounds/mob/fish/flop1.fsb
- resource_packs/vanilla/sounds/mob/fish/flop2.fsb
- resource_packs/vanilla/sounds/mob/fish/flop3.fsb
- resource_packs/vanilla/sounds/mob/fish/flop4.fsb
- resource_packs/vanilla/sounds/mob/fish/hurt1.fsb
- resource_packs/vanilla/sounds/mob/fish/hurt2.fsb
- resource_packs/vanilla/sounds/mob/fish/hurt3.fsb
- resource_packs/vanilla/sounds/mob/fish/hurt4.fsb
- resource_packs/vanilla/sounds/mob/fish/swim1.fsb
- resource_packs/vanilla/sounds/mob/fish/swim2.fsb
- resource_packs/vanilla/sounds/mob/fish/swim3.fsb
- resource_packs/vanilla/sounds/mob/fish/swim4.fsb
- resource_packs/vanilla/sounds/mob/fish/swim5.fsb
- resource_packs/vanilla/sounds/mob/fish/swim6.fsb
- resource_packs/vanilla/sounds/mob/fish/swim7.fsb
Spawn Rules
- behavior_packs/vanilla/spawn_rules/pufferfish.json
Textures
- resource_packs/vanilla/textures/entity/fish/pufferfish.png
Material Info:
Material: Pufferfish
{
"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"
]
}