Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Creators
Details
š Description
š Custom Spyglass Scope
Ru
Custom Spyglass Scope ā ŃŃŠ¾ Š»ŃŠ³ŠŗŠøŠ¹ клиенŃŃŠŗŠøŠ¹ Fabric-моГ, ŠŗŠ¾ŃŠ¾ŃŃŠ¹ ŠæŠ¾Š·Š²Š¾Š»ŃŠµŃ заменŃŃŃ ŃŃŠ°Š½Š“аŃŃŠ½Ńй ŃŠŗŠ¾ŃŠæ ŠæŠ¾Š“Š·Š¾ŃŠ½Š¾Š¹ ŃŃŃŠ±Ń на ŠæŠ¾Š»ŃŠ·Š¾Š²Š°ŃелŃŃŠŗŠøŠµ ŃŠµŠŗŃŃŃŃŃ ŃŠµŃез CustomModelData, без ŠŗŠ¾Š½Ńигов, JSON-ŃŠ°Š¹Š»Š¾Š² Šø ŃŠ»Š¾Š¶Š½Š¾Š¹ логики.
ŠŠ¾Š“ ŠøŠ“ŠµŠ°Š»ŃŠ½Š¾ ŠæŠ¾Š“Ń Š¾Š“ŠøŃ Š“Š»Ń:
- ŃŠµŃŃŃŃŠæŠ°ŠŗŠ¾Š²
- RPG / PvP ŃŠµŃŠ²ŠµŃŠ¾Š²
- каŃŃŠ¾Š¼Š½ŃŃ ŠæŃŠµŠ“Š¼ŠµŃŠ¾Š²
- OptiFine-поГобного повеГениŃ, но Š½Š°Ńивно
āØ ŠŠ¾Š·Š¼Š¾Š¶Š½Š¾ŃŃŠø
- š ŠŠ°Š¼ŠµŠ½Š° ŃŠŗŠ¾Ńпа по CustomModelData
- š§© ŠŠ¾Š»Š½Š¾ŃŃŃŃ Š²Š°Š½ŠøŠ»ŃŠ½Ńй ŃŠµŠ½Š“ŠµŃ (без каŃŃŠ¾Š¼Š½ŃŃ ŃŠµŠ¹Š“ŠµŃŠ¾Š²)
- š¦ Š£ŠæŃавление ŃŠµŃез ŃŠµŃŃŃŃŠæŠ°Šŗ
- ā” ŠŠøŠ½ŠøŠ¼Š°Š»Ńное Š²Š»ŠøŃние на ŠæŃŠ¾ŠøŠ·Š²Š¾Š“ŠøŃŠµŠ»ŃноŃŃŃ
- š” ŠŠµŠ· ŠŗŠ¾Š½ŃŠ»ŠøŠŗŃов Ń Š“ŃŃŠ³ŠøŠ¼Šø HUD-ŃŃŃŠµŠŗŃами
š ŠŠ°Šŗ ŠæŠ¾Š»ŃŠ·Š¾Š²Š°ŃŃŃŃ
1ļøā£ Š£ŃŃŠ°Š½Š¾Š²ŠøŃе моГ
- Š£ŃŃŠ°Š½Š¾Š²ŠøŃе Fabric Loader >= 0.18.4
- ŠŠ¾Š¼ŠµŃŃŠøŃе моГ в папкŃ
mods
2ļøā£ ŠŠ¾Š±Š°Š²ŃŃŠµ ŃŠµŠŗŃŃŃŃŃ Š² ŃŠµŃŃŃŃŠæŠ°Šŗ
Š”ŃŃŃŠŗŃŃŃŠ° ŃŠµŃŃŃŃŠ¾Š²:
assets/custom_scope/
āāā textures/
āāā gui/
āāā custom_scope/
āāā img.png
āāā sniper.png
āāā example.png
3ļøā£ ŠŠ°Š·Š½Š°ŃŃŃŠµ CustomModelData ŠæŃŠµŠ“меŃŃ
ŠŠ¾Š“ ŠøŃŠæŠ¾Š»ŃŠ·ŃŠµŃ ŃŃŃŠ¾ŠŗŠ¾Š²Ńй CustomModelData, ŠŗŠ¾ŃŠ¾ŃŃŠ¹ Голжен ŃŠ¾ŃŃŠ¾ŃŃŃ ŠøŠ·:
<mod_id>_<texture_name>
ŠŃимеŃ:
custom_scopeā Mod IDimgā ŠøŠ¼Ń ŃŠµŠŗŃŃŃŃŃ
ŠŠ¾Š¼Š°Š½Š“а Š²ŃŠ“Š°ŃŠø ŠæŠ¾Š“Š·Š¾ŃŠ½Š¾Š¹ ŃŃŃŠ±Ń:
/give @p minecraft:spyglass[CustomModelData:{strings:["custom_scope_img"]}]
š Š ŃŃŠ¾Š¼ ŃŠ»ŃŃŠ°Šµ Š±ŃŠ“ŠµŃ ŠøŃŠæŠ¾Š»ŃŠ·Š¾Š²Š°Š½Š° ŃŠµŠŗŃŃŃŃŠ°:
assets/custom_scope/textures/gui/custom_scope/img.png
š ŠŠ¾Š²ŠµŠ“ение
- ŠŃли CustomModelData ŃŠ¾Š¾ŃвеŃŃŃŠ²ŃŠµŃ ŃŠ¾ŃмаŃŃ
<mod_id>_<texture_name>ā ŠøŃŠæŠ¾Š»ŃŠ·ŃеŃŃŃ ŠŗŠ°ŃŃŠ¾Š¼Š½Ńй ŃŠŗŠ¾ŃŠæ - ŠŃли ŃŠ¾ŃŠ¼Š°Ń Š½Šµ ŃŠ¾Š²ŠæŠ°Š“Š°ŠµŃ ā ŠøŃŠæŠ¾Š»ŃŠ·ŃеŃŃŃ Š²Š°Š½ŠøŠ»ŃŠ½Ńй ŃŠŗŠ¾ŃŠæ
- ŠŃли ŃŠµŠŗŃŃŃŃŠ° оŃŃŃŃŃŃŠ²ŃŠµŃ ā ŠŗŃŠ°ŃŠ° не Š±ŃŠ“еŃ
šØ Š¢ŠµŠŗŃŃŃŃŠ° по ŃŠ¼Š¾Š»ŃаниŃ
ŠŠ¾Š“ ŃŠ¶Šµ ŃŠ¾Š“ŠµŃŠ¶ŠøŃ Š¾Š“Š½Ń Š²ŃŃŃŠ¾ŠµŠ½Š½ŃŃ ŃŠµŠŗŃŃŃŃŃ ŃŠŗŠ¾Ńпа Š“Š»Ń ŠæŃŠøŠ¼ŠµŃа.
Š§ŃŠ¾Š±Ń полŃŃŠøŃŃ ŠæŠ¾Š“Š·Š¾ŃŠ½ŃŃ ŃŃŃŠ±Ń Ń Š½ŠµŠ¹, ŠøŃŠæŠ¾Š»ŃŠ·ŃŠ¹ŃŠµ:
/give @p minecraft:spyglass[CustomModelData:{strings:["custom_scope_img"]}]
š” ŠŃŠøŠ¼ŠµŃание
ŠŠ¾Š“ не Š“Š¾Š±Š°Š²Š»ŃŠµŃ Š½Š¾Š²ŃŠµ ŠæŃŠµŠ“меŃŃ Šø не ŠøŠ·Š¼ŠµŠ½ŃŠµŃ Š¼ŠµŃ Š°Š½ŠøŠŗŃ ŠøŠ³ŃŃ ā Š¾Š½ лиŃŃ ŠæŠ¾Š“Š¼ŠµŠ½ŃŠµŃ ŃŠµŠŗŃŃŃŃŃ ŃŠŗŠ¾Ńпа в Š¼Š¾Š¼ŠµŠ½Ń ŃŠµŠ½Š“ŠµŃŠ°, ŃŠ¾Ń ŃŠ°Š½ŃŃ Š²Š°Š½ŠøŠ»ŃŠ½Š¾Šµ повеГение.
En
Custom Spyglass Scope is a lightweight client-side Fabric mod that allows you to replace the default spyglass scope texture using CustomModelData, without configs, JSON files, or complex logic.
This mod is perfect for:
- Resource packs
- RPG / PvP servers
- Custom items
- OptiFine-like behavior, but native
⨠Features
- š Spyglass scope replacement via CustomModelData
- š§© Fully vanilla rendering (no custom shaders)
- š¦ Controlled entirely through resource packs
- ā” Minimal performance impact
- š” No conflicts with other HUD effects
š How to Use
1ļøā£ Install the mod
- Install Fabric Loader >= 0.18.4
- Place the mod into the
modsfolder
2ļøā£ Add textures to your resource pack
Resource structure:
assets/custom_scope/
āāā textures/
āāā gui/
āāā custom_scope/
āāā img.png
āāā sniper.png
āāā example.png
3ļøā£ Assign CustomModelData to the spyglass
The mod uses string-based CustomModelData, which must follow this format:
<mod_id>_<texture_name>
Example:
custom_scopeā the mod IDimgā the texture name
Command example:
/give @p minecraft:spyglass[CustomModelData:{strings:["custom_scope_img"]}]
š This will load the texture from:
assets/custom_scope/textures/gui/custom_scope/img.png
š Behavior
- If CustomModelData matches
<mod_id>_<texture_name>ā a custom scope is used - If the format does not match ā the vanilla spyglass scope is rendered
- If the texture is missing ā no crash will occur
šØ Default Included Texture
The mod includes one default spyglass scope texture out of the box as an example.
To obtain a spyglass using it, run:
/give @p minecraft:spyglass[CustomModelData:{strings:["custom_scope_img"]}]
š” Notes
This mod does not add new items and does not change gameplay mechanics ā it simply replaces the spyglass scope texture at render time while preserving vanilla behavior.










