The City Super Mod is a Minecraft mod that adds a variety of new realistic blocks and items to your world. Open-source and free to use, the City Super Mod is designed to be compatible with other mods and provide a realistic city-building experience in Minecraft.
Information about the City Super Mod can be found on the City Super Mod Wiki https://github.com/Mica-Technologies/minecraft-city-super-mod/wiki.
Wiki topics include:
The preferred development environment/IDE for the City Super Mod is IntelliJ IDEA. It is recommended to use the latest version of IntelliJ IDEA for the best development experience.
To make changes to the City Super Mod, you will need to clone the project from the GitHub repository and open it in your preferred IDE.
To learn more about the version control system, Git, please see https://git-scm.com/doc.
If you are using IntelliJ IDEA as your preferred IDE, you may use the built-in Git integration to clone the project from the GitHub repository. To learn more about using Git integration with IntelliJ IDEA, please see https://www.jetbrains.com/help/idea/using-git-integration.html.
Adding a block looks different depending on the blockstate format, model format, or other features. In general, the following steps should be followed:
src/main/java/com/micatechnologies/minecraft/csm
.
CamelCase
.snake_case
.src/main/resources/assets/csm/blockstates
.
src/main/resources/assets/csm/models/custom
.
src/main/resources/assets/csm/models/block
.
src/main/resources/assets/csm/textures/block
.
src/main/resources/assets/csm/lang/en_us.lang
.
If the blockstate file does not define an inventory
variant, an item model must be created for the
block to properly be displayed in the inventory or player's hand. If required, create an item model
within src/main/resources/assets/csm/models/item
which references the block model.
{
"parent": "csm:block/[block_registry_name]"
}
AbstractBlock
: The base class for all blocks in the City Super Mod, including the base classes
below.AbstractBlockFence
: The base class for all blocks in the City Super Mod that are fences.AbstractBlockStairs
: The base class for all blocks in the City Super Mod that are stairs.AbstractBlockSlab
: The base class for all blocks in the City Super Mod that are slabs.AbstractBlockSetBasic
: The base class for all blocks in the City Super Mod that generate as a
set of basic blocks (fence, stairs, slab).AbstractBlockRotatableNSEW
: The base class for all blocks in the City Super Mod that are
horizontally rotatable (north, south, east, west).AbstractBlockRotatableNSEWUD
: The base class for all blocks in the City Super Mod that are
horizontally and vertically rotatable (north, south, east, west, up, down).AbstractBlockRotatableHZEight
: The base class for all blocks in the City Super Mod that are
horizontally rotatable in eight directions (north, northeast, east, southeast, south, southwest,
west, northwest).AbstractPoweredBlockRotatableNSEWUD
: The base class for all blocks in the City Super Mod that
are powered and are horizontally and vertically rotatable (north, south, east, west, up, down).Adding an item looks different depending on the model format, item type, or other features. In general, the following steps should be followed:
src/main/java/com/micatechnologies/minecraft/csm/item
.
CamelCase
.snake_case
.src/main/resources/assets/csm/models/custom
.
src/main/resources/assets/csm/models/item
.
src/main/resources/assets/csm/textures/item
.
src/main/resources/assets/csm/lang/en_us.lang
.
AbstractItem
: The base class for all items in the City Super Mod.AbstractItemSpade
: The base class for all items in the City Super Mod that are shovels/spades.After creating a block or item class, the block or item must be registered with the game. To
register a block or item, an entry must be added to the appropriate tab class file within the
src/main/java/com/micatechnologies/minecraft/csm/tabs
package folder.
CsmTabNone
tab
class file.Adding a tab is a fairly simple process. To add a tab, follow these steps:
src/main/java/com/micatechnologies/minecraft/csm/tabs
package folder.
CsmTabNovelties
tab class file, as it is the simplest tab
class file.CamelCase
.CsmTab.Load
annotation to reflect the new tab's load order.
getTabName()
: The human-readable name of the tab.getTabIcon()
: The block or item that represents the tab in the creative inventory.getTabSearchable()
: Whether the tab is searchable in the creative inventory.getTabHidden()
: Whether the tab is hidden from the creative inventory.initTabElements()
method with the blocks and items that should be displayed in the
tab.
initTabBlock()
and initTabItem()
methods, respectively.After making changes, you can push your modifications to GitHub on a new branch. To protect the
working code, modification of the main
branch is not permitted except through pull request.
Name: Alex
GitHub Username: mica-alex
Minecraft Username: Akselhok
Name: Brandon
GitHub Username: AngelWingsPanda
Minecraft Username: AngelWingsPanda
The City Super Mod began as an MCreator project. While the project has since been migrated to a standalone project, the development team would like to acknowledge the MCreator project and its developers for their contributions to the Minecraft modding community.