
Extended block shapes
This mod adds more shapes for many vanilla blocks, including shapes that do not exist in vanilla Minecraft, like vertical slabs, vertical stairs or quarter pieces. Most of the blocks have vanilla behaviours, like what their base block behaves.
Links
Tags
Creators
Details
3.1.6-beta.6+mc26.3-snapshot-5
Compatibility
Required content
Changes
- Added a new number provider type:
enhanced_commands:product, used to calculate the product of values of multiple number providers.- It has one field:
values, the value is the list or tag of number providers.
- It has one field:
- Added the number provider of variant modifier value, all of which are constant values, whose ID and values are:
enhanced_commands:shape_variant_modifier/half: 0.5enhanced_commands:shape_variant_modifier/one_third: 1/3enhanced_commands:shape_variant_modifier/quarter: 0.25
- Added the number provider for the composting and cooking for the shape variants of some blocks. The ID is
enhanced_commands:shape_variant/<scene type>/<base name>/<variant type>, where the value of<scene type>iscompostableorcooking, the<variant typeishalf,one_thirdorquarter. Example:enhanced_commands:shape_variant/compostable/medium/half,enhanced_commands:shape_variant/cooking/time_wool/quarter.halfvariant type is used for slabs and vertical slabs,one_thirdvariant type is used for buttons and pressure plates,quartervariant type is used for vertical quarter pieces and quarter pieces. For example, the cooking number provider of yellow wool button isehanced_commands:shape_variant/cooking/time_wool/one_third, the composting number provider of pale moss isenhanced_commands:shape_variant/compostable/mediun/quarter.- Stairs, vertical stairs, fences, fence gates and walls use the cooking or composting number provider of their base blocks. For example, the cooking number provider of yellow wool wall is
minecraft:cooking/time_wool, and the composting number provider of pale moss fences isminecraft:compostable/medium. - For composting number providers, the probability the value is 1 is the probability its base value (the value of the composting number provider of the base block) is 1 multiplied by the value of its corresponding variant modifier, but similar to vanilla behavior, composting always successes when the composter block is empty.
- For cooking number providers, the cooking time is the base value (the value of the cooking number provider of the base block) multiplied by the value of its corresponding variant modifier.
- These number providers are affected by the number providers of the corresponding base blocks, and meanwhile affected by the number provider of variant modifier value (
enhanced_commands:shape_variant_modifier/<变种类型>).
- Fixed the issue of wrong block sort of colored blocks in the creative mode inventory in 26.3.
- The changes above only apply to 26.3 snapshots and higher versions.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:tb7kCxSW:D1UF2FpJ"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:tb7kCxSW:D1UF2FpJ"
}
