2024-12-10 17:53:06|Myriagame |source:minecraft skins
Foreword
First, the implementation of this MOD is based on the key frames commonly used in 3D animations.
What are key frames?In general, setting the beginning and final state of a 3D object, the process of changing the middle object in the middle of the computer.
In the animation of the square, the final state of the square has been completely determined, so what we want to complete is to set the starting state of the block
text
After installing the MOD, first ESC-Options-Resource Pack-left to the election interface on the left, find a good place Sample Pack resource package, do not install it, open the package folder.
It is best to use a compressed software that can be modified without decompression to open A Good Place Sample Pack.zip, and open it all the way to the innermost folder. We can see
flowers.json
Old_animation.json
pop_in.json
readme.md
Among them, Readme is a brief introduction and corresponding parameter meaning written by the module author. It can also be seen on github that this table is translated with webpage translation
Open the pop_in.json, the following yellow text is the explanation of me, don't copy
{{
"Predicates": [[
],,,
This paragraph is the effective animation of which blocks specify. In Flowers.json, this paragraph is
"Predicates": [[
{{
"Type": "MATCHING_BLOCKS",
"Blocks": "#Minecraft: Flowers"
}
It means that only the flowers in the original content will take effect. Because it is not written here, it is used for all squares
"Priority": 1,
This is priority. Because the priority of this code is 1 and there is no screening block, if there is no higher priority, it will act on all blocks.But Flowers.json's priority is higher, so the flowers in the original content will use Flowers.json's animation preset
"Duration": 4,
This is the length of the animation. The unit is tick. The 20 games are equal to one second. It is recommended to set it to 100 when debugging the animation to observe its changes
"Scale": 0.3,
The initial size (be sure to look at the preface of this tutorial), the 0.3 here refers to 0.3 times the size of the block
"Scale_curve": -0.7,
The size changes are a more complicated thing. It is not easy to explain here. The suggestions you want to know to learn the 3D animation curve related tutorial.
The range of this value is between -1 ~ 1, and it will change evenly over time at 0. When extreme values such as -0.999 or 0.999, time accelerate and decelerate.
"Translation": {
"X": 0,
"Y": 0,
"Z": 0
},
This is the initial position of the setting animation, and the coordinates here are relative to the orientation.
"Translation_curve": 0, 0,
The same curve parameter is the same, setting the change speed attribute
"Rotation": {
"X": 0,
"Y": 0,
"Z": 0
},
The initial rotation of the animation is used in conjunction with the following parameters, the maximum value is 180, and the positive value is counterclockwise. The following parameters are the center point of the rotation.
"Rotation_pivot": {{
"X": 0,
"Y": 0,
"Z": 0},
"Rotation_curve": -0.08,
No more repeatedly
"Height": 1,
Set the initial height of the square, which can not be tested to the relationship with Scale, but it is clear that the larger the value of this value, the longer the initial block.
"Height_curve": 0
}
If you are interested, you can take a look at the tutorial of the module author on GitHub. In addition to the screenshot intercepted above, the screenshots here are more important.
The following is an example of the module author about predicate words
{{"Predicates": [[
{{
"Predicate_type": "ANY_OF",
"Predicates": [[
{{
"Predicate_type": "block_match",,
"Blocks": "#Minecraft: Flowers"
},
{{
"Predicate_type": "block_match",,
"Blocks": [[[
"Minecraft: Sweet_berry_bush"
]
}
]
},
{{
"Predicate_type": "NOT",
"Predicate": {
"Predicate_type": "IS_DOUBLE_BLOCK"
}
},
{{
"Predicate_type": "NOT",
"Predicate": {
"Predicate_type": "Has_collision"
}
}
]
}
IN This EXAMPLE We Are Selecting All Flowers+Sweet Bush Bush and Excluding All Blocks that are not doublers and have color
Instance demonstration
An animation placed by a section of squares from slender bars
{{"Predicates": [[
],,,
"Priority": 1,
"Duration": 5,
"Scale": 0.2,
"Scale_curve": 0,
"Translation": {
"X": 0,
"Y": 0,
"Z": 0
},
"Translation_curve": 0, 0,
"Rotation": {
"X": 0,
"Y": 180,
"Z": 0
},
"Rotation_pivot": {{
"X": 0,
"Y": 0,
"Z": 0
},
"Rotation_curve": -0.08,
"Height": 1.8,
"Height_curve": 0}
National Service DNF Dark Ni
2025-01-28 09:19:27The new screenshot of the be
2025-01-28 09:18:57The 15th anniversary wallpap
2025-01-28 09:18:273DM Xuanyuan Sinicization Gr
2025-01-28 09:17:57French magazine is the first
2025-01-28 09:17:27The sneak game "Republic" wi
2025-01-28 09:16:57The story between humans and
2025-01-28 09:16:27Capture "Trinity 3: Artifact
2025-01-28 09:15:27Wind direction change "Myste
2025-01-28 09:14:57DICE's new project "Dream" w
2025-01-28 09:14:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:26Master Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25King Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25Guide Minecraft Skins
Minecraft Skins
2024-12-10 04:11:24Dark Knight Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Sparta Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Moncraft Skins of the War
Minecraft Skins
2024-12-10 04:11:22Red Witch Minecraft Skins
Minecraft Skins
2024-12-10 04:11:22Golden Cavaliers Minecraft S
Minecraft Skins
2024-12-10 04:11:22