Voici un mini One Command qui vas vous permettre de pouvoir avoir le zoom d'optifine sans installer optifine .
How to install
How to import this command into your world
First, you must give yourself a command block (If you are on a server, you must be 'OP'ed, and have access to /gamemode 1)
To get a command block, type
/give @p command_block in the chat.
Once you have a command block, right click it to open it's GUI.
Now, you must copy and paste the command from your browser into the game. Select the entire command from below, then right click and press 'copy'.
Next, go back to your minecraft world, and paste the command you just copied into the command block. There are a few different keys that may be used to do this, depending on your keyboard. The most common ones are 'CTRL + V', 'COMMAND + V', or 'STRG + V'
Finally, you can press done to exit the GUI, and execute the command block by powering it with a redstone block, a lever, or any thing you can get your grubby hands on. Just make sure you don't place it on top of the command block, or the machine will not be installed!
Show source commands
INIT:/scoreboard objectives add zoom stat.sneakTime
/execute @e[score_zoom_min=1] ~ ~ ~ /effect @e[score_zoom_min=1] minecraft:slowness 1 20
/execute @e[score_zoom_min=1] ~ ~ ~ /scoreboard players set @e[score_zoom_min=1] zoom 0
summon falling_block ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:falling_block,Block:redstone_block,Time:1,Passengers:[{id:falling_block,Block:activator_rail,Time:1,Passengers:[{id:commandblock_minecart,Command:"gamerule commandBlockOutput false"},{id:commandblock_minecart,Command:"fill ~2 ~-3 ~-1 ~5 ~-1 ~1 stained_hardened_clay 2 hollow"},{id:commandblock_minecart,Command:"fill ~2 ~-2 ~-1 ~5 ~-2 ~1 stained_glass 7 0 stained_hardened_clay"},{id:commandblock_minecart,Command:"/scoreboard objectives add zoom stat.sneakTime"},{id:commandblock_minecart,Command:"setblock ~1 ~-3 ~ wall_sign 4 0 {Text1:\"{\\\"text\\\":\\\"=-=-=-=-=-=-=-=-=\\\",\\\"color\\\":\\\"dark_aqua\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"scoreboard players add @e[type=armor_stand,name=TogAct,c=1] xMRYn1_A 1\\\"}}\",Text2:\"{\\\"text\\\":\\\"On/Off\\\",\\\"color\\\":\\\"aqua\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"execute @e[score_xMRYn1_A_min=1,score_xMRYn1_A=1] ~ ~ ~ blockdata ~ ~ ~ {auto:0}\\\"}}\",Text3:\"{\\\"text\\\":\\\"Machine\\\",\\\"color\\\":\\\"aqua\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"execute @e[score_xMRYn1_A_min=2] ~ ~ ~ blockdata ~ ~ ~ {auto:1}\\\"}}\",Text4:\"{\\\"text\\\":\\\"=-=-=-=-=-=-=-=-=\\\",\\\"color\\\":\\\"dark_aqua\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"scoreboard players reset @e[score_xMRYn1_A_min=2] xMRYn1_A\\\"}}\"}"},{id:commandblock_minecart,Command:"setblock ~1 ~-2 ~ wall_sign 4 0 {Text1:\"{\\\"text\\\":\\\"=-=-=-=-=-=-=-=-=\\\",\\\"color\\\":\\\"dark_red\\\"}\",Text2:\"{\\\"text\\\":\\\"Destroy\\\",\\\"color\\\":\\\"red\\\"}\",Text3:\"{\\\"text\\\":\\\"Machine\\\",\\\"color\\\":\\\"red\\\"}\",Text4:\"{\\\"text\\\":\\\"=-=-=-=-=-=-=-=-=\\\",\\\"color\\\":\\\"dark_red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-1 ~-1 ~4 ~1 ~1 air\\\"}}\"}"},{id:commandblock_minecart,Command:"summon armor_stand ~3 ~-2 ~ {CustomName:\"TogAct\",Marker:1,NoGravity:1,Invisible:1}"},{id:commandblock_minecart,Command:"scoreboard objectives add xMRYn1_A dummy"},{id:commandblock_minecart,Command:"fill ~3 ~-2 ~ ~4 ~-2 ~ chain_command_block 5"},{id:commandblock_minecart,Command:"setblock ~3 ~-2 ~ repeating_command_block 5"},{id:commandblock_minecart,Command:"blockdata ~4 ~-2 ~ {auto:1,Command:\"/execute @e[score_zoom_min=1] ~ ~ ~ /scoreboard players set @e[score_zoom_min=1] zoom 0\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-2 ~ {auto:1,Command:\"/execute @e[score_zoom_min=1] ~ ~ ~ /effect @e[score_zoom_min=1] minecraft:slowness 1 20\"}"},{id:commandblock_minecart,Command:"setblock ~ ~ ~1 command_block 0 0 {Command:\"fill ~ ~-3 ~-1 ~ ~ ~ air\"}"},{id:commandblock_minecart,Command:"setblock ~ ~-1 ~1 redstone_block"},{id:commandblock_minecart,Command:"kill @e[type=commandblock_minecart,r=1]"}]}]}]}