Minecraft .json models download






















The mcmeta property must be a JSON string that contains the content of the mcmeta file of the texture. Object3D , see the three.

License - MIT. Skip to content. Star MIT License. Branches Tags. Could not load branches. Could not load tags. Latest commit. Git stats 39 commits. Failed to load latest commit information. View code. About A 3d model viewer for minecraft json models. Releases No releases published. Packages 0 No packages published. Contributors 2. You signed in with another tab or window.

Reload to refresh your session. You signed out in another tab or window. Some items support additional predicates for model overrides. Below is a full list of available predicates. This example describes the torch as an item. The model can be found in the torch.

The icon is specified with the "layer0" -tag and the texture, that has already been used for the block model, is used for the icon as well. As there is just one layer hard coded for the torch, there cannot be any more layers added.

Furthermore, the display properties for the torch are specified, so that it displays correctly in every possible situation. The torch cannot be placed on a players head and uses the specified icon in the inventory, so there is no need to adjust the model for these situations.

To line the model up with the players left or right hand in first and third person view, the model needs to be rotated, moved and scaled, which is done for each of the two situation separately. This example describes the fishing rod as of Java Edition 1. While most blocks and items can have their model changed, there are a multitude of things that cannot:. Most blocks have particle textures defined in dedicated model files, however it still stands that actual visual models cannot be changed.

Minecraft Wiki. Minecraft Wiki Explore. Main Page All Pages. Minecraft Minecraft Earth Minecraft Dungeons. Useful pages. Minecraft links. Gamepedia support Report a bad ad Help Wiki Contact us. Explore Wikis Community Central. Register Don't have an account? History Talk This feature is exclusive to Java Edition. The root tag variants : Holds the names of all the variants of the block.

A block with just one variant uses "" as a name for its variant. Each variant can have one model or an array of models and contains their properties. If set to an array, the model is chosen randomly from the options given, with each option being specified in separate subsidiary -tags.

A model : Contains the properties of a model, if more than one model is used for the same variant. All specified models alternate in the game. Locks the rotation of the texture of a block, if set to true. This way the texture does not rotate with the block when using the x and y-tags above. If more than one model is used for the same variant, the probability is calculated by dividing the individual model's weight by the sum of the weights of all models.

A case Determines a case and the model that should apply in that case. If unset, the model always applies. OR : Matches if any of the contained cases return true. Cannot be set alongside other cases. A condition A list of cases that all have to match the block to return true. State Name of a block state. A single case that has to match one of the block states. It can be set to a list separated by to allow multiple values to match.

Cannot be set alongside the OR-tag. There can be one model or an array of models. The root tag parent : Loads a different model from the given path, in form of a resource location. If both "parent" and "elements" are set, the "elements" tag overrides the "elements" tag from the previous model.

Note that only the first layer is supported, and rotation can be achieved only by using block states files. Place where an item model is displayed. Holds its rotation, translation and scale for the specified situation. Note that translations are applied to the model before rotations. The values are clamped between and If the value is greater than 4, it is displayed as 4. This texture is used if you are in a nether portal.

They can have only cubic forms. An element. Values must be between and Can be 45 through degrees in Can be true or false. Defaults to false. If a face is left out, it does not render. Face : Named down , up , north , south , west or east. Contains the properties of the specified face.

If unset, it defaults to values equal to xyz position of the element. The texture behavior is inconsistent if UV extends below 0 or above If the numbers of x1 and x2 are swapped e. UV is optional, and if not supplied it automatically generates based on the element's position. The position can be: down , up , north , south , west , or east. It also determines the side of the block to use the light level from for lighting the face, and if unset, defaults to the side.

Can be 0, 90, , or Defaults to 0. Rotation does not affect which part of the texture is used. Instead, it amounts to permutation of the selected texture vertexes selected implicitly, or explicitly though uv. The default value, -1, indicates not to use the tint.

Any other number is provided to BlockColors to get the tint value corresponding to that index. However, most blocks do not have a tint value defined in which case white is used. Furthermore, no vanilla block currently uses multiple tint values, and thus the tint index value is ignored as long as it is set to something other than -1 ; it could be used for modded blocks that need multiple distinct tint values in the same block though.

As you cannot specify the entity, this does not work for all items only for chests , ender chests , mob heads , shields , banners and tridents.

If the value is greater than 80, it is displayed as If the value is less than , it is displayed as There can be more than just one layer e. Texture variable : Defines a texture variable and assigns a texture. If set to "side" , the model is rendered like a block.

If set to "front" , model is shaded like a flat item. Defaults to "side". The default is not using the tint, and any number causes it to use tint. Note that only certain blocks have a tint index; all others remain unaffected. All cases are evaluated in order from top to bottom and last predicate that matches overrides.



0コメント

  • 1000 / 1000