Skip to content

Commit

Permalink
Add missing GlowItemFrame entity (#2531)
Browse files Browse the repository at this point in the history
  • Loading branch information
ImMorpheus authored Jun 27, 2024
1 parent e0e4f3e commit 1f3b864
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/spongepowered/api/entity/EntityTypes.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import org.spongepowered.api.entity.display.TextDisplay;
import org.spongepowered.api.entity.explosive.EndCrystal;
import org.spongepowered.api.entity.explosive.fused.PrimedTNT;
import org.spongepowered.api.entity.hanging.GlowItemFrame;
import org.spongepowered.api.entity.hanging.ItemFrame;
import org.spongepowered.api.entity.hanging.LeashKnot;
import org.spongepowered.api.entity.hanging.Painting;
Expand Down Expand Up @@ -261,7 +262,7 @@ public final class EntityTypes {

public static final DefaultedRegistryReference<EntityType<Giant>> GIANT = EntityTypes.key(ResourceKey.minecraft("giant"));

public static final DefaultedRegistryReference<EntityType<ItemFrame>> GLOW_ITEM_FRAME = EntityTypes.key(ResourceKey.minecraft("glow_item_frame"));
public static final DefaultedRegistryReference<EntityType<GlowItemFrame>> GLOW_ITEM_FRAME = EntityTypes.key(ResourceKey.minecraft("glow_item_frame"));

public static final DefaultedRegistryReference<EntityType<GlowSquid>> GLOW_SQUID = EntityTypes.key(ResourceKey.minecraft("glow_squid"));

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* This file is part of SpongeAPI, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.spongepowered.api.entity.hanging;

/**
* Represents a Glow Item Frame.
*/
public interface GlowItemFrame extends ItemFrame {
}

0 comments on commit 1f3b864

Please sign in to comment.