Skip to content

Commit

Permalink
Change Namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ktpatient committed May 9, 2024
1 parent 5f702c9 commit 738971d
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 41 deletions.
26 changes: 2 additions & 24 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,43 +1,21 @@
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
#org.gradle.jvmargs=
org.gradle.daemon=false
org.gradle.debug=false

#read more on this at https://github.com/neoforged/NeoGradle/blob/NG_7.0/README.md#apply-parchment-mappings
# you can also find the latest versions at: https://parchmentmc.org/docs/getting-started
neogradle.subsystems.parchment.minecraftVersion=1.20.4
neogradle.subsystems.parchment.mappingsVersion=2024.04.14

# Environment Properties
# You can find the latest versions here: https://projects.neoforged.net/neoforged/neoforge
# The Minecraft version must agree with the Neo version to get a valid artifact
minecraft_version=1.20.4
# The Minecraft version range can use any release version of Minecraft as bounds.
# Snapshots, pre-releases, and release candidates are not guaranteed to sort properly
# as they do not follow standard versioning conventions.
minecraft_version_range=[1.20.4,1.21)
# The Neo version must agree with the Minecraft version to get a valid artifact
neo_version=20.4.233
# The Neo version range can use any version of Neo as bounds
neo_version_range=[20.4,)
# The loader version range can only use the major version of FML as bounds
loader_version_range=[2,)

## Mod Properties

# The unique mod identifier for the mod. Must be lowercase in English locale. Must fit the regex [a-z][a-z0-9_]{1,63}
# Must match the String constant located in the main mod class annotated with @Mod.
mod_id=invertedbed
# The human-readable display name for the mod.
mod_name=Inverted Bed
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=MIT
# The mod version. See https://semver.org/
mod_version=1.0.0
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
mod_group_id=com.leclowndu93150.invertedbed
# The authors of the mod. This is a simple text string that is used for display purposes in the mod list.
mod_group_id=com.portingdeadmods.invertedbed
mod_authors=Leclowndu93150, Buzz135
# The description of the mod. This is a simple multiline text string that is used for display purposes in the mod list.
mod_description=Adds a bed that skips the day
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.leclowndu93150.invertedbed;
package com.portingdeadmods.invertedbed;

import com.leclowndu93150.invertedbed.block.InvertedBedRenderer;
import com.portingdeadmods.invertedbed.block.InvertedBedRenderer;
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 static com.leclowndu93150.invertedbed.Main.*;
import static com.portingdeadmods.invertedbed.Main.*;

@Mod.EventBusSubscriber(modid = Main.MODID, value = Dist.CLIENT, bus = Mod.EventBusSubscriber.Bus.MOD)
public class IBClientEvents {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.leclowndu93150.invertedbed;
package com.portingdeadmods.invertedbed;

import com.leclowndu93150.invertedbed.block.InvertedBedBlock;
import net.minecraft.client.multiplayer.ClientLevel;
import com.portingdeadmods.invertedbed.block.InvertedBedBlock;
import net.minecraft.server.level.ServerLevel;
import net.minecraft.world.level.block.state.BlockState;
import net.neoforged.bus.api.Event;
Expand All @@ -11,7 +10,7 @@
import net.neoforged.neoforge.event.entity.player.SleepingLocationCheckEvent;
import net.neoforged.neoforge.event.entity.player.SleepingTimeCheckEvent;

import static com.leclowndu93150.invertedbed.Main.MODID;
import static com.portingdeadmods.invertedbed.Main.MODID;

@Mod.EventBusSubscriber(modid = MODID)
public class IBServerEvents {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
package com.leclowndu93150.invertedbed;
package com.portingdeadmods.invertedbed;

import com.leclowndu93150.invertedbed.block.InvertedBedBlock;
import com.leclowndu93150.invertedbed.block.InvertedBedBlockEntity;
import com.portingdeadmods.invertedbed.block.InvertedBedBlock;
import com.portingdeadmods.invertedbed.block.InvertedBedBlockEntity;
import net.minecraft.core.registries.BuiltInRegistries;
import net.minecraft.core.registries.Registries;
import net.minecraft.network.chat.Component;
import net.minecraft.world.item.CreativeModeTab;
import net.minecraft.world.item.CreativeModeTabs;
import net.minecraft.world.item.DyeColor;
import net.minecraft.world.level.block.Blocks;
import net.minecraft.world.level.block.SoundType;
import net.minecraft.world.level.block.entity.BlockEntityType;
import net.minecraft.world.level.block.state.BlockBehaviour;
import net.neoforged.bus.api.IEventBus;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.leclowndu93150.invertedbed.block;
package com.portingdeadmods.invertedbed.block;


import net.minecraft.core.BlockPos;
Expand All @@ -19,7 +19,6 @@
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.level.block.state.StateDefinition;
import net.minecraft.world.level.block.state.properties.BedPart;
import net.minecraft.world.level.block.state.properties.BlockStateProperties;
import net.minecraft.world.level.block.state.properties.BooleanProperty;
import net.minecraft.world.phys.AABB;
import net.minecraft.world.phys.BlockHitResult;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.leclowndu93150.invertedbed.block;
package com.portingdeadmods.invertedbed.block;

import com.leclowndu93150.invertedbed.Main;
import com.portingdeadmods.invertedbed.Main;
import net.minecraft.core.BlockPos;
import net.minecraft.network.protocol.game.ClientboundBlockEntityDataPacket;
import net.minecraft.world.item.DyeColor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.leclowndu93150.invertedbed.block;
package com.portingdeadmods.invertedbed.block;

import com.leclowndu93150.invertedbed.Main;
import com.portingdeadmods.invertedbed.Main;
import com.mojang.blaze3d.vertex.PoseStack;
import com.mojang.blaze3d.vertex.VertexConsumer;
import com.mojang.math.Axis;
Expand Down

0 comments on commit 738971d

Please sign in to comment.