Skip to content

Commit cae273b

Browse files
Ate Imports
1 parent c53c72b commit cae273b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+23
-159
lines changed

src/main/java/com/github/ethanicuss/astraladditions/AstralAdditions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import com.github.ethanicuss.astraladditions.registry.ModEntities;
44
import com.github.ethanicuss.astraladditions.registry.ModFluids;
5-
import com.github.ethanicuss.astraladditions.particle.ModParticles;
5+
import com.github.ethanicuss.astraladditions.registry.ModParticles;
66
import com.github.ethanicuss.astraladditions.playertracker.WorldRegister;
77
import com.github.ethanicuss.astraladditions.registry.*;
88
import net.fabricmc.api.ModInitializer;

src/main/java/com/github/ethanicuss/astraladditions/AstralAdditionsClient.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
package com.github.ethanicuss.astraladditions;
22

3-
import com.github.ethanicuss.astraladditions.particle.ModParticles;
3+
import com.github.ethanicuss.astraladditions.registry.ModParticles;
44
import com.github.ethanicuss.astraladditions.registry.ModEntities;
55
import com.github.ethanicuss.astraladditions.registry.ModFluids;
66
import com.github.ethanicuss.astraladditions.playertracker.PlayerTracker;
77
import com.github.ethanicuss.astraladditions.registry.ModBlocks;
88
import com.github.ethanicuss.astraladditions.registry.ModItemProperties;
99
import net.fabricmc.api.ClientModInitializer;
10-
import net.minecraft.client.render.entity.model.EntityModelLayer;
11-
import net.minecraft.util.Identifier;
1210
import org.slf4j.Logger;
1311
import org.slf4j.LoggerFactory;
1412

src/main/java/com/github/ethanicuss/astraladditions/blocks/DroptusBlock.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,16 @@
33
import com.github.ethanicuss.astraladditions.registry.ModBlocks;
44
import com.github.ethanicuss.astraladditions.registry.ModData;
55
import net.minecraft.block.*;
6-
import net.minecraft.entity.Entity;
76
import net.minecraft.entity.ai.pathing.NavigationType;
8-
import net.minecraft.entity.damage.DamageSource;
97
import net.minecraft.server.world.ServerWorld;
108
import net.minecraft.state.StateManager;
119
import net.minecraft.state.property.BooleanProperty;
1210
import net.minecraft.state.property.IntProperty;
1311
import net.minecraft.state.property.Properties;
14-
import net.minecraft.tag.FluidTags;
1512
import net.minecraft.util.math.BlockPos;
1613
import net.minecraft.util.math.Direction;
1714
import net.minecraft.util.shape.VoxelShape;
1815
import net.minecraft.world.BlockView;
19-
import net.minecraft.world.World;
2016
import net.minecraft.world.WorldAccess;
2117
import net.minecraft.world.WorldView;
2218

@@ -116,4 +112,4 @@ protected void appendProperties(StateManager.Builder<Block, BlockState> builder)
116112
public boolean canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) {
117113
return false;
118114
}
119-
}
115+
}

src/main/java/com/github/ethanicuss/astraladditions/blocks/EnderTipBlock.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package com.github.ethanicuss.astraladditions.blocks;
22

33
import com.github.ethanicuss.astraladditions.registry.ModBlocks;
4-
import com.github.ethanicuss.astraladditions.registry.ModData;
54
import net.minecraft.block.AbstractBlock;
65
import net.minecraft.block.Block;
76
import net.minecraft.block.BlockState;
@@ -42,4 +41,4 @@ public VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos
4241
public boolean canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) {
4342
return false;
4443
}
45-
}
44+
}

src/main/java/com/github/ethanicuss/astraladditions/blocks/LuneShroomBlock.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,7 @@
55
import net.minecraft.block.*;
66
import net.minecraft.entity.Entity;
77
import net.minecraft.entity.ai.pathing.NavigationType;
8-
import net.minecraft.entity.damage.DamageSource;
98
import net.minecraft.server.world.ServerWorld;
10-
import net.minecraft.state.StateManager;
11-
import net.minecraft.state.property.BooleanProperty;
12-
import net.minecraft.state.property.IntProperty;
13-
import net.minecraft.state.property.Properties;
149
import net.minecraft.util.math.BlockPos;
1510
import net.minecraft.util.math.Direction;
1611
import net.minecraft.util.shape.VoxelShape;
@@ -105,4 +100,4 @@ public AbstractBlock.OffsetType getOffsetType() {
105100
public boolean canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) {
106101
return false;
107102
}
108-
}
103+
}

src/main/java/com/github/ethanicuss/astraladditions/blocks/MultisidedBlock.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import net.minecraft.block.BlockState;
44
import net.minecraft.block.HorizontalFacingBlock;
5-
import net.minecraft.item.Wearable;
65
import net.minecraft.state.property.DirectionProperty;
76
import net.minecraft.util.math.Direction;
87

@@ -17,4 +16,4 @@ public MultisidedBlock(Settings settings) {
1716
static {
1817
FACING = HorizontalFacingBlock.FACING;
1918
}
20-
}
19+
}

src/main/java/com/github/ethanicuss/astraladditions/effects/frost/FrostEffect.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
package com.github.ethanicuss.astraladditions.effects.frost;
22

33
import com.github.ethanicuss.astraladditions.AstralAdditions;
4-
import net.minecraft.block.Blocks;
54
import net.minecraft.entity.LivingEntity;
65
import net.minecraft.entity.attribute.AttributeContainer;
76
import net.minecraft.entity.effect.StatusEffect;
87
import net.minecraft.entity.effect.StatusEffectCategory;
9-
import net.minecraft.entity.effect.StatusEffectInstance;
108
import net.minecraft.particle.ParticleTypes;
119
import net.minecraft.util.math.BlockPos;
1210
import net.minecraft.util.math.MathHelper;
13-
import net.minecraft.util.math.Vec3d;
1411
import net.minecraft.world.World;
1512
import org.slf4j.Logger;
1613
import org.slf4j.LoggerFactory;

src/main/java/com/github/ethanicuss/astraladditions/effects/sinkeffect/SinkEffect.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,19 @@
11
package com.github.ethanicuss.astraladditions.effects.sinkeffect;
22

33
import com.github.ethanicuss.astraladditions.AstralAdditions;
4-
import com.github.ethanicuss.astraladditions.registry.ModEffects;
5-
import net.minecraft.block.BlockState;
64
import net.minecraft.block.Blocks;
75
import net.minecraft.entity.LivingEntity;
86
import net.minecraft.entity.attribute.AttributeContainer;
9-
import net.minecraft.entity.attribute.EntityAttribute;
10-
import net.minecraft.entity.attribute.EntityAttributeModifier;
117
import net.minecraft.entity.effect.StatusEffect;
128
import net.minecraft.entity.effect.StatusEffectCategory;
139
import net.minecraft.entity.effect.StatusEffectInstance;
14-
import net.minecraft.entity.player.PlayerEntity;
15-
import net.minecraft.util.function.BooleanBiFunction;
1610
import net.minecraft.util.math.BlockPos;
17-
import net.minecraft.util.math.Box;
18-
import net.minecraft.util.math.MathHelper;
1911
import net.minecraft.util.math.Vec3d;
20-
import net.minecraft.util.shape.VoxelShape;
21-
import net.minecraft.util.shape.VoxelShapes;
2212
import net.minecraft.world.World;
2313
import org.slf4j.LoggerFactory;
2414

2515
import org.slf4j.Logger;
2616

27-
import java.util.Collections;
28-
import java.util.Map;
29-
30-
3117
public class SinkEffect extends StatusEffect {
3218

3319
public static final Logger LOGGER = LoggerFactory.getLogger(AstralAdditions.MOD_ID);

src/main/java/com/github/ethanicuss/astraladditions/entities/boomerang/BoomerangEntity.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,22 @@
22

33
import com.github.ethanicuss.astraladditions.AstralAdditions;
44
import com.github.ethanicuss.astraladditions.registry.ModItems;
5-
import net.fabricmc.fabric.api.item.v1.FabricItem;
6-
import net.fabricmc.fabric.impl.registry.sync.FabricRegistry;
75
import net.minecraft.entity.Entity;
86
import net.minecraft.entity.EntityType;
97
import net.minecraft.entity.ItemEntity;
108
import net.minecraft.entity.damage.DamageSource;
119
import net.minecraft.entity.data.DataTracker;
1210
import net.minecraft.entity.data.TrackedData;
1311
import net.minecraft.entity.data.TrackedDataHandlerRegistry;
14-
import net.minecraft.entity.mob.GhastEntity;
1512
import net.minecraft.entity.player.PlayerEntity;
1613
import net.minecraft.entity.projectile.thrown.ThrownItemEntity;
17-
import net.minecraft.inventory.Inventory;
1814
import net.minecraft.item.Item;
1915
import net.minecraft.item.ItemStack;
20-
import net.minecraft.item.Items;
2116
import net.minecraft.particle.ParticleEffect;
2217
import net.minecraft.particle.ParticleTypes;
2318
import net.minecraft.util.Identifier;
2419
import net.minecraft.util.hit.EntityHitResult;
2520
import net.minecraft.util.hit.HitResult;
26-
import net.minecraft.util.math.Vec3d;
27-
import net.minecraft.util.registry.BuiltinRegistries;
2821
import net.minecraft.util.registry.Registry;
2922
import net.minecraft.world.World;
3023

@@ -192,4 +185,4 @@ protected void initDataTracker() {
192185
this.dataTracker.startTracking(CURVE, 0.0f);
193186
this.dataTracker.startTracking(ITEM, "minecraft:dirt");
194187
}
195-
}
188+
}

src/main/java/com/github/ethanicuss/astraladditions/entities/boomerang/BoomerangEntityRenderer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package com.github.ethanicuss.astraladditions.entities.boomerang;
22

33
import com.github.ethanicuss.astraladditions.AstralAdditions;
4-
import com.github.ethanicuss.astraladditions.entities.cometball.CometballEntity;
54
import net.fabricmc.api.EnvType;
65
import net.fabricmc.api.Environment;
76
import net.minecraft.client.MinecraftClient;

0 commit comments

Comments
 (0)