mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-03-14 05:35:35 +00:00
Merge branch 'HbmMods:master' into master
This commit is contained in:
commit
6fb495bd7b
@ -28,3 +28,5 @@
|
|||||||
* 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
|
||||||
|
* Fixed SEDNA melee (bayonets, power armor melee) being able to punch dead or dying entities, which would swallow hits intended for entities behind them
|
||||||
@ -1,6 +1,6 @@
|
|||||||
mod_version=1.0.27
|
mod_version=1.0.27
|
||||||
# Empty build number makes a release type
|
# Empty build number makes a release type
|
||||||
mod_build_number=5615
|
mod_build_number=5616
|
||||||
|
|
||||||
credits=HbMinecraft,\
|
credits=HbMinecraft,\
|
||||||
\ rodolphito (explosion algorithms),\
|
\ rodolphito (explosion algorithms),\
|
||||||
|
|||||||
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@ package com.hbm.lib;
|
|||||||
public class RefStrings {
|
public class RefStrings {
|
||||||
public static final String MODID = "hbm";
|
public static final String MODID = "hbm";
|
||||||
public static final String NAME = "Hbm's Nuclear Tech Mod";
|
public static final String NAME = "Hbm's Nuclear Tech Mod";
|
||||||
public static final String VERSION = "1.0.27 BETA (5615)";
|
public static final String VERSION = "1.0.27 BETA (5616)";
|
||||||
//HBM's Beta Naming Convention:
|
//HBM's Beta Naming Convention:
|
||||||
//V T (X)
|
//V T (X)
|
||||||
//V -> next release version
|
//V -> next release version
|
||||||
|
|||||||
@ -454,7 +454,7 @@ public class EntityDamageUtil {
|
|||||||
for(int i = 0; i < list.size(); ++i) {
|
for(int i = 0; i < list.size(); ++i) {
|
||||||
Entity entity = (Entity) list.get(i);
|
Entity entity = (Entity) list.get(i);
|
||||||
|
|
||||||
if(entity.canBeCollidedWith()) {
|
if(entity.canBeCollidedWith() && entity.isEntityAlive()) {
|
||||||
|
|
||||||
double borderSize = entity.getCollisionBorderSize() + threshold;
|
double borderSize = entity.getCollisionBorderSize() + threshold;
|
||||||
AxisAlignedBB axisalignedbb = entity.boundingBox.expand(borderSize, borderSize, borderSize);
|
AxisAlignedBB axisalignedbb = entity.boundingBox.expand(borderSize, borderSize, borderSize);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user