3 new records, separate records loot table
This commit is contained in:
parent
7ed1bbf1cf
commit
1f1d7b9c32
12 changed files with 52 additions and 2 deletions
|
@ -80,7 +80,10 @@ public class EndItems {
|
||||||
public final static Item SILK_MOTH_MATRIX = registerItem("silk_moth_matrix");
|
public final static Item SILK_MOTH_MATRIX = registerItem("silk_moth_matrix");
|
||||||
|
|
||||||
// Music Discs
|
// Music Discs
|
||||||
public final static Item MUSIC_DISC_STRANGE_AND_ALIEN = registerDisc("music_disc_strange_and_alien", 0, EndSounds.STRANGE_AND_ALIEN);
|
public final static Item MUSIC_DISC_STRANGE_AND_ALIEN = registerDisc("music_disc_strange_and_alien", 0, EndSounds.RECORD_STRANGE_AND_ALIEN);
|
||||||
|
public final static Item MUSIC_DISC_GRASPING_AT_STARS = registerDisc("music_disc_grasping_at_stars", 0, EndSounds.RECORD_GRASPING_AT_STARS);
|
||||||
|
public final static Item MUSIC_DISC_ENDSEEKER = registerDisc("music_disc_endseeker", 0, EndSounds.RECORD_ENDSEEKER);
|
||||||
|
public final static Item MUSIC_DISC_EO_DRACONA = registerDisc("music_disc_eo_dracona", 0, EndSounds.RECORD_EO_DRACONA);
|
||||||
|
|
||||||
// Armor //
|
// Armor //
|
||||||
public static final Item AETERNIUM_HELMET = registerItem("aeternium_helmet", new EndArmorItem(EndArmorMaterial.AETERNIUM, EquipmentSlot.HEAD, makeItemSettings().fireResistant()));
|
public static final Item AETERNIUM_HELMET = registerItem("aeternium_helmet", new EndArmorItem(EndArmorMaterial.AETERNIUM, EquipmentSlot.HEAD, makeItemSettings().fireResistant()));
|
||||||
|
|
|
@ -31,7 +31,10 @@ public class EndSounds {
|
||||||
public static final SoundEvent ENTITY_SHADOW_WALKER_DEATH = register("entity", "shadow_walker_death");
|
public static final SoundEvent ENTITY_SHADOW_WALKER_DEATH = register("entity", "shadow_walker_death");
|
||||||
|
|
||||||
// Records
|
// Records
|
||||||
public static final SoundEvent STRANGE_AND_ALIEN = register("record", "strange_and_alien");
|
public static final SoundEvent RECORD_STRANGE_AND_ALIEN = register("record", "strange_and_alien");
|
||||||
|
public static final SoundEvent RECORD_GRASPING_AT_STARS = register("record", "grasping_at_stars");
|
||||||
|
public static final SoundEvent RECORD_ENDSEEKER = register("record", "endseeker");
|
||||||
|
public static final SoundEvent RECORD_EO_DRACONA = register("record", "eo_dracona");
|
||||||
|
|
||||||
public static void register() {}
|
public static void register() {}
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,15 @@ public class LootTableUtil {
|
||||||
builder.setRolls(RandomValueBounds.between(0, 5));
|
builder.setRolls(RandomValueBounds.between(0, 5));
|
||||||
builder.withCondition(LootItemRandomChanceCondition.randomChance(0.5f).build());
|
builder.withCondition(LootItemRandomChanceCondition.randomChance(0.5f).build());
|
||||||
builder.withEntry(LootItem.lootTableItem(Items.GHAST_TEAR).build());
|
builder.withEntry(LootItem.lootTableItem(Items.GHAST_TEAR).build());
|
||||||
|
supplier.withPool(builder);
|
||||||
|
|
||||||
|
builder = FabricLootPoolBuilder.builder();
|
||||||
|
builder.setRolls(RandomValueBounds.between(0, 5));
|
||||||
|
builder.withCondition(LootItemRandomChanceCondition.randomChance(0.05f).build());
|
||||||
builder.withEntry(LootItem.lootTableItem(EndItems.MUSIC_DISC_STRANGE_AND_ALIEN).build());
|
builder.withEntry(LootItem.lootTableItem(EndItems.MUSIC_DISC_STRANGE_AND_ALIEN).build());
|
||||||
|
builder.withEntry(LootItem.lootTableItem(EndItems.MUSIC_DISC_GRASPING_AT_STARS).build());
|
||||||
|
builder.withEntry(LootItem.lootTableItem(EndItems.MUSIC_DISC_ENDSEEKER).build());
|
||||||
|
builder.withEntry(LootItem.lootTableItem(EndItems.MUSIC_DISC_EO_DRACONA).build());
|
||||||
supplier.withPool(builder);
|
supplier.withPool(builder);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -821,6 +821,12 @@
|
||||||
|
|
||||||
"item.betterend.music_disc_strange_and_alien": "§bMusic Disc§r",
|
"item.betterend.music_disc_strange_and_alien": "§bMusic Disc§r",
|
||||||
"item.betterend.music_disc_strange_and_alien.desc": "§5Firel§r - §fStrange And Alien§r",
|
"item.betterend.music_disc_strange_and_alien.desc": "§5Firel§r - §fStrange And Alien§r",
|
||||||
|
"item.betterend.music_disc_grasping_at_stars": "§bMusic Disc§r",
|
||||||
|
"item.betterend.music_disc_grasping_at_stars.desc": "§5Firel§r - §fGrasping At Stars§r",
|
||||||
|
"item.betterend.music_disc_endseeker": "§bMusic Disc§r",
|
||||||
|
"item.betterend.music_disc_endseeker.desc": "§5Firel§r - §fEndseeker§r",
|
||||||
|
"item.betterend.music_disc_eo_dracona": "§bMusic Disc§r",
|
||||||
|
"item.betterend.music_disc_eo_dracona.desc": "§5Firel§r - §fEo Dracona§r",
|
||||||
|
|
||||||
"block.betterend.hydralux_petal_block_amber": "Amber Petal Block",
|
"block.betterend.hydralux_petal_block_amber": "Amber Petal Block",
|
||||||
"block.betterend.hydralux_petal_block_beige": "Beige Petal Block",
|
"block.betterend.hydralux_petal_block_beige": "Beige Petal Block",
|
||||||
|
|
|
@ -840,6 +840,9 @@
|
||||||
"item.betterend.cave_pumpkin_pie": "Пирог из пещерной тыквы",
|
"item.betterend.cave_pumpkin_pie": "Пирог из пещерной тыквы",
|
||||||
|
|
||||||
"item.betterend.music_disc_strange_and_alien": "§bПластинка§r",
|
"item.betterend.music_disc_strange_and_alien": "§bПластинка§r",
|
||||||
|
"item.betterend.music_disc_grasping_at_stars": "§bПластинка§r",
|
||||||
|
"item.betterend.music_disc_endseeker": "§bПластинка§r",
|
||||||
|
"item.betterend.music_disc_eo_dracona": "§bПластинка§r",
|
||||||
|
|
||||||
"block.betterend.hydralux_petal_block_amber": "Янтарный блок лепестков",
|
"block.betterend.hydralux_petal_block_amber": "Янтарный блок лепестков",
|
||||||
"block.betterend.hydralux_petal_block_beige": "Бежевый блок лепестков",
|
"block.betterend.hydralux_petal_block_beige": "Бежевый блок лепестков",
|
||||||
|
|
|
@ -277,5 +277,32 @@
|
||||||
"stream": false
|
"stream": false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"betterend.record.grasping_at_stars": {
|
||||||
|
"category": "record",
|
||||||
|
"sounds": [
|
||||||
|
{
|
||||||
|
"name": "betterend:records/firel-grasping_at_stars",
|
||||||
|
"stream": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"betterend.record.endseeker": {
|
||||||
|
"category": "record",
|
||||||
|
"sounds": [
|
||||||
|
{
|
||||||
|
"name": "betterend:records/firel-endseeker",
|
||||||
|
"stream": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"betterend.record.eo_dracona": {
|
||||||
|
"category": "record",
|
||||||
|
"sounds": [
|
||||||
|
{
|
||||||
|
"name": "betterend:records/firel-eo_dracona",
|
||||||
|
"stream": false
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 213 B |
Binary file not shown.
After Width: | Height: | Size: 213 B |
Binary file not shown.
After Width: | Height: | Size: 213 B |
Loading…
Add table
Add a link
Reference in a new issue