Minecraft(我的世界)中文论坛

标题: [1.2.5][SSP / SMP][Forge] Customizor 1.0 Pre-Release Build 75

作者: ioptional    时间: 2012-5-24 20:26
标题: [1.2.5][SSP / SMP][Forge] Customizor 1.0 Pre-Release Build 75
我在官網放的內容, 最新的更新到在那邊
http://www.minecraftforum.net/topic/1244754-125forgesmpssp-customizor-10-pre-release-build-75/

Project Start:
05/11/2012

Current Version:
1.0 Pre-Release Build 75

Developer:
Ray Fung <Hong Kong>

Minecraft Version Support:
1.2.5

PayPal Donation Account:
[email protected]



Description
This MOD uses to create any blocks, items or additional function unit by configuration file. User doesn't need any Java knowledge to create additional block in their MineCraft.

Download Client Side
1.0 Pre-Release Build 75 (Sample Included)
1.0 Pre-Release Build 74 (Sample Included)

Download Server Side
It will be released when the following updates has finished:


Change Log

2012-05-24 (1.0 Pre-Release Build 75)
- Fixed incorrect smelting the block or item into stone when set to -1
+ Added "smelting_mapping.cfg" for basic block or item smelting
+ Sample item added "Fired Egg"


Configuration File

[Armor Set]
Parameter: name
Description: The name of armor set
Value Type: String

Parameter: durability
Description: The durability of each armor
Value Type: Integer

Parameter: helmetdef
Description: Defense Value of helmet
Value Type: Integer

Parameter: bodydef
Description: Defense Value of armor
Value Type: Integer

Parameter: legsdef
Description: Defense Value of legs
Value Type: Integer

Parameter: bootsdef
Description: Defense Value of boots
Value Type: Integer

Parameter: enchant
Description: The minimum enchant level
Value Type: Integer

Parameter: imageset1
Description: Armor texture (helmet, armor and boots)
Value Type: String

Parameter: imageset2
Description: Armor texture (legs)
Value Type: String

[Block]
Parameter: id
Description: Block's id, please note that you will replaced the previous with the same id.
Value Type: Integer

Parameter: blockname
Description: Block's name
Value Type: String

Parameter: maxstack
Description: Maximum block in one slot
Value Type: Integer

Parameter: iddropped
Description: If you set to -1, it will not drop any item when broken. If not, set it to specify item's id
Value Type: Integer

Parameter: dropamount
Description: The number of item will be dropped. Randomly 1 + (0 ~ dropamount)
Value Type: Integer

Parameter: material
Description: The block material, please refer to "Material List"
Value Type: String

Parameter: hardness
Description: The hardness of block, dirt default 0.5, stone default 1.5
Value Type: Float

Parameter: resistance
Description: TNT explosion resistance
Value Type: Integer

Parameter: lightvalue
Description: The light value of the block, torch default 1.0, redstone torch default 0.5
Value Type: Float

Parameter: texture
Description: The major texture of block
Value Type: String

Parameter: recipe
Description: The recipe map in craft box of the block. For example, wooden door "WW,WW,WW"
Value Type: String

Parameter: mapping
Description: Each recipe code mapping to specify item id, for this example, "W:5"
Value Type: String

Parameter: craftamount
Description: How many block made by crafting
Value Type: Integer

Parameter: oreamount
Description: If the block is ore, set it greater than 0. It will generate the number of block randomly.
Value Type: Integer

Parameter: heightfound
Description: Generate the block above from bedrock, diamond ore default 16.
Value Type: Integer

Parameter: smeltingto
Description: What kind of item will be made when you put this item into furnace
Value Type: String

Parameter: smeltingamount
Description: How many item made after smelting
Value Type: Integer

Parameter: blocktype
Description: There is 4 block types: torch, sapling, ore and crop
Value Type: String

Parameter: spawnrate
Description: The generate rate of sapling, mroe greater that more easier find in game
Value Type: Integer

Parameter: genwhencreate
Description: Generate the ore or sapling when creating the world
Value Type: Boolean

Parameter: texturefront
Description: The front side texture of block
Value Type: String

Parameter: texturerear
Description: The rear side texture of block
Value Type: String

Parameter: textureleft
Description: The left side texture of block
Value Type: String

Parameter: textureright
Description: The right side texture of block
Value Type: String

Parameter: texturetop
Description: The top side texture of block
Value Type: String

Parameter: texturebottom
Description: The bottom side texture of block
Value Type: String

Parameter: facetoplayer
Description: The block will facing to player when placed
Value Type: Boolean

Parameter: seeddropid
Description: Item's id of the seed that will be dropped when the block is broken
Value Type: Integer

Parameter: growuptexture
Description: The grow up texture of the block, maximum 6 level texture
Value Type: String

Parameter: opacity
Description: How much light will be blocked by this block, FX 255 maximum
Value Type: Integer

Parameter: thinkness
Description: The thinkness of the block
Value Type: Float

Parameter: chanceitemdrop
Description: Multiple item drop with possibility
Value Type: String

[Item]
Parameter: id
Description: Item's id, avoid any conflict, forge will lock the previous item that cannot be replaced.
Value Type: Integer

Parameter: itemname
Description: Item's name
Value Type: String

Parameter: maxstack
Description: Maximum item in one slot
Value Type: Integer

Parameter: texture
Description: The base texture of item
Value Type: String

Parameter: recipe
Description: The recipe map in craft box of the item. For example, stone sword "#,S,S"
Value Type: String

Parameter: mapping
Description: Each recipe code mapping to specify item id, for this example, "#:4,S:280"
Value Type: String

Parameter: craftamount
Description: How many item made after crafting
Value Type: Integer

Parameter: smeltingto
Description: What kind of item will be made when you put this item into furnace
Value Type: Integer

Parameter: smeltingamount
Description: How many item made after smelting
Value Type: Integer

Parameter: hungryrecovery
Description: If you would like to set this item as food, set it greater than 0. 2 point of each food icon.
Value Type: Integer

Parameter: eatenbywolf
Description: Set it to ture if you would feed this food to wolf
Value Type: Boolean

Parameter: itemtype
Description: About this item's type, please refer to "Item Type List"
Value Type: String

Parameter: materialset
Description: If you would like to create an armor or tool (include sword), you need to set the name of armorset or toolset
Value Type: String

Parameter: effect
Description: Food effect, please refer to "Potion effect List"
Value Type: String

Parameter: probability
Description: Probability of food effect actived after ate
Value Type: Float

Parameter: duration
Description: Effect duration by second
Value Type: Integer

Parameter: amplifier
Description: Effect level, please refer to "Potion effect List"
Value Type: Integer

Parameter: growupto
Description: If the item's type set to "seeds", you can set the specify block id of this seed will grow up to.
Value Type: Integer

[Tool Set]
Parameter: name
Description: The name of tool set
Value Type: String

Parameter: harvestlevel
Description: The minimum harvest level of tools
Value Type: Integer

Parameter: maxuses
Description: The maximum uses of tools
Value Type: Integer

Parameter: efficiency
Description: Tool's efficiency, greater and faster
Value Type: Integer

Parameter: damage
Description: Damage cause on enemy
Value Type: Integer

Parameter: enchant
Description: The minimum enchant level
Value Type: Integer

[Tree]
Parameter: name
Description: The tree's name
Value Type: String

Parameter: wood
Description: Wood block ID
Value Type: Integer

Parameter: leaves
Description: Leaves block ID
Value Type: Integer

Parameter: minheight
Description: Tree minimum
Value Type: Integer

Parameter: growvines
Description: Set to ture if it has vines
Value Type: Boolean

Parameter: spawnrate
Description: Spawn rate, 0.5 = 50%
Value Type: Float

Parameter: model
Description: The MIS model of the tree
Value Type: String


Sample
Wooden Cross - Cobble Stone

  1. id: 129
  2. blockname: Stone Bricks
  3. maxstack: 64
  4. iddropped: -1
  5. dropamount: 1
  6. material: rock
  7. hardness: 1.0
  8. resistance: 5.0
  9. lightvalue: 0.0
  10. texture: /Customizor/woodencross_rawstonebrick.png
  11. recipe: S#S;#S#;S#S
  12. mapping: S:280;#:1
  13. craftamount: 1
复制代码




Wooden Cross - Stone


  1. id: 128
  2. blockname: Stone Bricks
  3. maxstack: 64
  4. iddropped: -1
  5. dropamount: 1
  6. material: rock
  7. hardness: 1.0
  8. resistance: 5.0
  9. lightvalue: 0.0
  10. texture: /Customizor/woodencross_stonebrick.png
  11. recipe: S#S;#S#;S#S
  12. mapping: S:280;#:4
  13. craftamount: 1
复制代码




Tiny Box (Full texture)

  1. id: 137
  2. blockname: Tiny Box
  3. maxstack: 64
  4. iddropped: 264
  5. dropamount: 2
  6. droprate: 10
  7. material: stone
  8. hardness: 1.5
  9. resistance: 0.5
  10. lightvalue: 0
  11. texture: /Customizor/tinyboxrear.png
  12. texturefront: /Customizor/tinyboxfront.png
  13. texturerear: /Customizor/tinyboxrear.png
  14. textureleft: /Customizor/tinyboxleft.png
  15. textureright: /Customizor/tinyboxright.png
  16. texturetop: /Customizor/tinyboxtop.png
  17. texturebottom: /Customizor/tinyboxbottom.png
  18. facetoplayer: true
复制代码



Mushroom Stone (Drop mushroom when broken)

  1. id: 130
  2. blockname: Mushroom Stone
  3. maxstack: 64
  4. iddropped: 40
  5. dropamount: 4
  6. material: rock
  7. hardness: 1.0
  8. resistance: 5.0
  9. lightvalue: 0.0
  10. texture: /Customizor/mushroomstone.png
复制代码




Golden Peach (Food, spawn when the world creating)

  1. id: 135
  2. blockname: Gold Peach
  3. maxstack: 64
  4. iddropped: 403
  5. dropamount: 1
  6. material: grass
  7. texture: /Customizor/goldpeach.png
  8. blocktype: sapling
  9. spawnrate: 8
  10. genwhencreate: true
复制代码




Chili Plants (Crop)
Block - Chili Plants

  1. id: 133
  2. blockname: Chili Plants
  3. maxstack: 64
  4. iddropped: 402
  5. dropamount: 4
  6. material: grass
  7. texture: /Customizor/chiliplants.png
  8. rarity: 2
  9. blocktype: crop
  10. spawnrate: 18
  11. seeddropid: 404
  12. growuptexture: /Customizor/chiliplants_grow1.png,/Customizor/chiliplants_grow2.png,/Customizor/chiliplants_grow3.png,/Customizor/chiliplants_grow4.png,/Customizor/chiliplants_grow5.png,/Customizor/chiliplants_grow6.png
复制代码

Item - Chili Seed

  1. id: 404
  2. itemname: Chili Seeds
  3. maxstack: 64
  4. texture: /Customizor/chiliseeds.png
  5. eatenbywolf: false
  6. itemtype: seeds
  7. growupto: 133
复制代码




Treasure (Random item with possibility)

  1. id: 139
  2. blockname: Treasure
  3. maxstack: 1
  4. material: iron
  5. hardness: 3
  6. resistance: 5
  7. lightvalue: 0.3
  8. texture: /Customizor/treasure.png
  9. oreamount: 2
  10. heightfound: 80
  11. rarity: 10
  12. blocktype: ore
  13. chanceitemdrop: 267:1:0.2,268:1:0.2,269:1:0.2,270:1:0.2,271:1:0.2,272:1:0.15,273:1:0.18,274:1:0.15,275:1:0.15,276:1:0.1,277:1:0.1,278:1:0.1,279:1:0.1
复制代码



Manganese Ore

  1. id: 132
  2. blockname: Manganese Ore
  3. maxstack: 64
  4. iddropped: -1
  5. dropamount: 1
  6. material: iron
  7. hardness: 1.0
  8. resistance: 5.0
  9. lightvalue: 0.0
  10. texture: /Customizor/manganese.png
  11. rarity: 10
  12. oreamount: 8
  13. heightfound: 64
  14. smeltingto: 390
  15. smeltingamount: 1
  16. blocktype: ore
复制代码




Blue Rose

  1. id: 134
  2. blockname: Blue Rose
  3. maxstack: 64
  4. iddropped: -1
  5. dropamount: 1
  6. material: grass
  7. texture: /Customizor/bluerose.png
  8. blocktype: sapling
  9. spawnrate: 24
  10. genwhencreate: true
复制代码



Sakura Tree (Tree, Block and MIS)
Glow Leaves

  1. id: 138
  2. blockname: Glow Leaves
  3. maxstack: 64
  4. iddropped: 405
  5. dropamount: 1
  6. material: leaves
  7. texture: /Customizor/glowleaves.png
  8. lightvalue: 1
  9. blocktype: leaves
  10. spaling: 140
复制代码


Tree Set

  1. name: Sakura
  2. wood: 17
  3. leaves: 138
  4. minheight: 4
  5. growvines: false
  6. spawnrate: 0.001
  7. model: tree
复制代码


Sakura Sapling

  1. id: 140
  2. blockname: Sakura Sapling
  3. maxstack: 64
  4. iddropped: -1
  5. dropamount: 1
  6. material: grass
  7. texture: /Customizor/sakurasapling.png
  8. blocktype: sapling
  9. treename: Sakura
复制代码


Tree model in MIS (Modeling in Serialized)

  1. @settype=building
  2. @metadata
  3. @center:3,0,3
  4. {3,0,3|3,5,3;W}{0,3,0|6,3,6;L}{1,4,1|5,4,5;L}{2,5,2|4,5,4;L}{3,6,3;L}
  5. @metadata
  6. {3,0,3|3,5,3;W}
复制代码

Nature spawn
Grow with sapling and bonemeal (MIS)


Step Block (Different thickness)
Low Step

  1. id: 141
  2. blockname: Low Step
  3. maxstack: 64
  4. iddropped: -1
  5. dropamount: 1
  6. material: wood
  7. hardness: 1.5
  8. resistance: 0.5
  9. texture: /Customizor/tinyboxbottom.png
  10. thinkness: 0.25
复制代码

Half Step

  1. id: 142
  2. blockname: Half Step
  3. maxstack: 64
  4. iddropped: -1
  5. dropamount: 1
  6. material: wood
  7. hardness: 1.5
  8. resistance: 0.5
  9. texture: /Customizor/tinyboxbottom.png
  10. thinkness: 0.5
复制代码

High Step

  1. id: 143
  2. blockname: High Step
  3. maxstack: 64
  4. iddropped: -1
  5. dropamount: 1
  6. material: wood
  7. hardness: 1.5
  8. resistance: 0.5
  9. texture: /Customizor/tinyboxbottom.png
  10. thinkness: 0.75
复制代码



Smlie (Smelting Sample)

  1. id: 388
  2. itemname: Slime
  3. maxstack: 64
  4. texture: /Customizor/slime.png
  5. smeltingto: 351[4]
  6. smeltingamount: 1
复制代码




Fired Egg (Default recipe "Egg" smelting to "Fired Egg", include smelting_mapping.cfg)
Fired Egg

  1. id: 406
  2. itemname: Fired Egg
  3. maxstack: 64
  4. texture: /Customizor/firedegg.png
  5. hungryrecovery: 2
  6. eatenbywolf: false
复制代码

smelting_mapping.cfg (One smelting mapping in one line, [Recipe:SmeltingInto:Amount])

  1. 344:406:1
复制代码





作者: jacky1440    时间: 2012-5-24 20:33
= =
中文???
作者: jsy82110982    时间: 2012-5-24 20:57
好····好····好长····
作者: 逢坂大河    时间: 2012-5-24 21:23
樱花树?sakura..
作者: rainsillwood    时间: 2012-5-24 21:30
貌似加了许多奇怪的东西= =
作者: ioptional    时间: 2012-5-24 22:00
簡單來說: 不需要懂JAVA也能自己新增物件跟方塊, 支援合成跟冶煉
作者: Angel小鬼    时间: 2012-5-25 09:02
好犀利的样子.,.
作者: powerho3    时间: 2012-5-25 10:46
请问..
这个是MOD吗-    -看了很久都不懂
作者: ioptional    时间: 2012-5-25 13:03
powerho3 发表于 2012-5-25 10:46
请问..
这个是MOD吗-    -看了很久都不懂

這是MOD啊, FORGE
作者: powerho3    时间: 2012-5-25 13:04
ioptional 发表于 2012-5-25 13:03
這是MOD啊, FORGE

主要增加神马? =     =
作者: ioptional    时间: 2012-5-25 13:14
powerho3 发表于 2012-5-25 13:04
主要增加神马? =     =

增加什麼由用家決定, 用一個 cfg 檔案就可以創造一個新的物品/方塊
作者: powerho3    时间: 2012-5-25 13:18
ioptional 发表于 2012-5-25 13:14
增加什麼由用家決定, 用一個 cfg 檔案就可以創造一個新的物品/方塊

就是直接Copy文字
然后创建新的CFG然后Paste就能了?
作者: ioptional    时间: 2012-5-25 13:23
powerho3 发表于 2012-5-25 13:18
就是直接Copy文字
然后创建新的CFG然后Paste就能了?

已包含了範例, 看著改就可以
作者: powerho3    时间: 2012-5-25 13:32
ioptional 发表于 2012-5-25 13:23
已包含了範例, 看著改就可以

怎样换去CFG文件= =

作者: ioptional    时间: 2012-5-25 13:48
powerho3 发表于 2012-5-25 13:32
怎样换去CFG文件= =

有看到 config/Customizor/ 嗎
你可以複製一個, 改個 blockid/itemid 試一下
作者: craft    时间: 2012-5-26 16:27
在minecraftforum看过你的帖子了。很赞的想法呢。
表示非常喜欢这个mod,希望它能走得更远,我有些不成熟的想法和建议,楼主酌情参考,量力而为就可以:

有个想法是能不能为编辑cfg做个图形界面~这样就更适合程序小白操作了。只要在界面中轻点鼠标就可以选择新方块的各个属性和材质,创造完全属于自己的新内容,这种体验会非常好的吧。

mob现在似乎不支持自定义模型?把这个加在计划列表里吧。女仆mod这方面就做得很好了,所以我相信自定义模型应该是可以实现的。有这个功能的话,这个mod就完败更多生物类的mod!

新加入的生物能多大程度上自定义?我非常希望你加入的特性包括一个完全可自定义的带GUI可互动的NPC。我记得有个类似的自定义NPC的mod,它的方法也许值得参考。

另外一些更高级的块的属性可以通过这个mod实现不?比如类似RP2里面方块破坏机那种块的功能能否加入。如果这些都能加入进来。那minecraft几乎只需要这一款mod了~~


作者: ioptional    时间: 2012-5-26 22:26
craft 发表于 2012-5-26 16:27
在minecraftforum看过你的帖子了。很赞的想法呢。
表示非常喜欢这个mod,希望它能走得更远,我有些不成熟的 ...

圖形介面/API其實有準備做, 可是基礎還沒完善暫時沒去弄

官網我也有說支援MOB, 不過只能用基本的模組

例如牛, 可以設定HP, 大小, 可繁殖, 會望看玩家等等, 總之原本有的也能繼承

日後會有一個叫作 Object API 的東西, 高級的程序員可以自己寫一個方塊/物品的CLASS出來, 只要能接收創世模組的參數, 就可以直接呼叫
作者: craft    时间: 2012-5-27 10:25
ioptional 发表于 2012-5-26 22:26
圖形介面/API其實有準備做, 可是基礎還沒完善暫時沒去弄

官網我也有說支援MOB, 不過只能用基本的模組
...

如果mob只支援基本的模型还是蛮可惜的。
把增加多模型生物放在计划表上吧,至少增加自定义mob可用的基本模型:比如体型硕大的巨怪,非常矮小的矮人,兽人,机械物体~~较高级的用户甚至可以自定义模型。
当然,这只是我作为使用者的期盼。

还有个比较大胆的想法,既然这个mod可以在原版基础上增加新物品直接使用原版的方法,那么能不能援引支持一些比较常见的mod。比如自定义工业2的某种发电机。不清楚实现难度是否很大,如果可行也请考虑下这个提议吧。

总而言之,非常期待后续的更新。:P
作者: hyl879    时间: 2012-6-24 22:43
看了下很感兴趣 不知道楼主有没有想法弄bukkit的版本呢?
作者: teddycheung    时间: 2012-6-26 19:43
比機翻更差