44 lines
865 B
JavaScript
44 lines
865 B
JavaScript
ServerEvents.recipes(event => {
|
|
|
|
// cheaper spyglass
|
|
event.remove({output: 'minecraft:spyglass'});
|
|
event.shaped(
|
|
'minecraft:spyglass',
|
|
[
|
|
' A',
|
|
' B ',
|
|
'B ',
|
|
],
|
|
{
|
|
A: 'minecraft:glass',
|
|
B: 'minecraft:copper_ingot'
|
|
}
|
|
);
|
|
|
|
// cheaper map
|
|
event.remove({output: 'minecraft:map'});
|
|
event.shaped(
|
|
'minecraft:map',
|
|
[
|
|
'BBB',
|
|
'BAB',
|
|
'BBB'
|
|
],
|
|
{
|
|
A: 'minecraft:spyglass',
|
|
B: 'minecraft:paper'
|
|
}
|
|
);
|
|
|
|
// map atlas shapeless
|
|
event.remove({output: 'map_atlases:atlas'});
|
|
event.shapeless(
|
|
'map_atlases:atlas',
|
|
[
|
|
'minecraft:map',
|
|
'minecraft:book',
|
|
'minecraft:compass'
|
|
]
|
|
);
|
|
});
|