This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { | |
TouchableOpacity, | |
SafeAreaView, | |
RefreshControl, | |
Text, | |
FlatList, | |
ActivityIndicator, | |
} from "react-native"; | |
import FontAwesome5Icon from "react-native-vector-icons/FontAwesome5"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const MainStack = createMaterialBottomTabNavigator( | |
{ | |
Home: { | |
screen: HomeStack, | |
navigationOptions: { | |
tabBarLabel: <Text style={{fontSize: 14}}>Home</Text>, | |
tabBarIcon: ({tintColor}) => (<FontAwesome color={tintColor} size={24} name='home' />) | |
} | |
}, | |
List: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Default", | |
"backgroundColor": "#1D1D1D", | |
"navBackgroundColor": "#343434", | |
"blueColor": "#05b7ed", | |
"redColor": "#FF5757", | |
"darkBlueColor": "#047A9E", | |
"placeholderColor": "#545454", | |
"buttonTextColor": "white", | |
"textColor": "white", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CommandRegistry.INSTANCE.register(true, serverCommandSourceCommandDispatcher -> serverCommandSourceCommandDispatcher.register( | |
ServerCommandManager | |
.literal("delhome") | |
.then(ServerCommandManager.argument("homename", StringArgumentType.string()).executes(context -> { | |
ServerPlayerEntity playerEntity = context.getSource().getPlayer(); | |
PlayerHomePersistentState state = PlayerHomePersistentState.get(context.getSource().getWorld()); | |
String homeName = StringArgumentType.getString(context, "homename"); | |
if (state.doesPlayerHaveHome(playerEntity.getUuid(), homeName)) { | |
state.deletePlayerHome(playerEntity.getUuid(), homeName); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[19:18:23] [main/FATAL]: Mixin apply failed fabmod.client.json:MixinClientPlayerEntity -> net.minecraft.client.network.ClientPlayerEntity: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Invalid descriptor on fabmod.client.json:MixinClientPlayerEntity->@Inject::handler$openInventory$zcc000(Lnet/minecraft/inventory/Inventory;)V! Expected (Lnet/minecraft/inventory/Inventory;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V but found (Lnet/minecraft/inventory/Inventory;)V | |
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Invalid descriptor on fabmod.client.json:MixinClientPlayerEntity->@Inject::handler$openInventory$zcc000(Lnet/minecraft/inventory/Inventory;)V! Expected (Lnet/minecraft/inventory/Inventory;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V but found (Lnet/minecraft/inventory/Inventory;)V | |
at org.spongepowered.asm.mixin.injection.callback.CallbackInjector.inject(CallbackInjector.java:495) ~[sponge-mixin-0.7.11.3.jar:0. |