mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Fixes #2165
This commit is contained in:
parent
446191d4bf
commit
e380f8b972
@ -67,6 +67,7 @@
|
||||
* Fixed old Infused Magnets not working
|
||||
* Fixed old GPS Emergency Transmitters not working
|
||||
* Fixed #2156
|
||||
* Fixed #2165
|
||||
|
||||
## Release Candidate 14 (12 Jul 2020)
|
||||
|
||||
|
@ -43,10 +43,29 @@ public class RadioactiveItem extends SlimefunItem implements Radioactive, NotPla
|
||||
* The recipe of how to craft this {@link SlimefunItem}
|
||||
*/
|
||||
public RadioactiveItem(Category category, Radioactivity radioactivity, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe) {
|
||||
super(category, item, recipeType, recipe);
|
||||
this(category, radioactivity, item, recipeType, recipe, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* This will create a new {@link RadioactiveItem} with the given level of {@link Radioactivity}
|
||||
*
|
||||
* @param category
|
||||
* The {@link Category} of this {@link SlimefunItem}
|
||||
* @param radioactivity
|
||||
* the level of {@link Radioactivity}
|
||||
* @param item
|
||||
* the {@link SlimefunItemStack} this {@link SlimefunItem} represents
|
||||
* @param recipeType
|
||||
* The {@link RecipeType} for this item
|
||||
* @param recipe
|
||||
* The recipe of how to craft this {@link SlimefunItem}
|
||||
* @param recipeOutput
|
||||
* The recipe output
|
||||
*/
|
||||
public RadioactiveItem(Category category, Radioactivity radioactivity, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe, ItemStack recipeOutput) {
|
||||
super(category, item, recipeType, recipe, recipeOutput);
|
||||
|
||||
this.radioactivity = radioactivity;
|
||||
|
||||
addItemHandler(onRightClick());
|
||||
}
|
||||
|
||||
|
@ -2781,12 +2781,12 @@ public final class SlimefunItemSetup {
|
||||
.register(plugin);
|
||||
|
||||
new RadioactiveItem(categories.resources, Radioactivity.VERY_HIGH, SlimefunItems.ENRICHED_NETHER_ICE, RecipeType.HEATED_PRESSURE_CHAMBER,
|
||||
new ItemStack[] {SlimefunItems.NETHER_ICE, SlimefunItems.PLUTONIUM, null, null, null, null, null, null, null})
|
||||
.register(plugin);
|
||||
new ItemStack[] {SlimefunItems.NETHER_ICE, SlimefunItems.PLUTONIUM, null, null, null, null, null, null, null},
|
||||
new SlimefunItemStack(SlimefunItems.ENRICHED_NETHER_ICE, 4)).register(plugin);
|
||||
|
||||
new ElevatorPlate(categories.gps, SlimefunItems.ELEVATOR_PLATE, RecipeType.ENHANCED_CRAFTING_TABLE,
|
||||
new ItemStack[] {null, new ItemStack(Material.STONE_PRESSURE_PLATE), null, new ItemStack(Material.PISTON), SlimefunItems.ELECTRIC_MOTOR, new ItemStack(Material.PISTON), SlimefunItems.ALUMINUM_BRONZE_INGOT, SlimefunItems.ALUMINUM_BRONZE_INGOT, SlimefunItems.ALUMINUM_BRONZE_INGOT},
|
||||
new CustomItem(SlimefunItems.ELEVATOR_PLATE, 2))
|
||||
new SlimefunItemStack(SlimefunItems.ELEVATOR_PLATE, 2))
|
||||
.register(plugin);
|
||||
|
||||
new FoodFabricator(categories.electricity, SlimefunItems.FOOD_FABRICATOR, RecipeType.ENHANCED_CRAFTING_TABLE,
|
||||
@ -3023,7 +3023,7 @@ public final class SlimefunItemSetup {
|
||||
|
||||
new CoolantCell(categories.technicalComponents, SlimefunItems.NETHER_ICE_COOLANT_CELL, RecipeType.HEATED_PRESSURE_CHAMBER,
|
||||
new ItemStack[] {SlimefunItems.ENRICHED_NETHER_ICE, null, null, null, null, null, null, null, null},
|
||||
new SlimefunItemStack(SlimefunItems.NETHER_ICE_COOLANT_CELL, 4))
|
||||
new SlimefunItemStack(SlimefunItems.NETHER_ICE_COOLANT_CELL, 8))
|
||||
.register(plugin);
|
||||
|
||||
new RadioactiveItem(categories.resources, Radioactivity.HIGH, SlimefunItems.NEPTUNIUM, RecipeType.NUCLEAR_REACTOR,
|
||||
|
Loading…
Reference in New Issue
Block a user