2024-12-10 17:53:23|Myriagame |source:minecraft skins
Homepage
Source: https://legacy.cuRSeForge.com/mineCraft/mc-mods/scavenge/pages/documentation
As long as the conditions are not conflicted, you can apply multiple loot to one block.
You can find more custom methods in the document.
Because of the core rewriting, 1.6 or earlier scripts will not be loaded in 1.7!
1.10.2-1.11.x is no longer updated because no one uses it at all.
How to enable JSON files: Put the file in the scavenge configuration folder and enter the configuration file. There is a list of files, enter the file name in it.
s: loadingfiles <Testing.json
>
Note: This module has a jei plug -in that can be customized as needed.
The following is a more complicated example file:
{{"Block_pools": [[
{{
"Name": "netherrack",
"Type": {
"Type": "Block",
"Name": "Minecraft: Nether_brick"
},
"Clicktype": "Both", "Both",
"Properties": [[
{{
"Type": "Require_sneak"
}],,,
"Drops": [[
{{
"Name": "Minecraft: IRON_INGOT"
}
],,,
"Messages": [[
{{
"ID": "Require_sneak",
"Message": "Player Requires to Sneak"
}
]
}
]
}
Order:
/Scavenge RELOAD, reload the configuration and script.(It will also automatically trigger/Scavenge Printerrs command)
/Scavenge Printerrs, the error of the script.
Known questions:
The block entity cannot work normally.
Basic configuration
Source: https://legacy.cuRSeForge.com/mineCraft/mc-mods/scavenge/pages/documentation/usage-documentationScavenge loaded the JSON file from its configuration folder through FORGE Config.
These files are turned into a script -like language, and you can define some content in it and make it execute in some way.
To load files, a certain format must be provided.
Each file starts with an object, which contains a value called "block_pools".
Example:
{{"Block_pools":
[
]
}
Define which blocks should be influenced in the "Block_pools" array.
Each blockpool can affect one or more blocks, depending on the type.As long as the conditions are incomplete, the duplicate blocks can also be defined in the blockpool.
Now, you can define several options in Blockpool: (Blockpool in the following refers to the block defined in it)
"name": (Define the name of the Blockpool. Some conditions/effects depend on the name. It must maintain uniqueness.) String,
"Type": (Define whether the blockpool is a single block, a block list or a mineral resignation.) Object,
"clickType": (whether the trigger condition is left or right or both) string,
"BlockRightClick" and "BlockleftClick": (Check whether the click is blocked. Optional, the default is to prevent interaction after processing the blockpool.
"Disablejei": (allows this entry to hide in Jei. Default: visible) Boolean value,
"Properties": (Condition/effect that Blockpool should have when clicking) array or object of array or object,
"DROPS": (to meet all the conditions to generate a warrior) array or object,
"Messages": (When certain conditions are met/dissatisfied with the prompt information) array or object.
After the above basic explanation, let's look at more complicated details.
"Type" is used to define "block", "ou" or "block_list".
The following are several examples:
"Block" defines a square that needs to take effect.Can be defined in 3 ways:
Ren "Meta", which matches a block metadata.
"Metas", matches a variety of block data.
Or ignore it.If the meta -data is not defined, it matches any block data.
Example:
"type":{{
"Type": "Block",
"Name": "Minecraft: DIRT",
"Meta": 5
}
or:
"type":{{
"Type": "Block",
"Name": "Minecraft: DIRT",
"Metas": [5, 3, 2, 12]}
"ORE" finds all blocks with corresponding mine and used to build a list.
For example, "Orecopper" collects all copper ore together and applies the same effect on them.
Example:
"type":{{
"Type": "ou",
"Name": "orecopper"
}
"Block_list" allows you to define multiple blocks at a time.
For each object entry in this added type, you can also apply the same metadata judgment rules as the "Block" type.
Example:
"type": {"Type": "Block_list",
"Blocks": [[[
{{
"Name": "Minecraft: DIRT",
"Meta": 5
},
{{
"Name": "Minecraft: DIRT",
"Metas": [5, 3, 3, 12]
},
{{
"Name": "Minecraft: DIRT"
}
]
}
"Properties" defines the conditions and effects of BlockPool.
For example, "players must sneak", "players must have achievements and are in y = 55" or "players get 5 points of life and lose 2 experience values."
Properties available attributes can be found in another tutorial, because there are too many available conditions.
Some conditions have conflicts and are defined below.
The block attributes can be summarized as: "ID", "Description", "Parameters", "IncomPatible With", "Type"."Drops" is defined as a loot that will fall when satisfying the condition set.
These are completely optional.But Blockpool requires at least one effect or at least one kind of loot drop.
When creating warfares, you need to add the following.
"name": (name name that should be dropped) string,
"Meta": (the metadata of items, the default value is 0) integer,
"amount": (the number of drops, the default value is 1) integer,
"NBT": (NBT data of items, no default) string,
"CHANCE" or "Weight": (Decided whether the drop is based on the probability or the weight. The default probability is 100%) The number of floating points as the probability or integer as the weight,
"Rolls": (only check whether "opportunities" are selected and defined the frequency that allows to collect loot in one click.
"Disablejei": (Show in Jei. Default display) Boolean value,
"Properties": (The attribute definition of passive or actively applied to the effect of items. Passive indicates that when creating war products in the script, actively indicate the collection of loot.)
"Conditions": (allowing the block conditions to add to the warrior itself, and then the loot will be dropped only after meeting all the conditions. These are implemented like block conditions. It is also suitable for loot based on probability.) Organization or objects,,
Examples of all attributes except "Properties":
Weight:
{{"Name": "Minecraft: Iron_INGOT",
"Meta": "0",
"Amount": "54",
"NBT": "Customnbt",
"Disablejei": false,
"Weight": 423
}
Probability:
{{"Name": "Minecraft: Iron_INGOT",
"Meta": "0",
"Amount": "54",
"NBT": "Customnbt",
"Disablejei": false,
"CHANCE": 99,
"Rolls": 255
}
There is a probability of condition:
{{"Name": "Minecraft: Iron_ingot", "Meta": "0", "0",
"Amount": "54",
"NBT": "Customnbt",
"Disablejei": false,
"CHANCE": 99,
"Rolls": 255,
"Conditions": [[
{{
"Type": "Require_sneak"
},
{{
"Type": "Require_item",
"Name": "Minecraft: stick"
}
]
}
The "attributes" applied to loot are the same as the attributes of the block, but they have different IDs.
Now let's transfer to "MESSAGES" in Blockpool.
The message allows the player to notify some situations that may happen.
Including failed conditions, special effects that have played or whether pools have been implemented routinely.
This is based on the "ID" and "MESSAGES" systems."ID" means the condition/effect of triggering the message, and "Messages" is a message sent to the player.
Example:
"messages":[
{{
"ID": "Require_empty_hand",
"MESSAGE": "You Require A Empty Hand to USE This Effect"
}
]
If there are any conditions failed and the pool has been executed, there is a special "IDS".These are called "Global" and "SUCCESS", and call when conditions fail ("Global") or "Success")
The most important thing is that if you have repeated attribute entries, you can also capture these entries by adding _1 or _2.
Example:
"messages":[
{{
"ID": "Require_block",
"MESSAGE": "YOU Require a Dirt Block"
},
{{
"ID": "Require_block_1",
"MESSAGE": "You require a stone block"
},
{{
"ID": "Require_block_2",
"MESSAGE": "You repire a wood block"
}
]
This is completed according to the writing method, from top to bottom.Therefore, the second message will capture the third "require_block" condition, and the first message will capture the first condition.
National Service DNF Dark Ni
2025-01-28 09:19:27The new screenshot of the be
2025-01-28 09:18:57The 15th anniversary wallpap
2025-01-28 09:18:273DM Xuanyuan Sinicization Gr
2025-01-28 09:17:57French magazine is the first
2025-01-28 09:17:27The sneak game "Republic" wi
2025-01-28 09:16:57The story between humans and
2025-01-28 09:16:27Capture "Trinity 3: Artifact
2025-01-28 09:15:27Wind direction change "Myste
2025-01-28 09:14:57DICE's new project "Dream" w
2025-01-28 09:14:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:26Master Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25King Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25Guide Minecraft Skins
Minecraft Skins
2024-12-10 04:11:24Dark Knight Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Sparta Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Moncraft Skins of the War
Minecraft Skins
2024-12-10 04:11:22Red Witch Minecraft Skins
Minecraft Skins
2024-12-10 04:11:22Golden Cavaliers Minecraft S
Minecraft Skins
2024-12-10 04:11:22