Guardian - 1.17.40.6
<<
back to
entity list
View
Entity Version History >>
Resource Packs
Last Updated
The Guardian entity last updated in Minecraft Version 1.17.10What's Changed:
Changes since stable release 1.17.34.2
There have been no changes to this entity or its associated files since this previous version
Changes since stable release 1.17.0.2
Behavior Packs- New Value:
"minecraft:behavior.nearest_attackable_target": {
"priority": 1,
"entity_types": [
{
"filters": {
"any_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
},
{
"test": "is_family",
"subject": "other",
"value": "squid"
},
{
"test": "is_family",
"subject": "other",
"value": "axolotl"
}
]
},
"max_dist": 16
}
],
"attack_interval_min": 1,
"must_see": true
}Previous Value:"minecraft:behavior.nearest_attackable_target": {
"priority": 1,
"entity_types": [
{
"filters": {
"any_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
},
{
"test": "is_family",
"subject": "other",
"value": "squid"
}
]
},
"max_dist": 16
}
],
"attack_interval_min": 1,
"must_see": true
} - New Value:
"minecraft:behavior.nearest_attackable_target": {
"priority": 1,
"entity_types": [
{
"filters": {
"any_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
},
{
"test": "is_family",
"subject": "other",
"value": "squid"
},
{
"test": "is_family",
"subject": "other",
"value": "axolotl"
}
]
},
"max_dist": 16
}
],
"attack_interval_min": 1,
"must_see": true
}Previous Value:"minecraft:behavior.nearest_attackable_target": {
"priority": 1,
"entity_types": [
{
"filters": {
"any_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
},
{
"test": "is_family",
"subject": "other",
"value": "squid"
}
]
},
"max_dist": 16
}
],
"attack_interval_min": 1,
"must_see": true
}
- New Value:
"scripts": {
"initialize": [
"variable.spike_animation_speed = 0.0;",
"variable.tail_animation_speed = 0.0;",
"variable.tail_swim = 0.0;"
],
"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"
]
}Previous 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_1.17.10/entities/guardian.json
Animations
- resource_packs/vanilla/animations/guardian.animation.json
- resource_packs/vanilla/animations/look_at_target.animation.json
Entity
- resource_packs/vanilla_1.17.10/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_beam.png
- resource_packs/vanilla_1.17.0/textures/entity/guardian.png
- resource_packs/vanilla_1.17.0/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"
]
}