Everything posted by furiusmax55
-
[1.17.1] Problem With Custom Fluid
I have fixed the problem now the fluids work as they should
-
[1.17.1] Problem With Custom Fluid
and what can i do to fix it?
-
[1.17.1] Problem With Custom Fluid
https://github.com/furiusmax55/AkaneMod
-
[1.17.1] Problem With Custom Fluid
I have restarted my ide and I already see the problem I reinstall forge and upload it to github again
-
[1.17.1] Problem With Custom Fluid
There are some classes that are not covered to 1.17 yet but they are not active and you can play without problem. If thats not the issue, I don't know how I can make it work
-
[1.17.1] Problem With Custom Fluid
https://github.com/furiusmax55/arkane/tree/main/src/main/java/furiusmax im using github desktop
-
[1.17.1] Problem With Custom Fluid
https://github.com/furiusmax55/ArkaneMagicka/tree/main/src/main/java/furiusmax
-
[1.17.1] Problem With Custom Fluid
I can't find the problem
-
[1.17.1] Problem With Custom Fluid
but I don't know what the problem is
-
[1.17.1] Problem With Custom Fluid
I have found the line that returns null. BlockState blockstate1 = blockstate.updateShape(direction.getOpposite(), this.asState(), p_60706_, blockpos$mutableblockpos, p_60707_);
-
[1.17.1] Problem With Custom Fluid
I have never debugged , I have the breakpoin what should I do now?
-
[1.17.1] Problem With Custom Fluid
same error as at the beginning
-
[1.17.1] Problem With Custom Fluid
I'm going to try it
-
[1.17.1] Problem With Custom Fluid
log using vanilla class with the not deprecated constructor
-
[1.17.1] Problem With Custom Fluid
If I use that, an error arises when putting the liquid on the ground
-
[1.17.1] Problem With Custom Fluid
in the other thread a user said that to fix extends vanilla LiquidBlock and copy the code then replace fluid with the method getFluid ()
-
[1.17.1] Problem With Custom Fluid
sorry
-
[1.17.1] Problem With Custom Fluid
And the vanilla LiquidBlock [removed vanilla code - diesieben07]
-
[1.17.1] Problem With Custom Fluid
- [1.17.1] Problem With Custom Fluid
the code is just above- [1.17.1] Problem With Custom Fluid
public static final RegistryObject<CustomLiquidBlock> PURIFIEDWATERBLOCK = BLOCKS .register("purified_water", () -> new CustomLiquidBlock(ModFluids.PURIFIEDWATER, BlockBehaviour.Properties.of(Material.WATER).noCollission().strength(100.0F).noDrops())); public static final RegistryObject<FlowingFluid> PURIFIEDWATER = FLUIDS .register("purified_water", () -> new FluidPurifiedWater.Source(FluidPurifiedWater.PURIFIED_WATER_PROPS)); public static final RegistryObject<FlowingFluid> PURIFIEDWATER_FLOW = FLUIDS .register("purified_water_flow", () -> new FluidPurifiedWater.Flowing(FluidPurifiedWater.PURIFIED_WATER_PROPS)); crash log When I put the fluid with its bucket the game crashes giving that error. The LiquidBlock class constructor is broken and I had to create CustomLiquidBlock to fix it by changing this.fluid to getFluid(). Thanks in advance.- [1.17.1] Help with custom fluid
comes from the same problem but now that error happens a previous log with the error- [1.17.1] Help with custom fluid
Hello, I have the same problem, I have created a custom class with the LiquidBlock vanilla code and now I am getting another error when placing the fluid. Thanks in advance.- [1.16.4] Entity Spin, Help Please
Can somebody help me?- [1.16.4] Entity Spin, Help Please
I have an aggressive mob that when it chases the player spin and then continues to follow the player. entity class public class EntityHound extends MonsterEntity implements IAnimatable { private AnimationFactory factory = new AnimationFactory(this); public EntityHound(EntityType<? extends MonsterEntity> type, World worldIn) { super(type, worldIn); this.ignoreFrustumCheck = true; } private <E extends IAnimatable> PlayState predicate(AnimationEvent<E> event) { event.getController().setAnimation(new AnimationBuilder().addAnimation("idle", true)); return PlayState.CONTINUE; } @Override public void registerControllers(AnimationData data) { data.addAnimationController(new AnimationController(this, "controller", 0, this::predicate)); } @Override public AnimationFactory getFactory() { return this.factory; } @Override protected void registerGoals() { this.goalSelector.addGoal(1, new SwimGoal(this)); this.goalSelector.addGoal(2, new MeleeAttackGoal(this, 0.8D, true)); this.goalSelector.addGoal(3, new LookAtGoal(this, PlayerEntity.class, 15.0F)); this.goalSelector.addGoal(4, new WaterAvoidingRandomWalkingGoal(this, 0.8D)); this.targetSelector.addGoal(1, new HurtByTargetGoal(this)); this.targetSelector.addGoal(2, new NearestAttackableTargetGoal<>(this, PlayerEntity.class, true)); this.targetSelector.addGoal(3, new NearestAttackableTargetGoal<>(this, IronGolemEntity.class, true)); } public static AttributeModifierMap.MutableAttribute func_234200_m_() { return MobEntity.func_233666_p_().createMutableAttribute(Attributes.MAX_HEALTH, 20.0D).createMutableAttribute(Attributes.MOVEMENT_SPEED, (double)0.23F).createMutableAttribute(Attributes.ATTACK_DAMAGE, 1.0D).createMutableAttribute(Attributes.FOLLOW_RANGE, 25.0D); } } - [1.17.1] Problem With Custom Fluid
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.