update to hotfix2

This commit is contained in:
ZHAY10086
2025-11-17 15:35:44 +08:00
parent 034eda5b37
commit af1c6af3e8
19 changed files with 123 additions and 67 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ enc8.addItemOutput(SuperEnchantedItem(<aether_legacy:ice_pendant>.withTag({displ
enc8.build();
val enc9 = RecipeBuilder.newBuilder("astaeth9","gravitite_enchanter",40);
enc9.addFluidInput(<fluid:astralsorcery.liquidstarlight>*50);
enc9.addFluidInput(<fluid:astralsorcery.liquidstarlight>*60);
enc9.addItemInput(<aether_legacy:blue_berry>);
enc9.addItemOutput(<aether_legacy:enchanted_blueberry>);
enc9.build();
+2 -2
View File
@@ -641,8 +641,8 @@ rainbowlensgrav.addItemOutput(<contenttweaker:rainbow_lens>);
rainbowlensgrav.build();
val rainbowlensgrav2 = RecipeBuilder.newBuilder("rainbowlensgrav2","gravitite_enchanter",5);
rainbowlensgrav2.addFluidInput(<fluid:stormlight>*5);
val rainbowlensgrav2 = RecipeBuilder.newBuilder("rainbowlensgrav2","gravitite_enchanter",40);
rainbowlensgrav2.addFluidInput(<fluid:stormlight>*200);
rainbowlensgrav2.addItemInput(<contenttweaker:rainbow_gemstones>*4);
rainbowlensgrav2.addItemInput(<contenttweaker:gravitite_lens>);
rainbowlensgrav2.addItemInput(<contenttweaker:fluix_lens>);
+7
View File
@@ -42,6 +42,13 @@ recipes.addShaped(<contenttweaker:demonologist_callstone>,
[<contenttweaker:imp_skin>, <contenttweaker:sigil_power>, <contenttweaker:imp_skin>],
[<forestry:bee_combs:2>, <gendustry:gene_sample>.withTag({species: "rootBees", chromosome: 0, allele: "forestry.speciesDemonic"}), <forestry:bee_combs:2>]]);
recipes.addShaped(<contenttweaker:baku_heart>*4,
[[<forestry:bee_combs:2>, <gendustry:gene_sample>.withTag({species: "rootBees", chromosome: 0, allele: "forestry.speciesDemonic"}), <forestry:bee_combs:2>],
[<contenttweaker:baku_heart>, <bewitchment:sigil_ruin>, <contenttweaker:baku_heart>],
[<forestry:bee_combs:2>, <gendustry:gene_sample>.withTag({species: "rootBees", chromosome: 0, allele: "forestry.speciesDemonic"}), <forestry:bee_combs:2>]]);
val oreDemonStoneOreDict = <ore:oreDemonStone>;
oreDemonStoneOreDict.add(<contenttweaker:demon_stone>);
@@ -1,6 +1,6 @@
#modloaded astralsorcery
#loader mixin
#clientonly
#sideonly client
import native.hellfirepvp.astralsorcery.client.ClientScheduler;
import native.net.minecraft.client.renderer.BufferBuilder;
@@ -140,4 +140,4 @@ zenClass AstralRelayHalo_RenderTranslucentItem {
GlStateManager.enableTexture2D();
GlStateManager.popMatrix();
}
}
}
@@ -1,5 +1,6 @@
#modloaded astralsorcery
#loader mixin
#sideonly client
import native.hellfirepvp.astralsorcery.common.tile.TileAttunementRelay;
@@ -56,4 +57,4 @@ zenClass MixinTESRAttunementRelay_RenderFix {
// Fully replace original method body
ci.cancel();
}
}
}
@@ -46,4 +46,4 @@ zenClass MixinBlockAttunementRelay_OnActivateGuard {
if (!current.isEmpty() && ItemStack.areItemsEqual(current, held) && ItemStack.areItemStackTagsEqual(current, held))
cir.setReturnValue(true);
}
}
}
@@ -1,6 +1,6 @@
#modloaded bewitchment
#loader mixin
#clientonly
#sideonly client
import native.mezz.jei.api.IModRegistry;
import native.mezz.jei.api.recipe.transfer.IRecipeTransferRegistry;
+24
View File
@@ -2,16 +2,21 @@
#loader mixin
import native.net.minecraft.item.ItemStack;
import native.net.minecraft.nbt.NBTTagCompound;
import native.forestry.api.genetics.AlleleManager;
import native.forestry.api.apiculture.BeeManager;
import native.forestry.api.apiculture.EnumBeeType;
import native.net.bdew.gendustry.machines.imprinter.TileImprinter;
import native.net.bdew.gendustry.items.GeneTemplate;
import mixin.CallbackInfo;
import mixin.CallbackInfoReturnable;
// Allow putting a Queen into the Genetic Imprinter, instead of only Princess or Drone
#mixin {targets: "net.bdew.gendustry.machines.imprinter.TileImprinter"}
zenClass AllowQueenImprinting {
// Overrides the slot validation, to allow queens to be inserted into the imprinter
// SRG HEAD: TileEntity#isItemValidForSlot -> func_94041_b)
#mixin Inject
#{
@@ -31,4 +36,23 @@ zenClass AllowQueenImprinting {
cir.setReturnValue(true);
}
}
// The imprinter only overwrites 1 genome, but queens need both genomes set.
#mixin Inject
#{
# method: "doStart",
# at: { value: "HEAD" },
# cancellable: true
#}
function ensureBothGenomes(bee as ItemStack, ci as CallbackInfo) as void {
val self as TileImprinter = this as TileImprinter;
val individual = AlleleManager.alleleRegistry.getIndividual(bee);
// getType(ItemStack) fails because of ZS, so we use isMated and isDrone as Queen detection
if (individual != null && BeeManager.beeRoot.isMated(bee) && !BeeManager.beeRoot.isDrone(bee)) {
val tag as NBTTagCompound = bee.getTagCompound();
tag.setTag("Mate", tag.getCompoundTag("Genome"));
}
}
}
@@ -1,20 +0,0 @@
#loader mixin
import mixin.CallbackInfo;
import native.openblocks.enchantments.LastStandEnchantmentsHandler;
#mixin Mixin
#{targets: "openblocks.enchantments.LastStandEnchantmentsHandler"}
zenClass MixinLastStandEnchantmentsHandler {
#mixin ModifyConstant
#{
# method: "lambda$onLivingHurt$0",
# constant: {intValue: 50}
#}
function changelaststandflatmultiplier(value as int) as int {
return 400;
}
}
@@ -0,0 +1,16 @@
#modloaded openblocks
#loader mixin
#mixin {value: "openblocks.enchantments.LastStandEnchantmentsHandler"}
zenClass MixinLastStandEnchantmentsHandler {
#mixin Static
#mixin ModifyConstant
#{
# method: "lambda$onHurt$1",
# constant: {floatValue: 50.0}
#}
function mbc_modify_xpRequiredFlat(original as float) as float {
return 400.0f;
}
}
@@ -1,17 +0,0 @@
#loader mixin
import mixin.CallbackInfo;
import native.com.github.alexthe666.iceandfire.entity.EntityTideTrident;
#mixin Mixin
#{targets: "com.github.alexthe666.iceandfire.entity.EntityTideTrident"}
zenClass MixinEntityTideTrident {
#mixin ModifyConstant
#{
# method: "EntityTideTrident",
# constant: {doubleValue: 6.0D}
#}
function ChangeTideTridentdamage(existing as double) as double {
return 35.0 as double;
}
}
@@ -0,0 +1,14 @@
#modloaded iceandfire
#loader mixin
#mixin {value: "com.github.alexthe666.iceandfire.entity.EntityTideTrident"}
zenClass MixinEntityTideTrident {
#mixin ModifyConstant
#{
# method: "<init>",
# constant: {doubleValue: 6.0D}
#}
function mbc_modify_dmg_TideTrident(original as double) as double {
return 35.0d;
}
}