Skip to content

Commit

Permalink
fix: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Zepalesque committed May 25, 2024
1 parent 6a4d876 commit c308005
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/zepalesque/redux/Redux.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import net.neoforged.neoforge.common.data.ExistingFileHelper;
import net.neoforged.neoforge.data.event.GatherDataEvent;
import net.zepalesque.redux.block.ReduxBlocks;
import net.zepalesque.redux.blockset.ReduxWoodSets;
import net.zepalesque.redux.blockset.wood.ReduxWoodSets;
import net.zepalesque.redux.config.ReduxConfig;
import net.zepalesque.redux.data.gen.ReduxBlockStateGen;
import net.zepalesque.redux.data.gen.ReduxItemModelGen;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.zepalesque.redux.blockset;
package net.zepalesque.redux.blockset.wood;

import com.aetherteam.aether.mixin.mixins.common.accessor.FireBlockAccessor;
import net.minecraft.data.recipes.RecipeCategory;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.zepalesque.redux.blockset;
package net.zepalesque.redux.blockset.wood;

import com.aetherteam.aether.AetherTags;
import com.aetherteam.aether.block.natural.AetherLogBlock;
Expand Down Expand Up @@ -559,7 +559,7 @@ public DeferredHolder<BlockEntityType<?>, BlockEntityType<? extends ZenithHangin

@Override
protected BlockSetType setType(String id, SoundType sound) {
return new BlockSetType(
return BlockSetType.register(new BlockSetType(
id,
true,
true,
Expand All @@ -574,7 +574,7 @@ protected BlockSetType setType(String id, SoundType sound) {
SoundEvents.WOODEN_PRESSURE_PLATE_CLICK_ON,
SoundEvents.WOODEN_BUTTON_CLICK_OFF,
SoundEvents.WOODEN_BUTTON_CLICK_ON
);
));
}

@Override
Expand All @@ -584,14 +584,14 @@ public BlockSetType setType() {

@Override
protected WoodType woodType(String id, BlockSetType type, SoundType sound) {
return new WoodType(
return WoodType.register(new WoodType(
id,
type,
sound,
SoundType.HANGING_SIGN,
SoundEvents.FENCE_GATE_CLOSE,
SoundEvents.FENCE_GATE_OPEN
);
));
}

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.zepalesque.redux.blockset;
package net.zepalesque.redux.blockset.wood;

import net.minecraft.world.level.block.SoundType;
import net.minecraft.world.level.material.MapColor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
package net.zepalesque.redux.client.renderer;

import net.minecraft.client.renderer.blockentity.HangingSignRenderer;
import net.minecraft.client.renderer.blockentity.SignRenderer;
import net.neoforged.api.distmarker.Dist;
import net.neoforged.bus.api.SubscribeEvent;
import net.neoforged.fml.common.Mod;
import net.neoforged.neoforge.client.event.EntityRenderersEvent;
import net.zepalesque.redux.Redux;
import net.zepalesque.redux.blockset.BaseWoodSet;
import net.zepalesque.redux.blockset.ReduxWoodSets;

@Mod.EventBusSubscriber(modid = Redux.MODID, value = Dist.CLIENT, bus = Mod.EventBusSubscriber.Bus.MOD)
public class ReduxRenderers {
Expand Down

0 comments on commit c308005

Please sign in to comment.