mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-03-14 05:35:35 +00:00
e
This commit is contained in:
parent
ed481dded5
commit
2cfb1bebed
@ -27,4 +27,5 @@
|
|||||||
* Decreased the fusing difficulty of chlorine and calcium in the ICF which should hopefully make ClCa fuel pellets usable (untested)
|
* Decreased the fusing difficulty of chlorine and calcium in the ICF which should hopefully make ClCa fuel pellets usable (untested)
|
||||||
* Fixed loot piles only having a single block render AABB, causing armor rewards from red rooms to blink out of existence at certain angles
|
* Fixed loot piles only having a single block render AABB, causing armor rewards from red rooms to blink out of existence at certain angles
|
||||||
* Fixed filled crate blocks not dropping crate items with a stack lock in place
|
* Fixed filled crate blocks not dropping crate items with a stack lock in place
|
||||||
* Fixed stack lock not being applied when an item crate is opened, allowing them to be stacked while the item is open
|
* Fixed stack lock not being applied when an item crate is opened, allowing them to be stacked while the item is open
|
||||||
|
* Fixed clientonly melee component call on the power armor melee controller
|
||||||
@ -43,7 +43,7 @@ public class XFactoryPA {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static BiConsumer<ItemStack, LambdaContext> ORCHESTRA = (stack, ctx) -> {
|
public static BiConsumer<ItemStack, LambdaContext> ORCHESTRA = (stack, ctx) -> {
|
||||||
IPAMelee component = IPAWeaponsProvider.getMeleeComponentClient();
|
IPAMelee component = IPAWeaponsProvider.getMeleeComponentCommon(ctx.getPlayer());
|
||||||
if(component != null) component.orchestra(stack, ctx);
|
if(component != null) component.orchestra(stack, ctx);
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -54,11 +54,11 @@ public class XFactoryPA {
|
|||||||
};
|
};
|
||||||
|
|
||||||
public static BiConsumer<ItemStack, LambdaContext> LAMBDA_CLICK_MELEE_PRIMARY = (stack, ctx) -> {
|
public static BiConsumer<ItemStack, LambdaContext> LAMBDA_CLICK_MELEE_PRIMARY = (stack, ctx) -> {
|
||||||
IPAMelee component = IPAWeaponsProvider.getMeleeComponentClient();
|
IPAMelee component = IPAWeaponsProvider.getMeleeComponentCommon(ctx.getPlayer());
|
||||||
if(component != null) component.clickPrimary(stack, ctx);
|
if(component != null) component.clickPrimary(stack, ctx);
|
||||||
};
|
};
|
||||||
public static BiConsumer<ItemStack, LambdaContext> LAMBDA_CLICK_MELEE_SENONDARY = (stack, ctx) -> {
|
public static BiConsumer<ItemStack, LambdaContext> LAMBDA_CLICK_MELEE_SENONDARY = (stack, ctx) -> {
|
||||||
IPAMelee component = IPAWeaponsProvider.getMeleeComponentClient();
|
IPAMelee component = IPAWeaponsProvider.getMeleeComponentCommon(ctx.getPlayer());
|
||||||
if(component != null) component.clickSecondary(stack, ctx);
|
if(component != null) component.clickSecondary(stack, ctx);
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -76,11 +76,11 @@ public class XFactoryPA {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static BiConsumer<ItemStack, LambdaContext> LAMBDA_CLICK_RANGED_PRIMARY = (stack, ctx) -> {
|
public static BiConsumer<ItemStack, LambdaContext> LAMBDA_CLICK_RANGED_PRIMARY = (stack, ctx) -> {
|
||||||
IPARanged component = IPAWeaponsProvider.getRangedComponentClient();
|
IPARanged component = IPAWeaponsProvider.getRangedComponentCommon(ctx.getPlayer());
|
||||||
if(component != null) component.clickPrimary(stack, ctx);
|
if(component != null) component.clickPrimary(stack, ctx);
|
||||||
};
|
};
|
||||||
public static BiConsumer<ItemStack, LambdaContext> LAMBDA_CLICK_RANGED_SENONDARY = (stack, ctx) -> {
|
public static BiConsumer<ItemStack, LambdaContext> LAMBDA_CLICK_RANGED_SENONDARY = (stack, ctx) -> {
|
||||||
IPARanged component = IPAWeaponsProvider.getRangedComponentClient();
|
IPARanged component = IPAWeaponsProvider.getRangedComponentCommon(ctx.getPlayer());
|
||||||
if(component != null) component.clickSecondary(stack, ctx);
|
if(component != null) component.clickSecondary(stack, ctx);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user