Guardian - 1.13.0.34
<<
back to
entity list
View
Entity Version History >>
Resource Packs
Last Updated
The Guardian 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": {
"breathes_water": true
}Previous Value:"minecraft:breathable": {
"breathesWater": true
} - New Value:
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 10 : 0"
} - 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:
"minecraft:type_family": {
"family": [
"guardian",
"monster",
"mob"
]
}Previous Value:"minecraft:type_family": {
"family": [
"guardian",
"monster"
]
}
- New Value:
"format_version": "1.10.0"
Previous Value:"format_version": "1.8.0"
- New Value:
"animations": {
"setup": "animation.guardian.setup",
"spikes": "animation.guardian.spikes",
"swim": "animation.guardian.swim",
"look_at_target": "animation.common.look_at_target",
"move_eye": "animation.guardian.move_eye"
} - New Value:
"geometry": {
"default": "geometry.guardian.v1.8",
"ghost": "geometry.guardian"
}Previous Value:"geometry": {
"default": "geometry.guardian"
} - New Value:
"materials": {
"default": "guardian",
"ghost": "guardian_ghost"
} - New Value:
"min_engine_version": "1.8.0"
- New Value:
"render_controllers": [
"controller.render.guardian"
] - New Value:
"scripts": {
"pre_animation": [
"variable.spike_shake = Math.sin(query.life_time * 2000)/50;",
"variable.spike_animation_speed = query.life_time > 0.1 ? 0.0 : (!query.is_in_water ? (Math.round(Math.sin(query.life_time * 2000)) == 0.0 ? (Math.random(0.0, 1.0)) : (variable.spike_animation_speed)) : (query.is_moving ? (variable.spike_animation_speed - variable.spike_animation_speed * 0.06) : (variable.spike_animation_speed + (1.0 - variable.spike_animation_speed) * 0.06)));",
"variable.spike_extension = (1.0 - variable.spike_animation_speed) * 0.55;",
"variable.tail_animation_speed = query.life_time > 0.1 ? 0.0 : (!query.is_in_water ? 2.0 : query.is_moving ? (variable.tail_animation_speed > 0.5 ? 4.0 : variable.tail_animation_speed + (0.5 - variable.tail_animation_speed) * 0.1) : variable.tail_animation_speed + (0.125 - variable.tail_animation_speed) * 0.2);",
"variable.tail_swim = query.life_time > 0.1 ? 0.0 : (variable.tail_swim + variable.tail_animation_speed);",
"variable.tail_base_angle = Math.sin(variable.tail_swim*20.0);"
],
"animate": [
"setup",
"spikes",
"swim",
"look_at_target",
"move_eye"
]
}
Statistics:
Health
[30]
Loot / Barter Loot / Additional Drops
- Prismarine Shard
- Fish
- Prismarine Crystals
- Salmon
- Clownfish
- Pufferfish
Attack Damage
- Default: 5
Families
- Default: Guardian, Mob, Monster
Movement Speed
- Default: 0.12
Other Attributes
- Amphibious
- Can be Renamed
- Can Breach
- Can Breath in Water
- Can Jump
- Can Swim
- Has Collisions
- Has Gravity
- Pushable
- Pushable by Pistons
Associated Files:
Behavior File
- behavior_packs/vanilla/entities/guardian.json
Animations
- resource_packs/vanilla/animations/guardian.animation.json
- resource_packs/vanilla/animations/look_at_target.animation.json
Entity
- resource_packs/vanilla/entity/guardian.entity.json
Geometry
- resource_packs/vanilla/models/entity/guardian.geo.json
- resource_packs/vanilla/models/entity/guardian.v1.0.geo.json
Loot Tables
- behavior_packs/vanilla/loot_tables/entities/guardian.json
- behavior_packs/vanilla/loot_tables/gameplay/fishing/fish.json
Render Controllers
- resource_packs/vanilla/render_controllers/guardian.render_controllers.json
Sounds
- resource_packs/vanilla/sounds/mob/guardian/ambient1.fsb
- resource_packs/vanilla/sounds/mob/guardian/ambient2.fsb
- resource_packs/vanilla/sounds/mob/guardian/ambient3.fsb
- resource_packs/vanilla/sounds/mob/guardian/ambient4.fsb
- resource_packs/vanilla/sounds/mob/guardian/flop1.fsb
- resource_packs/vanilla/sounds/mob/guardian/flop2.fsb
- resource_packs/vanilla/sounds/mob/guardian/flop3.fsb
- resource_packs/vanilla/sounds/mob/guardian/flop4.fsb
- resource_packs/vanilla/sounds/mob/guardian/guardian_death.fsb
- resource_packs/vanilla/sounds/mob/guardian/guardian_hit1.fsb
- resource_packs/vanilla/sounds/mob/guardian/guardian_hit2.fsb
- resource_packs/vanilla/sounds/mob/guardian/guardian_hit3.fsb
- resource_packs/vanilla/sounds/mob/guardian/guardian_hit4.fsb
- resource_packs/vanilla/sounds/mob/guardian/land_death.fsb
- resource_packs/vanilla/sounds/mob/guardian/land_hit1.fsb
- resource_packs/vanilla/sounds/mob/guardian/land_hit2.fsb
- resource_packs/vanilla/sounds/mob/guardian/land_hit3.fsb
- resource_packs/vanilla/sounds/mob/guardian/land_hit4.fsb
- resource_packs/vanilla/sounds/mob/guardian/land_idle1.fsb
- resource_packs/vanilla/sounds/mob/guardian/land_idle2.fsb
- resource_packs/vanilla/sounds/mob/guardian/land_idle3.fsb
- resource_packs/vanilla/sounds/mob/guardian/land_idle4.fsb
Spawn Rules
- behavior_packs/vanilla/spawn_rules/guardian.json
Textures
- resource_packs/vanilla/textures/entity/guardian.png
- resource_packs/vanilla/textures/entity/guardian_beam.png
- resource_packs/vanilla/textures/entity/guardian_elder.png
Material Info:
Material: Guardian
{
"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"
]
}
Material: Guardian Ghost
{
"vertexShader": "shaders/entity.vertex",
"vrGeometryShader": "shaders/entity.geometry",
"fragmentShader": "shaders/entity.fragment",
"vertexFields": [
{
"field": "Position"
},
{
"field": "Normal"
},
{
"field": "UV0"
},
{
"field": "Position"
},
{
"field": "Color"
},
{
"field": "Normal"
},
{
"field": "UV0"
},
{
"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"
}
]
}
},
{
"skinning": {
"+defines": [
"USE_SKINNING"
],
"vertexFields": [
{
"field": "Position"
},
{
"field": "BoneId0"
},
{
"field": "Color"
},
{
"field": "Normal"
},
{
"field": "UV0"
}
]
}
},
{
"skinning": {
"+defines": [
"USE_SKINNING"
],
"vertexFields": [
{
"field": "Position"
},
{
"field": "BoneId0"
},
{
"field": "Normal"
},
{
"field": "UV0"
}
]
}
}
],
"msaaSupport": [
"Both"
],
"+samplerStates": {
"samplerIndex": 0,
"textureFilter": "Point"
},
"+defines": [
"USE_OVERLAY",
"USE_COLOR_MASK"
],
"+states": [
"Blending"
]
}