your current location:首页 > news>Basic attributes and parameter settings [CEX] core expansion (CoreEXTENSIONS) Minecraft Game

Basic attributes and parameter settings [CEX] core expansion (CoreEXTENSIONS) Minecraft Game

2024-12-10 17:51:17|Myriagame |source:minecraft skins

Foreword

This article is used to introduce the basic attributes and parameters of setting custom content

Universal type

 testname:

Name: "Example item"#will automatically add to the language [String type]

Namespace: "CoreEXTENSIONS"#Naming Space [String Type]

ID: "CUSTOM_ITEM"#Item ID [String Type]

Types: "#t t [String type]

Maxcount: 64#Maximum stacking [integer INT type]

Basic attribute settings

Item

 Properties:

Generate: true#Whether to automatically generate json

Groups: "CoreEXTENSIONS: Itemgroups"#Add to the item group

Rarity: "Common"#Rarely (parameters can be uncommon, rare, epic)

Weapon

 Properties:

Generate: true#Whether to automatically generate json

Groups: "CoreEXTENSIONS: Itemgroups"#Add to the item group

Attackdamage: 3.0#damage [optional parameter] (Double type)

Attackspeed: -2.4#Attack speed [optional parameter] (Double type)

Durability: 250#durability [optional parameter] (integer INT type)

Repairaticial: "Minecraft: IRON_INGOT"#required item

Rarity: "Common"#Rarely [Optional Parameter] (Parameters can also be uncommon, rare, epic)

Tool class

 Properties:

Generate: true#Whether to automatically generate json

Groups: "CoreEXTENSIONS: Itemgroups"#Add to the item group

Level: "2"#掘 l [Optional parameter, 0 golden wood, 1 stone, 2 iron, 3 diamond] (String type) Attackdamage: 1.0#damage [optional parameter] (Double type)

Attackspeed: -2.8#Attack speed [optional parameter] (Double type)

Durability: 250#durability [optional parameter] (integer INT type)

Repairmaticial: Minecraft: Iron_INGOT#砧 [Must -fill parameter]

Armor

 Properties:

Generate: true#Whether to automatically generate json

Groups: "CoreEXTENSIONS: Itemgroups"#Add to the item group

Repairingredient: "Minecraft: Iron_INGOT"#repair item

Durability: 200#durability [optional parameter] (integer INT type)

Protection: 3#defense value [Optional parameter] (integer INT type)

Toughness: 0.0#Toughness [Optional Parameter] (Double type)

KnockbackResistance: 0.0#Anti -retreat [optional parameter] (Double type)

Spleen

 Properties:

Generate: true#Whether to automatically generate json

Groups: "CoreEXTENSIONS: Itemgroups"#Add to the item group

Durability: 200#durability (integer INT type)

Repairingredient: "Minecraft: Phantom_membrane"#repair item

Block

 Properties:

Generate: true#Whether to automatically generate json

Groups: "CoreEXTENSIONS: Itemgroups"#Add to LightLevel: 0#Light (integer INT type)

DropsNothing: False#Whether it is not dropped

Sound: "stone"#block sound

Hardness: 1.5#block hardness

Resistance: 3.0#block resistance

Usecutoutlayer: True#Does it support transparent rendering

Crop

 Properties:

Generate: true#Whether to automatically generate json

Groups: "CoreEXTENSIONS: Itemgroups"#Add to the item group

Sound: "crop"#square sound

DropsNothing: False#Whether it is not dropped

Generate: True#Whether to automatically generate json

Plant

 Properties:

Generate: true#automatic generating json

DropsNothing: False#No drop

Sound: "grass"#block sound

Groups: "CoreEXTENSIONS: Itemgroups"

Settings:

Effect: "Minecraft: Speed"#Corresponding buff

Effectduration: 10 #Buff duration