Composters prototype

This commit is contained in:
paulevsGitch 2020-12-16 14:40:45 +03:00
parent 2008be1a6b
commit e2930887e3
8 changed files with 208 additions and 3 deletions

View file

@ -0,0 +1,60 @@
{
"parent": "block/block",
"textures": {
"particle": "block/%texture%_side",
"top": "block/%texture%_top",
"bottom": "block/%texture%_bottom",
"side": "block/%texture%_side",
"inside": "block/%texture%_bottom"
},
"elements": [
{
"from": [ 0, 0, 0 ],
"to": [ 16, 2, 16 ],
"faces": {
"up": { "texture": "#inside", "cullface": "up" },
"down": { "texture": "#bottom", "cullface": "down" }
}
},
{
"from": [ 0, 0, 0 ],
"to": [ 2, 16, 16 ],
"faces": {
"up": { "texture": "#top", "cullface": "up" },
"north": { "texture": "#side", "cullface": "north" },
"south": { "texture": "#side", "cullface": "south" },
"west": { "texture": "#side", "cullface": "west" },
"east": { "texture": "#side", "cullface": "up" }
}
},
{
"from": [ 14, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"up": { "texture": "#top", "cullface": "up" },
"north": { "texture": "#side", "cullface": "north" },
"south": { "texture": "#side", "cullface": "south" },
"west": { "texture": "#side", "cullface": "up" },
"east": { "texture": "#side", "cullface": "east" }
}
},
{
"from": [ 2, 0, 0 ],
"to": [ 14, 16, 2 ],
"faces": {
"up": { "texture": "#top", "cullface": "up" },
"north": { "texture": "#side", "cullface": "north" },
"south": { "texture": "#side", "cullface": "up" }
}
},
{
"from": [ 2, 0, 14 ],
"to": [ 14, 16, 16 ],
"faces": {
"up": { "texture": "#top", "cullface": "up" },
"north": { "texture": "#side", "cullface": "up" },
"south": { "texture": "#side", "cullface": "south" }
}
}
]
}

View file

@ -0,0 +1,73 @@
{
"multipart": [
{
"apply": {
"model": "betterend:pattern/%block%"
}
},
{
"when": {
"level": "1"
},
"apply": {
"model": "minecraft:block/composter_contents1"
}
},
{
"when": {
"level": "2"
},
"apply": {
"model": "minecraft:block/composter_contents2"
}
},
{
"when": {
"level": "3"
},
"apply": {
"model": "minecraft:block/composter_contents3"
}
},
{
"when": {
"level": "4"
},
"apply": {
"model": "minecraft:block/composter_contents4"
}
},
{
"when": {
"level": "5"
},
"apply": {
"model": "minecraft:block/composter_contents5"
}
},
{
"when": {
"level": "6"
},
"apply": {
"model": "minecraft:block/composter_contents6"
}
},
{
"when": {
"level": "7"
},
"apply": {
"model": "minecraft:block/composter_contents7"
}
},
{
"when": {
"level": "8"
},
"apply": {
"model": "minecraft:block/composter_contents_ready"
}
}
]
}

View file

@ -11,6 +11,7 @@
"AnvilScreenHandlerMixin",
"ServerPlayerEntityMixin",
"ChorusPlantFeatureMixin",
"ComposterBlockAccessor",
"ChorusFlowerBlockMixin",
"LandPathNodeMakerMixin",
"ChorusPlantBlockMixin",